/* CSS Général */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section  {
    width: 70dvw;
    padding: 2rem 0;
}

.landing h1 {
    /* Layout related */
    position: relative;
    bottom: 0;
    left: 0;

    /* Style related */
    color: #FFF;
    text-align: center;
    animation: none;
    transform: none;

    /* Font related */
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
}

h2 {
    /* Layout related */
    text-align: center;
    margin: 0;
    padding: 0;

    /*  Style related */
    color: var(--main-accent-color);

    /* Font related */
    font-size: 3rem;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

h3 {
    /* Layout related */
    text-align: center;

    /*  Style related */
    color: #FFF;

    /* Font related */
    font-size: 2.1875rem;
    line-height: normal;
    text-transform: uppercase;
}

/* Fin CSS Général */

/* Partie Landing */

.landing {
    /* Layout related */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@keyframes fadeIn {
    0% {
        opacity: 0%;
    }
    100%{
        opacity: 10%;
    }
}

.landing img {
    animation: fadeIn 3s cubic-bezier(.45,.36,.17,.97) 0s fill forwards;
}

.goToBtn {
    display: flex;
    gap: 2rem;
}

.check-down {
    bottom: calc(0px - 6rem);
    box-shadow: none;
}
/* Fin CSS Landing */

/* Partie CSS Offres */

.offres {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.offres-grid {
    /* Layout related */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.offre {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.offre img {
    width: 100%;
    opacity: 80%;
    transition: 0.5s ease-out;
    box-shadow: none;
}

.offre img:hover {
    width: 100%;
    opacity: 100%;
    transition: 0.5s ease-out;
    box-shadow: 0 0 24px 0 #FFFFFF60;
}

/* Fin CSS Offres */

/* Partie réassurance */

.trust {
    display: flex;
    flex-direction: column;
    width: 100dvw;
    gap: 2rem;
}

.trustCarousel {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem
}

.trusted {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    width: 10rem;
    gap: 1rem;

    background: white;
    border-radius: 1.5rem;
    padding: 1rem;
    transition: 0.5s ease-out;
    box-shadow: none;
}

.trusted h3 {
    font-size: medium;
    color: black;
}

.trusted img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.darkbg {
    background: black;
    border-radius: 1.5rem;
}

.trusted:hover {
    transition: 0.35s ease-out;
    box-shadow: 0 0 18px 0 #FFFFFF90;
    transform: scale(1.1);
}

/* Fin réassurance */

/* Partie showreal */

.showreal {
    /* Layout related */
    width: 100dvw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.show {
    /* Layout related */
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100dvw;
    gap: 2rem;
}

.show-vidz {

}

.show video {
    /* Layout related */
    width: 100%;
    height: auto;
    aspect-ratio: 2.33/1;
}

/* Fin partie showreal */

/* Partie expérience */

.experience {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.xp-para {
    display: flex;
}

.xp-para img {
    width: 10dvw;
}

/* Fin partie expérience */

/* Partie matériel */

.gear { 
    /* Layout related */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.gear-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.drone {
    /* Layout related */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    width: 100%;

    /* Style related */
    color: #000;
    background-color: #FFF;
    border: 1px solid var(--main-accent-color);
    border-radius: 1.5rem;
    box-shadow: 0 0 16px 0 #FFF;
}

.drone h3 {
    color: #000;
}

.drone table {
    width: 100%;
    border-collapse: collapse;
    
    overflow: hidden;
    border: 1px solid black;
    border-radius: 25px;

    box-shadow: 0 0 8px black 0;
}

.drone th, td {
    border: 1px #000 solid;
    padding: 0.25rem;
}

.gear-img {
    aspect-ratio: 16/10;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gear-img img {
    width: 100%;
    height: auto;
}

/* Fin partie matériel */

/* Début partie Contact */

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.form-group label {
    font-size: 1.25rem;
}

.form-group input, textarea {
    /* Layout related */
    width: 100%;
    border-radius: 1.75rem;
    padding: 1rem;

    /* Style related */
    border: 1px solid var(--main-accent-color);

    /* font related */
    font-family: Poppins, sans-serif;
}

textarea {
    /* Layout related */
    resize: vertical;
    min-height: 10rem;
    field-sizing: content;
}

.textarea {
  display: block;
  width: 100%;
  overflow: hidden;
  resize: both;
  line-height: 20px;
}

.form-super-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

/* Fin partie Contact */

.hidden {
    display: none;
}


@media (max-width: 425px) {
    .landing h1 {
        font-size: 3rem;
        letter-spacing: 0;
        text-shadow: 0 0 24px #000;
    }

    .landing p {
        text-shadow: 0 0 6px #000;
    }

    .goToBtn {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 2rem;
    }

    .offres-grid {
        grid-template-columns: 1fr;
    }

    .trustCarousel {
        flex-direction: column;
        align-items: center;
    }

    .form-super-group {
        grid-template-columns: 1fr;
    }

    h3 {
        font-size: 1.25rem;
    }
}