@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 70%;
    scroll-behavior: smooth;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: #252525;
    color: white;
}

header{
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.logo{
    font-size: 3rem;
    color: #ab9172;
    font-weight: 800;
    cursor: pointer;
}

.shortcutSection{
    display: flex;
    gap: 50px;
}

.shortcut{
    font-size: 2rem;
    color: #ab9172;
    font-weight: 800;
    cursor: pointer;
}

section{
    min-height: 95vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: #221d16;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #bea27f;
}

.home-content p{
    font-size: 1.6rem;
}

.home-img{
    border-radius: 50%;
}

.home-img img{
    position: relative;
    width: 21vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #bea27f;
    cursor: pointer;
    transition: 0.2s linear;
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #bea27f;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #bea27f;
}

.social-icons a:hover{
    color: black;
    background-color: #bea27f;
    box-shadow: 0  0 25px #bea27f;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/*Projects and Certificates*/

.projects {
    
    background-color: #221d16;
    padding: 5rem 9%;
    color: white;
}

.projects h2 {
    margin-top: 150px;
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-align: center;
    color: #bea27f;
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
}

.project {
    background-color: #332b22   ;
    border-radius: 8px;
    padding: 2rem;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.project h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.project a.project-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1.4rem;
    color: white;
    background-color: #bea27f;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project a.project-link:hover {
    background-color: #bea27f;
    box-shadow: 0  0 25px #bea27f;
}

.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1000px){
    .home{
        gap: 4rem;
    }
}

@media(max-width: 995px) {
    .project-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .projects h2{
        font-size: 5rem;
    }
    
    header{
        display: flex;
        align-items: center;
        justify-content: center; /* Centers logo horizontally */
    }
    
    .logo{
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3rem; /* Adjust size if needed */
        text-decoration: none; /* Optional: Removes underline */
    }


    .shortcutSection{
        display: none;
    }
    
    .shortcut{
     display: none;   
    }
}


@media(max-width:995px){
    .home{
        flex-direction: column;
        margin: 5rem 5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vw;
        margin-top: 4rem;
    }
}
