* {
    box-sizing: border-box;
}

.main {
    width: 100%;
}

.main__orange-stripe-decoration {
    background-color: #FC7707;
    display: block;
    height: 10px;
    left: -80px;
    position: absolute;
    top: 10px;
    width: 75px;
 }

.main__section-1 {
    background-image: url(../img/archivesbg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    height: 500px;
    width: 100%;
}

.main__section-1-content {
    background-color: #3238409a;
    display: flex;
    width: 100%;
}

.main__section-1-content-text {
    margin: auto;
    width: 100%;
}

.main__section-1-heading {
    color: white;
    font-family: kodchasanmed;
    font-size: 36px;
    text-align: center;
}

.main__section-1-topic {
    color: white;
    font-family: montserratregular;
    font-size: 22px;
    text-align: center;
}

.main__section-2 {
    background-color: #ebebeb;
    width: 100%;
    height: 100%;
    padding-bottom: 50px;
}


.main__section-2-content {
    width: 70%;
    height: 100%;
    margin: auto;
    padding-top: 50px;
}


.main__images-container {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    justify-content: left;
    position: relative;
    width: 100%;
    z-index: 1;
}

.main__image-box {
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    height: 22rem;
    width: 24%;
}

.main__image {
    cursor: pointer;
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

@media only screen and (max-width: 1536px) {
    .main__section-2-content {
        width: 80%;
    }
}

@media only screen and (max-width: 1080px) {

    .main__section-1 {
        height: 350px;
    }

    .main__section-2-content {
        width: 90%;
    }

    .main__images-container {
        flex-wrap: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        scrollbar-width: none;
        height: 22rem;
        width: 100%;
    }

    .main__image-box {
        height: 100%;
        margin-right: 0.5rem;
        margin-top: 0;
        width: 16rem;
    }
    
    .main__image {
        object-fit: cover;
        height: 100%;
        width: 16rem;
    }

    .main__section-1-heading {
        font-size: 30px;
    }
    
    .main__section-1-topic {
        font-size: 16px;
    }


}


@media only screen and (max-width: 360px) {

    .main__section-1-heading {
        font-size: 24px;
    }
    
    .main__section-1-topic {
        font-size: 14px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .main__section-1-content-text {
        margin: auto auto 3rem auto;
        width: 100%;
    }
}


