body{
    color: #181E19;
}

header{
    font-family: 'Poppins', sans-serif;
    padding: 0 10%;
    width: 100%;
    height: 60vh;
    background:  linear-gradient(to right, rgba(19, 26, 69, 0.7), rgba(0,0,0,0.9)), url("../images/history.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

header h1{
    color: #fff;
    font-size: 4rem;
    text-transform: capitalize;
    margin: 3rem 0 0 0;
}

header .underline{
    content: "";
    width: 50px;
    height: 2px;
    background-color: #1ECD56;
    display: inline-block;
}

.history {
    padding: 2rem 10%;
}

.history .header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin: 2rem 0;
}

.history h3{
    font-size: 12px;
    color: #1ECD56;
    text-transform: uppercase;
}

.history span{
    content: "";
    width: 30px;
    height: 2px;
    background-color: #1ECD56;
    display: block;
    margin: 1rem 0;
}

.history h1, .structure h1{
    text-transform: capitalize;
    font-size: 30px;
    width: 500px;
    text-align: center;
}

.history p{
    font-family: 'Noto Sans', sans-serif;
    font-weight: 200px;
    line-height: 1.5rem;
    margin-bottom: 2rem;
    color: #8A928A;
}

/*Structure*/
.structure{
    padding: 4rem 10% 6rem 10%;
    margin-bottom: 4rem;
    flex-direction: column;
}

.structure, .structure .images{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.structure h1{
    margin-bottom: 2rem;
}

.structure figure{
    width: calc(100vw/4);
    height: 300px;
}

.structure figure img{
    width: inherit;
    height: inherit;
    object-fit: cover;
}

.structure figcaption{
    background-color: #1ECD56;
    padding: 1rem;
    text-align: center;
    height: 100px;
}

.structure figcaption h4{
    font-size: 14px;
}

.structure figcaption span{
    font-size: 10px;
    color: #fff;
}

@media screen and (max-width: 1000px){
    header{
        padding: 0 5%;
    } 

    .history, .structure{
        padding: 2rem 5%;
    }

    .structure{
        padding-bottom: 15%;
    }


}

@media screen and (max-width: 750px){
    header h1{
        font-size: 2.5rem;
    }

    .history .header h1{
        width: 100%;
        font-size: 24px;
    }

    .structure h1{
        font-size: 24px;
    }
}

@media screen and (max-width: 400px){
    header h1{
        font-size: 2rem;
    }

    header .underline{
        content: "";
        width: 30px;
        height: 2px;
        background-color: #1ECD56;
        display: inline-block;
    }

    .structure .images{
        flex-direction: column !important;
    }

    figure{
        margin-bottom: 120px;
    }

    .structure figure{
        width: 100%;
        height: 250px;
        margin-bottom: 100px;
    }

    .structure figcaption{
        height: 70px;
    }
}