@import url('https://use.typekit.net/mon5kfe.css');

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
}

html,
body {
    margin: 0;
    padding: 0;

    min-height: 100vh; /* old browsers */
    min-height: 100dvh; /* new browsers */
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

html,
body,
button,
input,
textarea,
select {
    font-family: 'acumin-pro', Arial, serif;
}


.banner {
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/main.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 65%;
    position: relative;
}

@media screen and (max-width: 1000px){
    .banner {
        height: 40vh;
    }
}

@media screen and (max-width: 750px){
    .banner {
        height: 30vh;
    }
}

.title{
    position: absolute;
    max-width: 40%;
    top: 20px;
    right: 20px;
}

@media screen and (max-width: 1100px){
    .title {
        max-width: 50%;
    }
}

@media screen and (max-width: 750px){
    .title {
        max-width: 60%;
    }
}

@media screen and (max-width: 500px){
    .title {
        max-width: 90%;
        top: 30%;
    }
}

.greyBanner {
    width: 100%;
    background-color: #F2F2F2;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.13);
    padding : 30px;
}

.counters {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

@media screen and (max-width: 650px){
    .counters {
        flex-direction: column;
        gap: 30px;
    }
}

.counter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 220px;
}

.counter:hover{
    color: #027DC5;
}


.description {
    font-size: 20px;
    text-align: center;
}

.number {
    font-weight: 700;
    font-size: 40px;
}


.cheptelSection{
    padding : 50px 10px 30px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blockContainer{
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 80px 30px;
    max-width: 800px;
}

@media screen and (max-width: 630px){
    .blockContainer{
        flex-direction: column;
        padding: 50px 30px;
    }
}

.squaredBlock{
    border-radius: 24px;
    font-size: 28px;
    text-align: center;
    font-weight: 500;
    transition: transform ease-in-out 200ms;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.13);
    color: white;
    height: 350px;
    width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

@media screen and (max-width: 830px){
    .squaredBlock{
        height: 300px;
        width: 300px;
    }
}

@media screen and (max-width: 700px){
    .squaredBlock{
        height: 250px;
        width: 250px;
        font-size: 24px;
    }
}

@media screen and (max-width: 630px){
    .squaredBlock{
        height: 250px;
        width: 250px;

    }
}

.squaredBlock:hover{
    transform: translateY(-3%);
}

.redBlock{
    background-color: #ED1C25;
}

.greenBlock {
    background-color: #356548;
}

.brownBlock {
    background-color: #e9b941;
}

.blueBlock {
    background-color: #027DC5;
}

.wheat{
    background-color: white;
    padding: 5px 20px;
    border-radius: 10px;
    color: #CAA179;
}


.mapSection{
    width: 100%;
    background-color: #F2F2F2;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.13);
    padding : 50px 30px;

    display: flex;
    align-items: center;
    flex-direction: column;
}

.subtitle{
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #356548;
}

.map{
    margin-top: 20px;
    width: 100%;
}

.legend{
    display: flex;
    align-items: center;
    column-gap: 20px;
    row-gap: 5px;

    padding: 30px 5px 0;
}

@media screen and (max-width: 750px){
    .legend {
        flex-direction: column;
    }
}

.legendItem{
    display: flex;
    align-items: center;
    justify-content: center;
}

.pin > img{
    height: 40px;
}

.imageSection{
    padding : 50px 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


.imageContainer{
    margin-top: 10px;
    width: 70vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 750px){
    .imageContainer{
        width: 90vw;

    }
}

@media screen and (max-width: 500px){
    .imageContainer{
        width: 95vw;
    }
}

.helpImage{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 650px;
}

.contactButton{
    color: white;
    background-color: #356548;
    width: fit-content;
    padding: 12px 24px;

    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.redBtn{
    background-color: #D82A06;
}

.blueBtn{
    background-color: #060AD8;
}

.bottomContactButton {
    margin-bottom: 40px;
}

.topContactButton{
    margin-top: 20px;
}

.contactButton > a {
    color: white !important;
}