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



html{
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}


body{
   font-family: "Inter", sans-serif;
}

main{
    padding-top: 4rem;
    min-height: calc(100dvh - 7rem);
}



/* ======== HEADER ======== */



header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;

    padding: 0 2rem;
    background-color: rgb(255, 255, 255);
    font-size: 1rem;
    
    
}

header nav ul{
    display: flex; 
    align-items: center;
    height: 4rem;
    justify-content: space-between;
}

header nav ul li{
    width: 10%;
    justify-content:right;
}

header nav ul li img{
    height: 60px;
    display: flex;
    
}

header nav ul li:first-child{
    margin-right: auto;
}

header nav ul li:nth-child(2){
    text-align:right;
}

header nav ul li:nth-child(3){
    text-align:right;
}

@media (max-width: 577px) {
    header {
        padding: 0.2rem 1.5rem;
    }

    header nav ul li{
    width: auto;
    justify-content:right;
}

    header nav ul li:nth-child(2){
    margin-right: 1.5rem;
}

}



/* ======== LOGO BIG ======== */

.home-hero{
    height: calc(100dvh - 3rem);
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
    padding: 2rem;
    
}

.home-hero img{
    width:100%;
}



/* ======== LIST ======== */



 .grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 0 2rem;
    gap: 0 1.5rem;
}




section.list{
    
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

section.list .card {
    border-top: 1px solid black;
    margin-top: -1px;
    border-bottom: 1px solid black;
}



section.list .card .grid{
      padding: .75rem 0;
}


section.list .card .card-title{
    grid-column: span 6;
    color: black;
}

section.list .card .card-category{
    grid-column: span 3;
    color: black;
}

section.list .card .card-date{
    grid-column: span 3;
    text-align: right;
    color: black;
}






/* ======== ABOUT ======== */

section.about{
    padding: 2rem 2rem 0;
    background-color: rgb(0, 100, 231);
}


section.about .grid{
      padding: .75rem 0 2rem;
      border-bottom: 1px solid black;
}


section.about  .about-text{
    grid-column: span 6;
    color: black;
    font-size: 1.5rem;
}

section.about .about-contact{
    
    grid-column: span 3;
    color: black;
    font-size: 1.5rem;
}

section.about .about-contact-title {
    font-size: 1rem;
    margin-bottom: 0.6rem; 
}

@media (max-width: 992px) {
    section.about  .about-text {
        font-size: 1rem;
    }

    section.about .about-contact {
        font-size: 1rem;
    }

    section.about  .about-text{
    grid-column: span 12;
    }

    section.about .about-contact{
            grid-column: span 12;
    }

}
/* ======== FOOTER ======== */

footer{
    
    padding: 0 2rem;
    background-color: rgb(0, 100, 231);
    
}

footer nav ul{
    display: flex;  
    align-items: center;
    height: 3rem;
    font-size: 1rem;  
}

footer nav ul li{
    width: 33.33%;
}

footer nav ul li img{
    height: 1rem;
   
}

footer nav ul li:nth-child(2){
    text-align: center;
}

footer nav ul li:nth-child(3){
    text-align: right;
}


/* ======== PROJECT ======== */
.project .container{
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 2rem;
    gap: 1.5rem;
    min-height: calc(100dvh - 7rem);
}

.project .project-text{
    position: sticky;
    top: 7rem;
    padding: .75rem 0;
}

.project .project-info{
    font-size: 1rem;
    border-top: 1px solid black;
    padding: .75rem 0;
    
}

.project .project-title{
    font-size: 1rem;
    border-top: 1px solid black;
    padding: .75rem 0;
}

.project .project-images img{
    width: 100%;
    height: auto;
    display: block;
}

.project .project-images img~img,
.project .project-images img~iframe,
.project .project-images iframe~iframe,
.project .project-images iframe~img
{
    margin-top: 1.5rem;
}

.project .project-images iframe{
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    display: block;
    
}

@media (max-width: 577px) {
    .project .container{
         grid-template-columns: 1fr;
             padding: 1.5rem;
    }
}

