/* Global Variables */
:root {
    --font-primary: "Inter", "Verdana", sans-serif;
    --font-secondary: "Unbounded", serif;
    --color-bg-dark: #161616;
    --color-white: #ffffff;
    --color-light-grey: #d5d4d4;
    --color-grey: #b9b9b9;
    --color-hover: #E6E6E6;
    --blur-bg: rgba(31, 31, 31, 0.49);
    --border-radius: 10px;
    --transition-fast: 0.3s ease;
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

html {
    height: 100%;
    background-color: #000;
    font-size: 62.5%;
}

body {
    min-height: 100vh;
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: rgb(255 255 255);
    background: url(../img/bg/bg.webp) no-repeat 50% / cover;
}

p {
    color: #d5d4d4;
    margin: 15px 0;
    font-weight: 300;
    font-size: 15px;
}

.small {
    font-size: 12px;
    color: #b9b9b9;
    margin: 15px 0 !important;
}

#shadow-host-companion {
    display: none;
}

/*NAVIGATION*/

.hidden {
    display: none;
}

nav {
    width: 100%;
    display: flex;
    height: 60px;
    padding: 0 80px;
    background-color: #161616;
}

.left {
    width: 50%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.right {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    width: calc(770px / 4);
    height: calc(77px / 4);
}

.nav-links1,
.nav-links2 {
    display: flex;
    gap: 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-style: italic;
    align-items: center;
}

.nav-links1 li a:hover,
.nav-links2 li a:hover {
    color: white;
    font-style: normal;
}

.nav-links1 li a,
.nav-links2 li a {
    color: var(--color-hover);
    text-decoration: none;
}

.menuBurger {
    display: none;
}

/*CTA PIN*/

.pin-bloc {
    text-align: center;
    border: none;
    border: 2px solid #757575;
    border-radius: 12px;
    padding: 12px;
    background: none;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 300;
    font-family: "League Spartan", sans-serif;
    letter-spacing: 7px;
    color: white;
    width: 90%;
}

.message {
    display: flex;
    justify-content: center;
    color: black;
    margin-bottom: 10px;
}

#msg-error,
#send-again {
    font-size: 12px;
    margin: 0 2px;
    font-weight: 200;
}

#send-again {
    font-weight: 900;
}

.cta {
    text-align: center;
    border-radius: 10px;
    background: #1fd680;
    width: 90%;
    padding: 15px 0;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    color: #F9F9F9;
    /* animation: pulse .8s infinite; */
}

.cta[disabled] {
    pointer-events: none;
    background: #d1cece;
    color: #b5b2b2;
}

/*TRAD*/
.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1em;
    padding: 0.5em;
    border-left: 1px solid var(--light-border);
}

.language-btn .language-flag {
    width: 2em;
    height: auto;
}

.language-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #161616;
    border: 1px solid #ccc;
    border-radius: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 100;
}

.language-options li {
    padding: 0.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-options li .language-flag {
    width: 2em;
    height: auto;
}

/*MENU BURGER*/
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background-color: #161616;
    box-shadow: 0 0 0;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 50px;
    padding: 0;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu li a {
    font-size: 14px;
    text-transform: uppercase;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.mobile-menu.open {
    transform: translateX(0);
    box-shadow: -7px 0 5px rgba(0, 0, 0, 0.5);
}

.croix {
    width: 20px;
}

/*****HOMEPAGE*****/

/*TOP*/

.top {
    width: 100%;
    height: 90vh;
    display: flex;
}

.gradient {
    display: flex;
    height: 90vh;
    padding: 100px 130px 0 80px;
    width: 55%;
    background: url(../img/test/1.png) no-repeat left / 110%;
}

.boxBestImg {
    height: 90vh;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px 0 80px;
}

.best {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.star {
    width: 40px;
    align-self: flex-start;
    margin-bottom: 20px;
}

h1 {
    font-family: var(--font-secondary);
    font-size: 44px;
    text-transform: uppercase;
    line-height: 48px;
    font-weight: 900;
}

.bold {
    font-weight: 800;
}

.bottom {
    background: url(../img/test/1.webp) no-repeat 50% / cover;
    width: 100%;
    height: 40vh;
    display: none;
}

.bottomDesktop {
    background: url(../img/test/1.webp) no-repeat 50% / cover;
    width: 50%;
}

/*TRIFI*/

#phoneNumber {
    font-size: 19px;
    border-radius: 10px;
    text-align: center;
    padding: 10px 0;
    width: 60%;
    letter-spacing: 2px;
    font-family: arial;
    font-weight: 400;
    color: #ffffff;
    background-color: #161616;
}

#phoneNumber:invalid {
    border: 1px solid #ffffff;
}

.btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 50px;
    margin: 10px 0 0 0;
    border: none;
    border-radius: 8px;
    font-size: 23px;
    font-weight: 700;
    background: white;
    box-shadow: 0px 4px 4px 0px #a8a8a869;
    color: #161616;
    text-decoration: none;
}

#submitBtn:disabled {
    background: #E6E6E6;
    color: #161616;
    box-shadow: none;
}

.tarif {
    color: white;
    font-size: 12px !important;
    margin: 10px 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 62%;
}

.starBg {
    display: none;
}

/*FOOTER*/

footer {
    display: flex;
    align-items: flex-start;
    margin: 0 auto;
    background-color: #161616;
    padding: 40px 5vw;
}

footer h3 {
    font-size: 20px;
    text-align: left;
    margin: 20px auto 5px;
    font-style: normal;
    font-weight: 600;
}

h3 {
    font-style: italic;
}

.blocLeft,
.blocRight {
    width: 50%;
}

.blocLeft {
    display: flex;
    flex-direction: column;
    align-self: normal;
}

.blocRight {
    display: flex;
    justify-content: space-evenly;
}

.footerElements li {
    margin: 10px 0 5px 5px;
}

.footerElements li a {
    color: #d5d4d4;
    text-decoration: none;
}

.footerElements li a:hover {
    font-style: italic;
    color: darkgrey;
}

footer .logo {
    width: calc(770px / 3);
    height: calc(77px / 3);
}

.internet {
    width: 100px;
}

/*LOGO EN BG*/

.logoBg {
    background-color: #161616;
    width: 100%;
    padding: 150px 0 0 0;
}

/***************MEDIAQUERIES*****************/

@media screen and (min-width: 100px) and (max-width:1000px) {

    /*    HOMEPAGE*/

    .logoBg {
        display: none;
    }

    .menuBurger {
        display: block;
        width: 27px;
    }

    .top {
        height: auto;
        flex-direction: column;
    }

    .top .boxBestImg {
        height: auto !important;
        width: 100%;
        padding: 30px;
    }

    .top .best {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        background: none;
    }

    .best .star {
        width: 40px;
        align-self: left;
        margin-bottom: 20px;
    }

    .boxRight .star {
        width: 40px;
        align-self: center;
        margin-bottom: 20px;
    }

    p {
        color: #d5d4d4;
        margin: 15px auto;
        font-weight: 300;
        font-size: 13px;
        line-height: 18px;
    }

    .tarif {
        color: #d5d4d4;
        font-size: 12px !important;
        margin: 10px auto !important;
        width: 100% !important;
        text-align: center;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 100px;
        font-family: Arial, sans-serif;
    }

    h1 {
        font-size: 28px;
        width: 100%;
        line-height: 30px;
    }

    h2 {
        font-size: 21px;
        margin: 0 auto;
        line-height: 24px;
    }

    .bottom {
        display: block;
    }

    .bottomDesktop {
        background: url(../img/test/1.webp) no-repeat 50% / cover;
        width: 100%;
        height: 40vh;
        display: none;
    }

    #star h2 {
        text-align: center;
    }

    .best p {
        margin: 15px 0 0;
        width: 90%;
        align-self: baseline;
    }

    nav {
        padding: 30px;
        box-shadow: 0 3px 10px rgb(5 5 5 / 50%);
    }

    .nav-links1,
    .nav-links2 {
        display: none;
    }

    .starBg {
        background-color: #161616;
        display: block;
        width: 100%;
    }

    footer {
        display: flex;
        flex-direction: column;
    }

    footer h3 {
        font-size: 20px;
        text-align: left;
        margin: 20px auto 5px;
        font-style: normal;
        font-weight: 600;
    }

    .blocLeft,
    .blocRight {
        width: 100%;
    }

    .blocRight {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }


    .internetplus {
        width: 30%;
        margin: 15px auto;
    }

    .internetplus img {
        width: 100%;
    }

    .menu-footer {
        display: flex;
        justify-content: space-between;
        margin: auto;
        padding: 20px 0;
    }

    .menu-footer li {
        text-align: center;
    }

    .menu-footer a {
        color: rgb(145 145 145);
        font-size: 10px;
        padding: 20px 0;
        font-weight: bold;
        text-transform: capitalize;
    }

    #phoneNumber {
        margin: 10px auto;
        width: 80%;
    }

    .btn {
        margin: 0 auto;
        width: 80%;
    }

    .gradient {
        width: 100%;
        display: flex;
        height: 310px;
        padding: 0;
    }
}
