@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Regular.ttf");
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#ECECEC;
    color:#2F2F2F;
    font-family:"Gilroy", sans-serif;
    font-size: 24px;
}

a{
    color:inherit;
    text-decoration:none;
}

.wrapper{
    width:min(1100px,90%);
    margin:auto;
}

header{
    padding:40px 0 20px;
    border-bottom:2px solid #BFBFBF;
}

.header-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

h1{
    font-family:"Bruno Ace SC", cursive;
    font-size:48px;
    font-weight:400;
}

.socials{
    display:flex;
    gap:12px;
}

.socials img{
    width:28px;
}

.hero{
    margin-top:160px;
    background:#E6E6E6;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:80px;
}

.info-card{
    background:#E6E6E6;
    padding:24px;
    width:420px;

    display:flex;
    flex-direction:column;
    gap:8px;
}

.avatar{
    margin-top: -151px;
    width:280px;
}

.section-title{
    text-align:center;
    margin:50px 0;
    font-weight:400;
}

.accordion{
    margin-bottom:20px;
}

.accordion summary{
    list-style:none;

    background:#E4E4E4;

    padding:18px 22px;

    border-radius:10px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    cursor:pointer;

    font-size:24px;
}

.accordion summary::-webkit-details-marker{
    display:none;
}

.plus{
    transition:.4s;
}

details[open] .plus{
    transform:rotate(45deg);
}

.accordion-content{
    display:grid;
    gap:20px;

    margin-top:20px;

    animation:slideDown .35s ease;
}

@keyframes slideDown{

    from{
        opacity:0;
        transform:translateY(-15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.project-card{
    min-height:140px;

    padding:30px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    transition:.3s;
}

.project-card:hover{
    transform:translateY(-4px);
}

.project-card span{
    font-size:32px;
    max-width:450px;
}

.project-card img{
    width:260px;
    object-fit:contain;
}

.blue{
    background:#00224E;
    color:white;
}

.green{
    background:#B6C2A9;
}

.beige{
    background:#F0E4C8;
}

.gallery-img{
    width:100%;
    display:block;
}

.nested{
    margin-top:20px;
}

footer{
    margin-top:100px;

    background:#D9D9D9;

    padding:40px 8%;

    display:flex;
    justify-content:space-between;
}

.footer-right{
    text-align:right;
}

@media (max-width:900px){

    h1{
        font-size:30px;
    }

    .hero{
        flex-direction:column-reverse;
        gap:30px;
    }

    .info-card{
        width:100%;
    }

    .avatar{
        width:220px;
    }

    .project-card{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }

    .project-card span{
        font-size:24px;
    }

    .project-card img{
        width:180px;
    }

    .accordion summary{
        font-size:18px;
    }

    footer{
        flex-direction:column;
        gap:20px;
    }

    .footer-right{
        text-align:left;
    }
}