* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
}

/* HEADER */
header {
    display: flex;
    gap: 50px;
    align-items: center;
    height: 190px;
    padding: 10px 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;

}

header img {
    width: 255px;
    height: 173px;
}

header h1 {
    color: #71B74C;
    font-family: "Patua One", "sans-serif";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    text-transform: uppercase;
}

header h2 {
    color: #000;
    font-family: "Unbounded", "sans-serif";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    text-transform: uppercase;
}


/* MAIN */
main {
    width: 100%;
    height: calc(100vh - 250px);
}

.parcs {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: visible;
}


/* CARDS */
.parc {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    clip-path: polygon(0 0, 100% 0, calc(100% - 100px) 100%, 0% 100%);
    margin-left: -100px;
    transition: all 0.5s ease-in-out;
    box-shadow: 19px 7px 52.5px rgba(0, 0, 0, 0.53);
    overflow: visible;
}

.parc::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.aydat {
    z-index: 2;
    margin-left: 0;
}

.vernet {
    z-index: 1;
    flex: 1.15;
}

.langeac {
    z-index: 0;
    clip-path: unset;
}

.parc .background {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parc .details {
    width: max-content;
    max-width: 100%;
    padding: 10px 40px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    margin-bottom: 30px;
    z-index: 2;
}

.parc .details h3 {
    color: #FFF;
    font-family: "Unbounded", "sans-serif";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.parc .details p {
    color: #FFF;
    font-family: "Poppins", "sans-serif";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.aydat .details {
    background-color: #4A9D35;
}

.vernet .details {
    background-color: #EB6223;
}

.langeac .details {
    background-color: #12598A;
}


/* HOVER */
.parc .hover {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
    pointer-events: none;
}

.parc .hover::before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.aydat .hover::before {
    background-color: rgba(74, 157, 53, 0.7);
}

.vernet .hover::before {
    background-color: rgba(235, 98, 35, 0.7);
}

.langeac .hover::before {
    background-color: rgba(18, 89, 138, 0.7);
}


.parc .hover .logo {
    z-index: 2;
    width: 200px;
    height: 170px;
    object-fit: contain;
    margin-right: 20%;
    margin-top: 20px;

}

.description {
    z-index: 2;
    margin-right: 120px;
}

.parc .hover h3 {
    color: #FFF;
    font-family: "Patua One", "sans-serif";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    text-transform: uppercase;
}

.parc .hover h4 {
    color: #FFF;
    font-family: "Unbounded", "sans-serif";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.parc .hover span {
    position: relative;
    z-index: 2;
    font-family: "Unbounded", "sans-serif";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    text-transform: uppercase;
    padding: 17px 30px;
    border-radius: 30px;
    background-color: #FFF;
}

.aydat .hover span {
    color: #4A9D35;
}

.vernet .hover span {
    color: #EB6223;
}

.langeac .hover span {
    color: #12598A;
}



.parc .hover .map {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    right: 350px;
    bottom: -80px;
    height: 500px;
    width: 400px;
    object-fit: contain;
}

/* HOVER EFFECT */

.parc:hover {
    flex: 1.7;
}

.parc:hover .details {
    display: none;
}

.parc:hover .hover {
    display: flex;
}

.aydat .hover span:hover {
    background-color: #4A9D35;
    color: #FFF;
}

.vernet .hover span:hover {
    background-color: #EB6223;
    color: #FFF;
}

.langeac .hover span:hover {
    background-color: #12598A;
    color: #FFF;
}


/* FOOTER */
footer {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p {
    color: rgba(0, 0, 0, 0.50);
    text-align: center;
    font-family: "Poppins", "sans-serif";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

footer p a {
    color: #1E1E1E;
    text-decoration: none;
}

@media screen and (max-width: 1240px) {
    .parc .hover .map {
        width: 100%;
        right: 50%;
        transform: translateX(50%);
    }
}

@media screen and (max-width: 1024px) {
    main {
        height: unset;
    }

    .parcs {
        flex-direction: column;
    }

    .parc {
        flex: 1;
        aspect-ratio: 1/1;
        clip-path: unset;
        margin-left: unset;
    }

    .parc .hover .map {
        bottom: -50px;
    }

}

@media screen and (max-width: 768px) {
    .parc .hover .map {
        right: 10%;
        transform: unset;
        bottom: -120px;
    }

    .description {
        margin-right: 50px;
    }
}

@media screen and (max-width: 600px) {

    header {
        flex-direction: column;
        height: unset;
        gap: 0px;
    }

    header img {
        width: 150px;
        height: unset;
    }

    header h1,
    header h2 {
        text-align: center;
    }

    .parc:hover .hover {
        display: none;
    }

    .parc:hover .details {
        display: block;
    }
}