/* sections.css */
section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#about h2 {
    font-weight: bold;
    color: rgb(19, 21, 54);
    font-size: large;
}

#about p {
    font-size: 18px;
    font-weight: lighter;
    text-align: center;
    color: rgb(255, 255, 255);
}

#about h2{
    font-size: 50px;
    margin-top: -5px;
}

#projects h2 {
    font-size: 50px;
    margin-top: -5px;
}

#resume h2 {
    color: rgb(19, 21, 54);
    font-size: 40px;
    margin-top: 5px;
}

#resume p{
    text-align: left;
    text-indent: 50px;
    padding: 0px 20px;
}

#contact h2 {
    color: rgb(19, 21, 54);
    font-size: 40px;
    margin-top: -5px;
}

#projects h2 {
    color: rgb(19, 21, 54);
    font-size: 40px;
    margin-top: -125px;
}

#projects p {
    text-align: left;
    text-indent: 50px;
    padding: 0px 20px;
    margin-top: -200px;
}

.profile-container h1{
    color: rgb(19, 21, 54);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;
    font-size: 40px;
    text-rendering: optimizeSpeed;
    margin-top: -20px;
}

.profile-container p{
    margin-top: -25px;
}


@media (min-width: 1024px) and (max-width: 1365px) 
{
    .profile img{
        margin-bottom: 2.5vh;
        width: 8em;
        height: 8em;
    }
    .profile-container{
        margin-top: -90px;
        height: 40vh;
        padding: 10px;
    }
    .profile-container h1 
    {
        color: rgb(19, 21, 54);
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 30px;
        margin-top: 7vh;
    }

    .profile-container p {
        font-size: 1vw;
        margin-top: -5vh;
        padding: 2vw;
    }
}


@media (min-width: 768px) and (max-width: 1023px) 
{
    .profile img{
        margin-bottom: 2.5vh;
        width: 8em;
        height: 8em;
    }
    .profile-container{
        margin-top: -90px;
        height: 40vh;
        padding: 10px;
    }
    .profile-container h1 
    {
        color: rgb(19, 21, 54);
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 30px;
        margin-top: 7vh;
    }

    .profile-container p {
        font-size: 1vw;
        margin-top: -5vh;
        padding: 2vw;
    }
}


@media (max-width: 768px) and (min-width: 450px)
{
    .profile{
        border-radius: 30px;
        height: 40vh;
        width: 100%;
        margin-top: 20px;
        max-width: 55vw;
        margin: 0 auto;
    }
    .profile img {
        margin-bottom: 25px;
        width: 80em;
        height: 80em;
    }

    .profile-container{
        margin-top: -90px;
        height: 35vh;
        padding: 10px;
    }
    
    .profile-container h1 
    {
        color: rgb(19, 21, 54);
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 30px;
        margin-top: 7vh;
    }

    .profile-container p {
        font-size: 1vw;
        margin-top: -20px;
    }
}

@media (max-width: 450px)
{
    .profile{
        border-radius: 30px;
        height: 40vh;
        width: 100%;
        margin-top: 20px;
        max-width: 55vw;
        margin: 0 auto;
    }
    .profile img {
        margin-bottom: 25px;
        width: 80em;
        height: 80em;
    }

    .profile-container{
        margin-top: -90px;
        height: 35vh;
        padding: 10px;
    }
    
    .profile-container h1 
    {
        color: rgb(19, 21, 54);
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 30px;
        margin-top: 7vh;
    }

    .profile-container p {
        font-size: 1vw;
        margin-top: -20px;
    }
}