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

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    padding-top: 100px;
    background: url("/assets/bg.jpg") no-repeat fixed;
    background-size: cover;
    min-height: 200vh;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
    background-color: rgba(228, 195, 170, 0.8);
    border-color: antiquewhite;
    border-bottom-style: solid;
    border-top-style: solid;
}

.nav ul {
    display: flex;
    list-style-type: none;
    font-family: "Lexend Giga", sans-serif;
    font-size: large;
    font-weight: 500;
}

.nav ul li a {
    text-decoration: none;
    color: white;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #ddd;
}

#Home {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 70vh;
    padding: 0 20px;
}

#Home img {
    height: 200px;
    width: auto;
    border: 3px solid antiquewhite;
    border-radius: 90%;
    padding-left: 10px;
    padding-top: 10px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

#Home p {
    color: white;
    font-family: "Lexend Giga", sans-serif;
    font-size: large;
    font-weight: 500;
    margin-top: 20px;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

#Home h1 {
    color: white;
    font-family: "Lexend Giga", sans-serif;
    font-weight: 500;
    text-align: center;
}

#Home-extra {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 35px;
    padding-bottom: 35px;
    padding-left: 20px;
    padding-right: 20px;
}

#Home-extra img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#Home-extra img:hover {
    transform: scale(1.1);
}

#Projects {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
    padding: 0 10px;
}

#Projects-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    padding: 50px;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border: 2px;
    border-radius: 30px;
    border-style: solid;
    border-color: antiquewhite;
}

#Projects-inner img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 30px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#Projects-inner img:hover {
    transform: scale(1.1);
}

#Projects-inner ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex: 1;
    max-width: 500px;
}

#Projects-inner ul li:nth-child(2) {
    font-style: italic;
}

#Projects-inner p {
    color: white;
    font-family: "Lexend Giga", sans-serif;
    font-size: large;
    font-weight: 500;
    margin-top: 10px;
    text-align: left;
}

#Projects h1 {
    color: white;
    font-family: "Lexend Giga", sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

#Projects-inner h2 {
    color: white;
    font-family: "Lexend Giga", sans-serif;
    font-weight: 500;
    text-align: left;
}

#Contact {
    margin-top: 80px;
    min-height: 35vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#Contact-inner {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding-bottom: 50px;
    flex-wrap: wrap;
}

#Contact-inner img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#Contact-inner img:hover {
    transform: scale(1.1);
}

#Contact h1 {
    color: white;
    font-family: "Lexend Giga", sans-serif;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .nav ul {
        font-size: medium;
        gap: 10px;
    }
    
    #Home h1 {
        font-size: 1.5rem;
    }
    
    #Home p {
        font-size: medium;
        width: 100%;
    }
    
    #Projects-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    #Projects-inner ul {
        max-width: 100%;
    }
    
    #Projects-inner p{
        font-size: small;
    }

    #Projects-inner p
    #Projects-inner h2 {
        text-align: center;
    }
    
    #Projects-inner img {
        max-width: 100%;
    }
}