@import url('./header.css');
@import url('./scrollbar.css');
@import url('./progress_bar.css');
@import url('./footer.css');

main{
    margin-top: 80px;
}
.hero-section-info-line{
    background-color: #111;
    color: #FFF;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 22px;
}
.main-hero-section{
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.main-hero-section h1{
    text-transform: uppercase;
    font-size: 80px;
    color: #111;
}
.main-hero-section h1::before{
    content: "<";
    color: #D11C1C;
}
.main-hero-section h1::after{
    content: "/>";
    color: #D11C1C;
}
.projects-section{
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.project-item{
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: 1fr min-content;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 10px;
    box-sizing: border-box;
    height: min-content;
}
.project-item .project-item-content{
    grid-area: 1 / 1 / 2 / 2;
}
.project-item-content h2{
    font-size: 32px;
    padding: 10px 0;
}
.project-item-content b{
    color: #D11C1C;
    display: block;
    font-weight: 900;
}
.project-item-content b, .project-item-content strong{
    padding: 10px 0;
    text-align: justify;
}
.project-item .project-item-img-container{
    grid-area: 1 / 2 / 2 / 3;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-item-description{
    padding: 10px 0;
}
.project-item-img-container img{
    height: 200px;
    object-fit: contain;
}
.project-item .project-item-description{
    grid-area: 2 / 1 / 3 / 3; 
}
.project-item-rev{
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: 1fr min-content;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 10px;
    box-sizing: border-box;
    height: min-content;
}
.project-item-description{
    grid-area: 2 / 1 / 3 / 3; 
}
.project-item-img-container{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* DIFFERENT PROJECTS */
.different-projects{
    width: 90%;
    max-width: 900px;
    margin: 50px auto;
}
.different-project-header{
    padding: 40px 20px;
}
.different-project-header h3{
    color: #333;
    font-size: 42px;
    text-align: center;
}
.different-project-header h3::before{
    content: "<";
    color: #D11C1C;
}
.different-project-header h3::after{
    content: "/>";
    color: #D11C1C;
}
.different-projects-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.different-project-item{
    display: grid;
    grid-template-columns: 300px 1fr;
    width: 100%;
}
.different-project-image-container{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.different-project-content{
    padding: 20px;
}
.different-project-content h4{
    font-size: 28px;
}
.different-project-content ul{
    padding: 10px 20px;
}
.different-project-content a{
    text-decoration: none;
    color: #D11C1C;
    font-weight: 900;
}
@media screen and (max-width:1100px){
    .main-hero-section h1{
        font-size: 60px;
    }
}
@media screen and (max-width:680px){
    .hero-section-info-line{
        font-size: 18px;
    }
    .project-item{
        display: flex;
        flex-direction: column;
    }
    .project-item-rev{
        display: flex;
        flex-direction: column;
    }
    .different-project-item{
        display: flex;
        flex-direction: column;
    }
    .main-hero-section{
        height: auto;
        padding: 50px 0;
    }
    .main-hero-section h1{
        font-size: 32px;
    }
    .project-item-content h2{
        font-size: 22px;
    }
    .different-project-header h3{
        font-size: 24px;
    }
    .different-project-content h4{
        font-size: 20px;
    }
}
