/* font-family: 'Merriweather', serif; (BOLD) [H1] */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@900&display=swap");

/* font-family: 'Neuton', serif; (LIGHT) [H2] */
@import url("https://fonts.googleapis.com/css2?family=Neuton:wght@300&display=swap");

/* font-family: 'Cormorant Garamond', serif; (MEDIUM) [H3] */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&display=swap");

/* font-family: 'Inter', sans-serif;  (LIGHT) [H4] */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap");

/* font-family: 'Crimson Text', serif; (ITALIC) [P] */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:ital@1&display=swap");

/* font-family: 'Cormorant SC', serif; (SEMI-BOLD) [I] */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@600&display=swap');

/* BODY ; HEADER ; NAV */

body {
    max-width: 1300px;
    margin: 20px auto;
    background: rgba(37, 37, 37, 0.873);
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body {
        max-width: 710px;
        margin: 20px 20px;
        background: rgba(37, 37, 37, 0.873);
        padding: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    body {
        max-width: 430px;
        margin: 20px 20px;
        background: rgba(37, 37, 37, 0.873);
        padding: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 30px;
    background-image: url("../assets/img/LOGO_FRUSANETCOM_v2_30pourcent.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 150px;
    width: 100%;
}

nav {
    display: flex;
    text-align: center;
    justify-content: space-around;
    width: 100%;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0;
    margin: 0;
}

nav li {
    list-style-type: none;
}

nav a {
    color: rgba(253, 253, 253, 0.965);
    text-decoration: none;
}

nav a:link,
nav a:visited,
nav a:hover,
nav a:active {
    color: rgba(253, 253, 253, 0.965);
    text-decoration: none;
}

/* Cacher les sous-menus par défaut */
nav .subnav-content {
    display: none;
}

/* Optionnel: Styles pour les sous-menus affichés, activé par JavaScript */
nav .subnav.active .subnav-content {
    display: block;
}

/* MAIN */

main #GridCommunication {
    display: grid;
    grid-template-columns: 1fr;
    margin: auto;
}

#LogoContact {
    background-image: url("../assets/img/CONTACT_LOGO.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 200px;
    margin: auto;
}

#form {
    display: grid;
    grid-template-columns: 1fr;
    margin: auto;
    text-align: center;
    justify-content: center;
}

label {
    font-family: "Merriweather", serif;
    font-size: 1rem;
    color: rgba(235, 141, 109, 0.871);
    text-align: center;
    text-transform: uppercase;
}

input {
    font-family: "Merriweather", serif;
    font-size: 1rem;
    color: rgba(96, 96, 222, 0.939);
    text-align: center;
}

textarea {
    font-family: "Merriweather", serif;
    font-size: 1rem;
    color: rgba(96, 96, 222, 0.939);
    text-align: justify;
}

input,
textarea {
    width: 100%;
    max-width: 600px;
    text-align: center;
    justify-content: center;
}

textarea {
    height: 40vh;
    max-width: 100%;
}

label,
input,
textarea {
    display: block;
    margin: auto;
    text-align: center;
    justify-content: center;
}

input[type="submit"] {
    background-color: #4caf50;
    color: white;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.error {
    color: red;
}

/* BUTTON */

.btn-submit {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border: #191966 solid 1px;
    border-radius: 15px;
    text-shadow: 1.5px 1.5px 1.5px rgba(251, 251, 251, 0.821);
}

.btn-submit:hover {
    background-color: #0056b3;
    color: #fff;
    text-shadow: 1.5px 1.5px 1.5px rgba(251, 251, 251, 0.821);
    transition: 0.6s ease-in-out;
}

/* OTHERS */

a {
    color: rgba(243, 243, 243, 0.932);
    text-decoration: none;

    &:link,
    &:visited,
    &:hover,
    &:active {
        color: rgba(243, 243, 243, 0.932);
        text-decoration: none;
    }
}

.grillefooter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: rgb(253, 253, 253, 0.965);
    padding: 20px;
    text-align: center;
}

.footerImg {
    background-image: url("../assets/img/LOGO_HLG_LLC_v2_5.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 100px;
    width: 100%;
}

.footer {
    padding: 5px;
}

.footer h3 {
    margin-bottom: 15px;
    font-size: calc(0.6rem + 0.5vw);
    font-family: "Inter", sans-serif;
}

.footer p {
    margin-bottom: 15px;
    font-size: calc(0.6rem + 0.5vw);
    font-family: "Neuton", serif;
}

@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    nav ul {
        flex-direction: column;
    }
}

@media screen and (max-width: 270px) {
    nav ul {
        flex-direction: column;
    }
}

#h1 {
    font-family: "Merriweather", serif;
    font-size: 1.8rem;
    color: rgba(3, 3, 220, 0.847);
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
}

#h2 {
    font-family: "Neuton", serif;
    font-size: 1.6rem;
    color: rgba(96, 96, 222, 0.939);
}

#h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    color: rgba(236, 163, 73, 0.871);
    text-align: justify;
}

#h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: rgba(235, 141, 109, 0.871);
    text-align: justify;
}

#p {
    font-family: "Crimson Text", serif;
    font-size: 1rem;
    color: rgba(246, 246, 170, 0.939);
    text-align: justify;
}

@media (max-width: 768px) {
    #h1 {
        font-size: 1.4rem;
    }

    #h2 {
        font-size: 1.2rem;
    }

    #h3 {
        font-size: 1.1rem;
    }

    #h4 {
        font-size: 0.8rem;
    }

    #p {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    #h1 {
        font-size: 1.4rem;
    }

    #h2 {
        font-size: 1.2rem;
    }

    #h3 {
        font-size: 1.1rem;
    }

    #h4 {
        font-size: 0.8rem;
    }

    #p {
        font-size: 0.6rem;
    }
}
