@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
:root{


    --header-background: #ffffff;
    --h1: #3c46b0;

    --card-color: #DBDFFD;
    --card-fontColor: rgb(30 30 112 / 72%);
    --card-color-HOVER: #eaeafd;
}
html{
    background: var(--background);

    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    transition: 0.3s all ease-in-out;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
}

::-webkit-scrollbar {
    width: 16px;
    height: 15px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #8f99d3;
    border: 5px solid transparent;
    background-clip: content-box;
}
header{
    width: 100%;
    background: var(--header-background);
    background-image: url("img/background.svg");
    background-color: #F1F0F4;
    background-position: left;
    background-size: 84vw;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
    box-shadow:
            0 1px 20px rgba(178, 176, 183, 1);
}
h1 {
    margin-left: 10px;
    margin-bottom: 20px;
    margin-top: 35px;
    font-family: 'Manrope', sans-serif;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    font-variant-caps: normal;
    font-size: 80px;
    color: var(--h1);
    text-shadow: 0 0 4px rgba(60, 70, 176, 0.66);
}
h2{
    font-family: 'Staatliches', cursive;
    font-size: 40px;
    margin: 15px 0 0 0;
    width: 100%;
    color: rgba(27, 31, 101, 0.63);
    padding-left: 20px;
}
p{
    padding-left: 20px;
    font-family: 'Staatliches', cursive;
    font-size: 20px;
}
a{
    text-decoration: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}
section.cards{
    width: 98%;
    margin: auto auto 30px auto;
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 0 15px 0 15px;
}
section.cards div {
    overflow-y: visible;
    background: var(--card-color);
    max-width: 800px;
    width: 24%;
    min-width: 300px;
    margin: 10px 7px 10px 7px;
    border-radius: 10px;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
    flex-grow: 1;
}
section.cards div:hover, section.cards div:active, section.cards div:focus {
    background: var(--card-color-HOVER);


    box-shadow: 0 8px 16px rgba(32, 40, 94, 0.07),
    0 9px 18px rgba(32, 40, 94, 0.07),
    0 11px 22px rgba(32, 40, 94, 0.07),
    0 15px 25px rgba(32, 40, 94, 0.07),
    0 23px 40px rgba(32, 40, 94, 0.07);

    transform: translate(0, -5px);
    transition: 0.2s all ease-in-out;
}
section.cards div a section span{
    padding:  10px 10px 10px 10px;
    display: block;
    width: 95%;
    font-size: 2em;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--card-fontColor);

}
section.cards div a section{
    display: flex;
    align-items: center;
}
section.cards div a img{
    width: 98%;
    height: 300px;
    border-radius: 8px 8px 0 0;
    margin: 1% auto 0 auto;
    display: flex;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    object-fit: cover
}
@media (min-width: 2500px) {
    section.cards div {
        max-width: 800px;
    }
    section.cards div a section span {
        font-size: 3em;
    }
    section.cards div a img{
        height: 500px;
        font-size: 2em;
    }
    h1{
        font-size: 120px;
    }
}
@media (max-width: 1515px) {

    section.cards div a section{
        height: 120px;
        display: flex;
        align-items: center;
    }
}
@media (max-width: 1430px) {
    section.cards div {
        width: 32%;
        flex-grow: 1;
    }
    section.cards div a section{
        display: block;
        height: auto;
    }
    section.cards{
        width: 98%;
        margin: auto;
        display: flex;
        justify-content: space-evenly;
        align-items: stretch;
        flex-wrap: wrap;
        padding: 0 15px 0 15px;
    }
}
@media (max-width: 1136px) {
    section.cards div a section{
        height: 120px;
        display: flex;
        align-items: center;
    }
}
@media (max-width: 1071px) {
    section.cards{
        padding: 0;
        margin: auto;
    }
    section.cards div {
        width: 45%;
        margin: 5px 5px 10px 5px;
    }
    section.cards div a section{
        display: block;
        height: auto;
    }
}
@media (max-width: 746px) {
    section.cards div a section{
        height: 120px;
        display: flex;
        align-items: center;
    }
}
@media (max-width: 640px) {
    section.cards{
        width: 93%;
    }
    section.cards div {
        margin: 0 0 10px 0;
    }
    section.cards div a section{
        display: block;
        height: auto;
    }
    section.cards div a img{
        height: 250px;
    }
    ::-webkit-scrollbar {
        display:none;
    }
    header{
        text-align: center;
        justify-content: center;
        border-radius: 0;
    }
    h1 {
        margin: 20px 0;
        font-size: 53px;
        text-align: center;
        text-transform: uppercase;
        font-variant-caps: normal;
    }
}