@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* style général de l'app */

section {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 87vh;
    background: url(../images/soft.jpg), url(../images/info2.jpg);
    background-blend-mode: screen;
    /*  filter: blur(1px); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.tech {
    align-items: center;
    justify-content: center;
    min-height: 13vh;
}

.tech i {
    margin-top: 10px;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}

header .logo {
    position: relative;
    background-color: white;
    border-radius: 12px 0 12px 0;
    color: #015b75;
    text-decoration: none;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 2px;
}

.text-logo {
    font-family: 'Kaushan Script', cursive;
}

header .slogan {
    font-size: 20px;
    background-color: darkgrey;
}

header .toggle {
    position: relative;
    width: 40px;
    height: 40px;
    background: url(../images/menu_btn.png);
    background-color: white;
    background-size: 30px;
    color: #015b75;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

header .toggle.active {
    background: url(../images/cancel_btn.png);
    background-color: white;
    background-size: 28px;
    color: #015b75;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.play {
    position: absolute;
    bottom: 20px;
    left: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.play span {
    font-weight: 600;
    color: #015b75;
    letter-spacing: 1px;
    font-size: large;
    border-top: 2px solid #015b75;
    border-bottom: 2px solid #015b75;
    border-right: 2px solid #015b75;
}

.play span:hover {
    color: white;
    background-color: #015b75;
    ;
}

.lire {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.sci {
    position: absolute;
    bottom: 40px;
    right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.sci li {
    list-style: none;
}

.sci li a {
    display: inline-block;
    text-decoration: none;
    transform: scale(0.6);
}

.sci li img {
    width: 70px;
    height: 70px;
}

.content {
    padding: 50px;
}

.content h2 {
    font-size: 9em;
    font-family: 'Kaushan Script', cursive;
    color: #015b75;
    line-height: 1em;
}

.navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: 0.2s;
    opacity: 0;
    visibility: hidden;
}

.navigation.active {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}

.text-menu {
    color: #015b75;
}

.navigation ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.navigation ul li {
    list-style: none;
}

.navigation ul li a {
    display: inline-block;
    color: #015b75;
    font-size: 2em;
    text-decoration: none;
    font-weight: 300;
}

.navigation ul li a:hover {
    color: #ff286f;
}

.trailler {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.trailler.active {
    opacity: 1;
    visibility: visible;
}

.trailler video {
    max-width: 900px;
    outline: none;
}

.trailler .close {
    position: absolute;
    top: 50px;
    right: 50px;
    cursor: pointer;
    max-width: 30px;
}


/* style pour section contact */

.cont {
    color: #015b75;
    font-size: 2em;
    text-decoration: none;
    font-weight: 300;
    cursor: pointer;
}

.cont:hover {
    color: #ff286f;
}

.contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: 0.2s;
    opacity: 0;
    visibility: hidden;
}

.contact.active {
    opacity: 1;
    visibility: visible;
}

article {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 10000;
    background: #112d42;
}

article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #03a9f4;
}

article .container {
    position: relative;
    min-width: 1100px;
    min-height: 550px;
    display: flex;
}

article .container .contactinfo {
    position: absolute;
    top: 40px;
    width: 350px;
    height: calc(100% - 80px);
    background: #0f3959;
    z-index: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
}

article .container .contactinfo h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

article .container .contactinfo .info {
    position: relative;
    margin: 20px 0;
}

article .container .contactinfo .info li {
    position: relative;
    list-style: none;
    display: flex;
    margin: 20px 0;
    cursor: pointer;
    align-items: flex-start;
}

article .container .contactinfo .info li span:nth-child(1) {
    width: 30px;
    min-width: 30px;
}

article .container .contactinfo .info li span:nth-child(1) img {
    max-width: 100%;
    filter: invert(1);
    opacity: 0.5;
}

article .container .contactinfo .info li span:nth-child(2) {
    color: #fff;
    margin-left: 10px;
    font-weight: 300;
    opacity: 0.5;
}

article .container .contactinfo .info li:hover span:nth-child(1) img,
article .container .contactinfo .info li:hover span:nth-child(2) {
    opacity: 1;
}

article .container .contactinfo .sci2 {
    position: relative;
    display: flex;
}

article .container .contactinfo .sci2 li {
    list-style: none;
    margin-right: 10px;
}

article .container .contactinfo .sci2 li a {
    text-decoration: none;
}

article .container .contactinfo .sci2 li a img {
    filter: invert(1);
    opacity: 0.5;
    width: 50px;
    height: 50px;
}

article .container .contactinfo .sci2 li:hover a img {
    opacity: 1;
}

article .container .contactForm {
    position: absolute;
    padding: 70px 50px;
    background: #fff;
    margin-left: 150px;
    padding-left: 250px;
    width: calc(100% - 150px);
    height: 100%;
    box-shadow: 0 50px 50px rgba(0, 0, 0, 0.5);
}

article .container .contactForm h2 {
    color: #0f3959;
    font-size: 24px;
    font-weight: 500;
}

article .container .contactForm .formBox {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
}

article .container .contactForm .formBox .inputBox {
    position: relative;
    margin: 0 0 35px 0;
}

article .container .contactForm .formBox .inputBox.w50 {
    width: 47%;
}

article .container .contactForm .formBox .inputBox.w100 {
    width: 100%;
}

article .container .contactForm .formBox .inputBox input,
textarea {
    width: 100% !important;
    padding: 5px 0;
    resize: none;
    font-size: 18px;
    font-weight: 300;
    color: #333;
    border: none;
    border-bottom: 1px solid #777;
    outline: none;
}

article .container .contactForm .formBox .inputBox textarea {
    min-height: 120px;
}

article .container .contactForm .formBox .inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    resize: none;
    font-size: 18px;
    font-weight: 300;
    color: #333;
    transition: 0.5s;
    pointer-events: none;
}

article .container .contactForm .formBox .inputBox input:focus~span,
article .container .contactForm .formBox .inputBox textarea:focus~span,
article .container .contactForm .formBox .inputBox input:valid~span,
article .container .contactForm .formBox .inputBox input:valid~span {
    transform: translateY(-20px);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ff568c;
}

article .container .contactForm .formBox .inputBox input[type='submit'] {
    position: relative;
    cursor: pointer;
    background: #0f3959;
    color: #fff;
    border: none;
    max-width: 150px;
    padding: 7px;
}

article .container .contactForm .formBox .inputBox input[type='submit']:hover {
    background-color: #ff568c;
}


/* here style pour media(téléphone) */

@media (max-width:991px) {
    section {
        background-size: 200%;
    }
    header .logo {
        font-size: 25px;
    }
    .trailler video {
        max-width: 90%;
    }
    header .toggle {
        background-size: 20px;
    }
    header .toggle.active {
        background-size: 20px;
    }
    .trailler .close {
        max-width: 20px;
    }
}