@import "./style.css";

.sec1 .content.centered {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.sec1 .text-wrapper {
    width: 90%;
    height: fit-content;
    padding: 10% 5%;
    border: 1px solid lightgrey;
    border-radius: 10px;
}
.sec1 .title {
    margin-top: 0 !important;
}
#sec2 {
    height: 250%;
}
#sec2 .content-pair {
    height: 33%;
    justify-content: space-evenly;
}
.image-wrapper {
    justify-content: center;
    align-items: center;
}
.image-wrapper img {
    width: 100%;
}

#sec2 .subtitle {
    color: blue;
}

#sec3 {
    height: 150%;
    text-align: center;
}
@media screen and (max-width: 375px) {
    .section.centered.sec1 {
        height: calc(100% - 50px) !important;
    }
    #sec2 {
        height: 300% !important;
    }
    .section {
        height: 200% !important;
    }
}

@media screen and (min-width: 568px) and (max-width: 853px) and (max-height: 393px) {
    .sec1 .content.centered {
        height: 80%;
    }
    .sec1 .text-wrapper {
        padding: 2.5% 5%;
        border: none;
    }
    #sec2 {
        height: 350%;
    }
}

@media screen and (min-width: 1100px) {
    .sec1 .text-wrapper {
        height: 200px !important;
        justify-content: space-evenly;
    }
    .content-pair {
        justify-content: space-between !important;
    }
    .content-pair .textbox-wrapper {
        width: 350px;
    }
    .image-wrapper {
        width: 500px !important;
        height: fit-content; 
    }
    #pie-graph {
        width: auto;
        height: 100%;
        aspect-ratio: 1/1;
    }
    .sec1 .buttons-wrap {
        width: fit-content !important;
    }

    #sec2 {
        height: 150%;
    }
    #sec3 .content.centered {
        justify-content: space-evenly;
    }
    #sec3 .flex.row {
        width: 100%;
        height: fit-content;
        justify-content: space-between;
    }
    #sec3 .flex.row .half {
        width: 40%;
        height: fit-content;
        padding: 5%;
        text-align: center;
    }
    #sec3 .flex.row .half:nth-child(1) {
        border-right: 1px solid lightgrey;
    }
    #sec3 .flex.row .half h2 {
        color: blue;
    }
}