.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: calc(100dvh - 84px);
}

.hero>div {
    flex: 1;
    position: relative;
}

.hero .presentation {
    margin-right: 1rem
}

.hero .presentation h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.hero .presentation .work-name {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero .presentation .description {
    text-align: justify;
}

.hero .presentation .btn {
    margin-top: 2rem;
}

.hero .image_pres {
    margin-left: 1rem;
}

.hero .image_pres path {
    fill: var(--primary-very-light);
}

.hero .hero_img {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: auto;
}

.presentation-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 2rem 0rem;
}

.presentation-section .description {
    flex: 1;
    margin-right: 3rem;
}

.presentation-section .description p {
    margin-top: 2rem;
    text-align: justify;
}

.presentation-section .description .btn {
    margin-top: 1rem;
}


.presentation-section .skills {
    flex: 1;
    margin-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.presentation-section .skills .skill {
    margin: 1rem 0rem;
    background-color: var(--background-tertiary);
    border-radius: 1rem;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    width: 100%;
}

.presentation-section .skills .skill .bg-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--secondary-light);
    border-radius: 1rem;
    display: inline-flex;
    padding: 1rem;
    margin-right: 2rem;
}

.presentation-section .skills .skill p {
    text-align: justify;
}

.prestation {
    margin-top: 6rem;
    position: relative;
}

.prestation h2 {
    text-align: center;
}

.prestation svg {
    fill: var(--primary-very-light);
    position: absolute;
    left: -15%;
    top: 0;
    max-width: 40vw;
    max-height: 60vh;
    z-index: -1;
}

.prestation .grid-prestation {
    margin-top: 5rem;
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-auto-rows: minmax(30vh, auto);
}

.prestation .grid-prestation>a {
    position: relative;
    text-decoration: none;
}

.prestation .grid-prestation>a:nth-of-type(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.prestation .grid-prestation>a:nth-of-type(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
}

.prestation .grid-prestation>a:nth-of-type(3) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.prestation .grid-prestation>a:nth-of-type(4) {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.prestation .grid-prestation>a img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

.prestation .grid-prestation>a .bg-black {
    border-radius: 1rem;
}

.prestation .grid-prestation>a .info {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    z-index: 10;
    height: 100%;
    position: relative;
}

.prestation .grid-prestation>a .info h3 {
    color: white;
}

.prestation .grid-prestation>a .info span {
    display: inline-block;
    height: 2rem;
    width: 2rem;
    align-self: flex-end;
}

.prestation .grid-prestation>a .info img {
    display: inline-block;
    height: 2rem;
    width: 2rem;
    align-self: flex-end;
    object-fit: contain;
}

@media screen and (max-width: 1200px) {
    .presentation-section .description {
        margin-right: 1rem;
    }

    .presentation-section .skills {
        margin-left: 1rem;
    }

    .presentation-section .skills .skill {
        padding: 0.5rem 1rem;
    }

    .presentation-section .skills .skill .bg-icon {
        width: 4rem;
        height: 4rem;
        padding: 0.8rem;
        margin-right: 1rem;
    }

    .prestation .grid-prestation {
        grid-template-columns: repeat(2, 1fr);
    }

    .prestation .grid-prestation>a:nth-of-type(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .prestation .grid-prestation>a:nth-of-type(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .prestation .grid-prestation>a:nth-of-type(3) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .prestation .grid-prestation>a:nth-of-type(4) {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }
}


@media screen and (max-width: 800px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero .presentation {
        order: 2;
        width: 100%;
        margin: auto;
        padding: 2rem 0rem;
    }

    .hero .image_pres {
        order: 1;
        width: 100%;
        margin: auto;
        padding-top: 2rem;
    }

    .presentation-section {
        flex-direction: column;
    }

    .presentation-section .description,
    .presentation-section .skills {
        margin: 0rem;
        margin-top: 1.5rem;
    }

    .prestation .grid-prestation {
        grid-template-columns: repeat(1, 1fr);
    }

    .prestation .grid-prestation>a:nth-of-type(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .prestation .grid-prestation>a:nth-of-type(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .prestation .grid-prestation>a:nth-of-type(3) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .prestation .grid-prestation>a:nth-of-type(4) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }
}