 @import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap");

 :root {
     --bg: #000000;
     --fg: #fff;
     --card-1: #4c9668;
     --card-2: #ac2922;
     --card-3: #2f2d96;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: "Instrument Serif", sans-serif;
 }

 html,
 body {
     overflow-x: hidden;
     touch-action: pan-y;
 }

 section {
     position: relative;
     width: 100%;
     height: 100svh;
     padding: 2rem;
     background-color: var(--bg);
     color: var(--fg);
 }

 /* SECTION INTRO */
 .intro {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 60px;
 }

 .intro img {
     width: 220px;
     height: 220px;
     object-fit: cover;
     border-radius: 50%;
     border: 4px solid black;
 }

 .intro-text {
     max-width: 520px;
     display: flex;
     flex-direction: column;
     text-align: left;
 }

 .intro-text p:first-child {
     font-size: 24px;
     color: #888;
     margin-bottom: 8px;
 }

 .intro-text h1 {
     font-size: 3rem;
     margin-bottom: 10px;
     white-space: nowrap;
 }

 .intro .role {
     font-size: 2rem;
     font-weight: 600;
     margin-bottom: 20px;
 }

 .intro-text h4 {
     margin-bottom: 10px;
     font-size: 1.5rem;
 }

 .intro .contact {
     list-style: none;
     padding: 0;
 }

 .intro .contact li {
     font-size: 1.2rem;
     line-height: 1.6;
 }

 .intro a {
     font-size: 1.2rem;
     color: white;
     text-decoration: none;
 }

 .intro a:hover {
     text-decoration: underline;
 }

 @media (max-width: 1000px) {

     .intro {
         gap: 40px;
     }

     .intro img {
         width: 180px;
         height: 180px;
     }

     .intro-text h1 {
         font-size: 2.4rem;
     }

     .intro .role {
         font-size: 1.6rem;
     }

     .intro-text p:first-child {
         font-size: 20px;
     }

     .intro .contact li,
     .intro a {
         font-size: 1rem;
     }

 }

 @media (max-width: 500px) and (min-height: 800px) {

    .intro {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        justify-content: flex-start;
        padding-top: 120px;
    }

    .intro-text {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .intro img {
        width: 150px;
        height: 150px;
    }

    .intro-text h1 {
        font-size: 2.5rem;
        white-space: normal;
    }

    .intro .role {
        font-size: 1.3rem;
    }

    .intro-text p:first-child {
        font-size: 1.7rem;
    }

    .intro-text h4 {
        font-size: 1.5rem;
    }

    .intro .contact li,
    .intro a {
        font-size: 1.3rem;
        line-height: 1.75; 
    }

 }

 @media (max-width: 500px) and (max-height: 801px) {

     section {
         height: auto;
         min-height: 100svh;
     }

     .intro {
         flex-direction: column;
         text-align: center;
         gap: 30px;
         justify-content: flex-start;
         padding-top: 50px;
     }

     .intro-text {
         align-items: center;
         text-align: center;
         max-width: 100%;
     }

     .intro img {
         width: 150px;
         height: 150px;
     }

     .intro-text h1 {
         font-size: 2.5rem;
         white-space: normal;
     }

     .intro .role {
         font-size: 1.3rem;
     }

     .intro-text p:first-child {
         font-size: 1.7rem;
     }

     .intro-text h4 {
         font-size: 1.5rem;
     }

     .intro .contact li,
     .intro a {
         font-size: 1.1rem;
         line-height: 1.75; 
     }


 }