h1 {
    text-align: center;
}


/* CSS for the about and research questions*/
.top-container {
    display: flex;
    flex-wrap: wrap;
}

.color-box {
    width: 50%;
}
.color-box:last-child {
    background-color: #F0EEEF;
}

.color-box:last-child h1 {
    color: #000;
}

.box {
    width: clamp(0px, 50vw, calc(1000px - 4rem));
    height: 100%;
    box-sizing: border-box;
    padding: 2rem;
    margin: auto;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.box p {
    margin: 0.5rem;
}
.box h1 {
    margin-top : 1rem 
}

@media (max-width: 900px) {
    .color-box {
        width: 100%;
    }
    
    .box {
        width: 100%;
        margin: 0px;
    }

    .box p, .box .h1-q{
        margin-bottom: 0px;
    }
}






/* Questions CSS */
.q-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}


.q-box {
    box-sizing: border-box;
    padding: 2rem;
    width: 45%; 
    height: auto;
    padding: 1rem; 
    border: 1px solid black; 
    background: rgb(189, 62, 65); 
    color: white; 
}

.q-box p {
    margin: 0px;
}

@media screen and (((max-width:1150px) and (min-width: 900px)) or (max-width:500px)) {
    .q-box {
        width: 100%;
        margin-bottom: 1rem;
    }
    .q-box:last-child {
        margin-bottom: 0px;
    }
}



/* CSS for the button section */
.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto 0px;
    padding: 2rem 0;
    background-color: rgba(186, 24, 27, 0.5)
}

.btn_section {
    width: clamp(240px, calc(33.33%), 300px);
    aspect-ratio: 1/1.125;

    margin: 1rem 1.5rem;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #fff;
    color: #000;
    border: 1px solid #D3D3D3;
    text-align: center;
}

.btn_section img {
    max-width: 100px;
    max-height: 100px;
    margin-bottom: 0.2rem;
}
.btn_section img.a1 {
    max-width: 75px;
    margin-bottom: 1.1rem;
}
.btn_section img.a2 {
    max-width: 90px;
    margin-bottom: 0.9rem;
}


.btn_section a {
    display: inline-block;
    padding: 1rem 3rem;
    margin-bottom: 1rem;
    min-height: calc(100px - 2rem);

    text-decoration: none;
    background-color: #C74244; 
    font-weight: 700;
    color: #FFF; /* Text color */
    border: 2px solid #8f292d; /* Border color */
    transition: background-color 0.3s ease; /* Smooth transition on hover */
}

.btn_section a:hover {
    background-color: #8f292d;
    border: 2px solid #6B2325
}

@media (max-width: 740px) {
    .btn_section {
        width: 80%;
        height: auto;
        aspect-ratio: 0;
    }

}

@media (max-width: 850px) {

    .btn_section {
        margin-bottom: 1rem;
    }
}
