
/* Home Section */

body {
    height: 100vh;
    background:black;
    padding: 50px 5%;
}

.container {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, .1);
    border:  rgba(255, 255, 255, .2);
    border-radius: 30px;
    backdrop-filter: blur(25px);
    transform: scale(0);
    animation: zoom-in 1s ease forwards;
}

@keyframes zoom-in {
    100% {
        transform: scale(1);
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 32px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    font-family: "DM Serif Text", serif;
}

.animation {
    transform: translateY(30px);
    opacity: 0;
    animation: slide-in 1s ease forwards;
    animation-delay: 1s;
}

@keyframes slide-in {
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-bar a {
    font-size: 18px;
    color: rgb(221, 210, 114);
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    border-bottom: 2px solid transparent;
    transition: .5s;
}

.nav-bar a:hover, 
.nav-bar a.current {
    border-color: rgb(221, 210, 114);
}

#menu-icon {
    font-size: 30px;
    color: rgb(221, 210, 114);
    cursor: pointer;
    display: none;
}

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 60px;
    padding: 50px 5% 0;
    color: rgb(221, 210, 114);
    animation-delay: 1.5s;
}

.home-detail h1 {
    font-size: 32px;
    line-height: 1;
    font-family: "Google Sans Code", monospace;
}

.home-detail h2 {
    font-size: 55px;
    font-family: "DM Serif Text", serif;
}

.home-detail p {
    margin: 10px 0 20px;
    font-family: "Cutive Mono", monospace;
}

.home-img .home-img-container {
    position: relative;
    width: 30vw;
    height: 30vw;
    padding-bottom: 50px;
    border: 2px solid rgb(221, 210, 114);
    border-radius: 50%;
    box-shadow: 0 0 20px white;
    overflow: hidden;
}

.home-img .home-img-container img {
    position: absolute;
    display: block;
    width: 100%;
    object-fit: cover;
}

/* About Section */

.about-me {
    display: flex;
    gap: 32px;
    margin-top: 100px;
    margin-bottom: 100px;
    align-items: center;
    justify-content: center;
}

.about-img img {
    width: 25vw;
    margin-top: 50px;
    border: 2px solid white;
    box-shadow: 0 0 25px;
    cursor: pointer;
    transition: 0.4s ease;
}

.about-img img:hover {
    box-shadow: 0 0 25px rgb(221, 210, 114),
                0 0 35px rgb(221, 210, 114),
                0 0 45px rgb(221, 210, 114);
}

.heading {
    font-size: 50px;
    text-align: center;
    color: white;
    font-family: "DM Serif Text", serif;
}

.about-content {
    padding: 0 64px;
}

.about-content h2 {
    text-align: center;
    line-height: 1.2;
}

.about-content p {
    font-size: 25px;
    font-family: "Google Sans Code", monospace;
    margin: 32px 0 48px;
    text-align: center;
    color: white;
}

/* Projects Section */

.projects h2 {
    margin-top: 140px;
    text-align: center;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    place-items: center;
    gap: 48px;
    row-gap: 80px;
}

.project-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(225, 218, 157);
    border: 2px solid rgb(255, 255, 255);
    border-radius: 48px;
    gap: 10px;
    padding: 30px 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 5px white;
    transition: 0.3s ease;
}

.project-box:hover {
    border-color: rgb(221, 210, 114);
    transform: scale(1.02);
}

.project-box img {
    max-width: 300px;
    border-radius: 32px;
    object-fit: cover;
}

.project-box h3 {
    font-size: 36px;
    font-family: "DM Serif Text", serif;
    margin: 0;
}

.project-box h4 {
    font-size: 18px;
    font-family: "Google Sans Code", monospace;
    margin: 0;
}

.project-box p {
    font-size: 12px;
    font-family: "Google Sans Code", monospace;
    margin: 0;
}

.project-btn {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border-radius: 64px;
    border: 2px solid black;
    box-shadow: none;
    font-size: 20px;
    font-family: "Cutive Mono", monospace;
    color:rgb(1, 1, 1);
    text-decoration: none;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.project-btn:hover {
    box-shadow: 0 0 24px rgb(0, 0, 0);
    border: 2px solid rgb(197, 190, 0);
}

/* Contact Section */

.contact {
    display: flex;
    gap: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
    align-items: center;
    justify-content: center;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background: transparent;
    border: 3px solid rgb(197, 190, 0);
    border-radius: 50%;
    font-size: 38px;
    color: rgb(225, 218, 157);
    text-decoration: none;
    margin: 50px 25px 50px 15px;
    transition: 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2) translateY(-10px);
    background-color: rgb(225, 218, 157);
    color: rgb(255, 255, 255);
    box-shadow: 0 0 25px;
}

.resume-btn {
    display: inline-block;
    padding: 16px 44px;
    margin-left: 30px;
    background: rgb(0, 0, 0);
    border: 2px solid rgb(255, 255, 255);
    border-radius: 64px;
    box-shadow: none;
    font-size: 24px;
    font-family: "Cutive Mono", monospace;
    color:rgb(255, 255, 255);
    text-decoration: none;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.resume-btn:hover {
    box-shadow: 0 0 24px rgb(197, 190, 0);
    background: transparent;
}

/* Extra Section */

.extra {
    display: flex;
    gap: 32px;
    margin-top: 50px;
    align-items: center;
    justify-content: center;
}

.more-content p {
    font-size: 25px;
    font-family: "Google Sans Code", monospace;
    margin: 32px 0 20px;
    text-align: center;
    color: white;
}

.extra-container {
    margin: 100px 0 80px 200px;
    width: 70%;
    height: 450px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.extra-container img {
    width: 10%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid white;
    transition: all ease-in-out 0.5s;
}

.extra-container img:hover {
    width: 25%
}

/* Footer */

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background: rgb(28, 28, 28);
}

.footer .socials {
    text-align: center;
    padding-bottom: 25px;
}

.footer .socials a {
    font-size: 25px;
    border: 2px solid rgb(197, 190, 0);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: rgb(225, 218, 157);
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3s ease;
}

.footer .socials a:hover {
    transform: scale(1.2) translateY(-10px);
    background-color: rgb(225, 218, 157);
    color: rgb(0, 0, 0);
    box-shadow: 0 0 25px;
}

.footer .copyright {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-family: "Google Sans Code", monospace;
    color: white;
}

/* Responsive Design */

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 32px 3%;
    }
    section {
        padding: 160px 3%;
    }
    .projects {
        padding: 112px;
    }
    .contact {
        width: 100%;
    }
    .footer {
        padding: 32px 3%;
    }
}

@media (max-width: 991px) {
    #menu-icon {
        display: block;
    }
    .nav-bar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 255px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: transparent;
        transition: all 0.5s ease;
        backdrop-filter: blur(10px);
    }
    .nav-bar a {
        display: block;
        padding: 17px;
        font-size: 22px;
    }
    .nav-bar .active {
        right: 0;
    }
    .home {
        flex-direction: column-reverse;
    }
    .container h1 {
        font-size: 80px;
    }
    .container h2 {
        font-size: 40px;
    }
    .container {
        order: 2;
        margin-left: 16px;
    }
    .home-img img {
        width: 70vw;
    }
    .about-me {
        flex-direction: column-reverse;
    }
    .about-img img {
        width: 70vw;
        margin-top: 64px;
    }
    .projects h2 {
        margin-bottom: 48px;
    }
}

@media (max-width: 617px) {
    .home-img img {
        width: 70wv;
    }
    .about-img img {
        width: 70wv;
        margin-top: 64px;
    }
}

@media (max-width: 617px) {
    html {
        font-size: 50%;
    }
}