* {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: 'Barlow', sans-serif;
}


p {
    font-size: 1.3em;
}

h2 {
font-size: 1.6em;
font-weight: 700;
}

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

.testimonials {
    display: flex;
    gap: 1.5em;         
    justify-content: space-between; 
    flex-wrap: wrap;    
    margin-top: 1em;
}

.testimonials a {
    flex: 1 1 30%;      
}

.testimonials img {
    width: 100%;        
    height: auto;
    border-radius: 4px; 
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 290px;
    background: url('ada_banner.jpeg') no-repeat center center/cover;
    padding: 3em;
    font-size: 2em;
    z-index: 10;
    border-bottom: 1px solid #ccc;
}


section {
    width: 75%;
    padding: 1em;
    float: left;
    margin-top: 250px;
}

figure {
    margin: 0;
    text-align: center;
}

figure figcaption {
    margin-top: 0.5em;
    text-align: center;
}

aside {
    width: 25%;
    padding: 1em;
    position: fixed;
    right: 0;
    top: 250px;
    background: #fafafa;
    border-left: 1px solid #ccc;
    height: calc(100% - 250px);
    overflow-y: auto;
}

aside img {
    width: 100%;
    padding-top: 1em;
}

footer {
    clear: both;
    padding: 1em;
    background: #f0f0f0;
    border-top: 1px solid #ccc;
    text-align: center;
    margin-top: 2em;
}


@media (max-width: 500px) {

   
    header {
        position: static;
        height: auto;
        padding: 2em 1em;
        text-align: center;
    }

    section {
        width: 100%;
        float: none;
        margin-top: 0;
    }


    aside {
        position: static;
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid #ccc;
        margin-top: 1em;
    }


    .testimonials a {
        flex: 1 1 100%;
    }
}


@media (min-width: 501px) and (max-width: 900px) {

    header {
        position: static;
        height: auto;
        padding: 3em 1em;
        text-align: center;
    }

    section {
        width: 100%;
        float: none;
        margin-top: 0;
    }

    aside {
        position: static;
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid #ccc;
        margin-top: 1em;
    }

    .testimonials a {
        flex: 1 1 45%;
    }
}
