* {
    padding: 0;
    margin: 0;
}

.header {
    color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    position: fixed;
    width: 100%;
    z-index: 1;
    transition: all .5s;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
}

a {
    font-size: large;
    text-decoration: none;
    color: inherit;
}
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 600px 600px;
    grid-template-rows: auto;
}
.grid-container > div {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(88, 123, 87);
    text-align: center;
    padding: 20px;
}
.grid-container > div > img {
    position: static;
    display: block;
    width: 100%;
    margin: auto;
    padding: 10px;
}
.grid-description {
    font-size: 1rem;
    color: #777;
    margin: 25px;
}
.home-name {
    background: url('./assets/background.jpeg');
    padding: 45vh 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-name > h1 {
    text-align: center;
    font-size: 3rem;
    color: #f4f4f4;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    transition: 1s;
    animation: typing 3.5s steps(60, end);
}
.home-name > h1:hover {
    transform: scale(1.2);
}
.about-name > h1 {
    text-align: center;
    font-size: 3rem;
    color: #f4f4f4;
}

ul {
    background-color: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.links {
    display: none;
    column-gap: 20px;
    padding: 0px 50px;
}

.link:hover {
    color: #f4f4f4;
    border-bottom: 3px solid rgb(88, 123, 87);
}

.logo {
    display: none;
  }

.introduction > p {
    text-align: center;
    padding: 30px;
    margin: auto;
    transition: transform .2s;
}
.introduction > p:hover {
    transform: scale(1.2);
    color: rgb(88, 123, 87);
}

.description {
    text-align: center;
    font-size: 2.5rem;
    margin: 50px;
}
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }
  
  /* Style the submit button with a specific background color etc */
  input[type=submit] {
    background-color: rgb(88, 123, 87);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
    background-color: rgb(47, 66, 46);
  }
  
  /* Add a background color and some padding around the form */
  .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
  }
.profile-pic {
    position: static;
    display: block;
    border-radius: 100%;
    width: 80%;
    margin: auto;
    transition: transform .2s;
}
.profile-pic:hover {
    transform: scale(1.1);
}

.about-profile-pic {
    position: static;
    display: block;
    width: 100%;
    margin: auto; 
}

.about {
    text-align: center;
    margin: 30px 50px;
}

.about-intro {
    font-size: 3rem;
    color:rgb(88, 123, 87);
    padding: 35px;
}

.about-description {
    font-size: 1.5rem;
    line-height: 1.5;
    padding: 35px;
}

.resume {
    display: block;
    margin: auto;
    width: 100%;
}
.footer {
    font-size: 1rem;
    text-align: center;
    padding: 20px;
}

.footer > a {
    color:#4d4a38;
    padding: 10px;
    text-decoration: underline;
    line-height: 2;
}
.footer > p > a:link {
    font-size: 1rem;
    color:#4d4a38;
    text-decoration: underline;
}

@keyframes typing {
    from {
        max-width: 0;
    }
    to {
        max-width: 100%;
    }
    }


@media only screen and (max-width: 820px) { 
    .header {
        background-color:rgba(0,0,0,0.9);
    }
    .logo {
        display: block;
        font-size: xx-large;
      }
    .links {
        display: flex;
        column-gap: 40px;
        padding: 0px 50px;
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        margin: 16px 0;
    }
    .link-item {
        margin: 16px 0;
    }
    .links.active{
        left: 0;
        padding: 0;
        background-color:rgba(0,0,0,0.9);
    }
    .link:hover {
        color: rgb(88, 123, 87);
    }
    .grid-container {
        max-width: 1200px;
        margin: auto;
        display: grid;
        grid-template-columns: auto;
        
    }
    .profile-pic {
        position: static;
        display: block;
        border-radius: 100%;
        width: 80%;
        margin: auto;
    }
    .about-profile-pic {
        position: static;
        display: block;
        width: 100%;
        margin: auto;
    }
    .introduction > p {
        text-align: center;
        font-size: 2rem;
        padding: 30px;
        margin: auto;
    }
    .description {
        text-align: center;
        font-size: 2rem;
        margin: 30px;
        line-height: 1.5;
    }
    
    .home-name > h1 {
        text-align: center;
        font-size: 6rem;
        color: #f4f4f4;
        text-wrap: wrap;
    }
    .about-name > h1 {
        text-align: center;
        font-size: 6rem;
        color: #f4f4f4;
    }
    .about-name {
        background: url('./assets/background.jpeg');
        padding: 45vh 0;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: relative;
    }
    .resume {
        display: block;
        margin: auto;
        width: 100%;
    }
    .footer {
        font-size: 1rem;
        text-align: center;
        padding: 20px;
    }
    
    .footer > a {
        color:#4d4a38;
        padding: 10px;
        text-decoration: underline;
        line-height: 2;
    }
    .footer > p > a:link {
        font-size: 1rem;
        color:#4d4a38;
        text-decoration: underline;
    }
    .hamburger {
        display: block;
        padding: 0 65px;
    }
    .bar {
        display: block;
        width: 25px;
        height: 5px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }
    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}
@media only screen and (min-width: 821px) { 
    .logo {
        display: block;
        font-size: xx-large;
      }
    .profile-pic {
        position: static;
        display: block;
        border-radius: 100%;
        width: 40%;
        margin-left: 1000px;
        margin-top: -25%;
    }
    .about-profile-pic {
        position: static;
        display: block;
        width: 600px;
        height: 600px;
        margin: auto;
        padding: 30px;
    }
    .introduction > p {
        font-size: 3.5rem;
        inline-size: 30%;
        margin-left: 5%;
        margin-top: 10%;
    }
    .home-name > h1 {
        text-align: center;
        font-size: 8rem;
        color: #f4f4f4;
    }
    .about-name > h1 {
        text-align: center;
        font-size: 8rem;
        color: #f4f4f4;
    }
    .about-name {
        background: url('./assets/background.jpeg');
        padding: 20vh 0;
        width: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: relative;
    }
    .links {
        display: flex;
        column-gap: 40px;
        padding: 0px 50px;
    }
    .link:hover {
        color: #f4f4f4;
    }
    .hamburger {
        display: none;
        cursor: pointer;
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }
    .nav-scrolled {
        background-color: rgba(0,0,0,0.9);
        color: rgb(88, 123, 87);
    }
    .resume {
        display: block;
        margin: auto;
        width: 55%;
    }
    .footer {
        font-size: 1.25rem;
        text-align: center;
        padding: 20px;
    }
    
    .footer > a {
        color:#4d4a38;
        padding: 10px;
        text-decoration: underline;
        line-height: 2;
    }
    .footer > p > a:link {
        font-size: 1.25rem;
        color:#4d4a38;
        text-decoration: underline;
    }
}