@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@100&family=Poppins:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla&display=swap');

/*GLOBAL*/
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}
body {
    font-family: 'Poppins', sans-serif;
}
header {
    height: 100vh;
    width: 100vw;
    /*background-size: cover;*/
}

/*NAVBAR*/
.sec0 {
    position: absolute;
    z-index: -1;
}
.navbar {
    background: rgb(3, 9, 102);
    background: linear-gradient(90deg, rgba(3, 9, 102, 1) 0%, rgba(27, 26, 26, 1) 0%, rgba(27, 26, 26, 1) 43%, rgba(46, 47, 57, 1) 82%, rgba(69, 71, 93, 1) 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.navbar a {
    color: white;
}
.navbar .logo {
    font-size: 2em;
    font-weight: bold;
}
.navbar .navliens ul {
    display: flex;
}
li:hover {
    transform: scale(1.1);
}
.navbar .navliens ul li {
    margin: 0 25px;
}
.navbar .navliens ul li.active a {
    color: #ff0000;
}
/*BOUTON LOGIN*/
.btnlogin {
    color: #FFF;
    padding: 6px 24px;
    border: 2px solid #FFF;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
}
.btnlogin:hover {
    transform: scale(1.1);
}
/*RESPONSIVE NAVBAR*/
.navbar .menuresponsive {
    display: none;
    position: absolute;
    top: 50px;
    right: 30px;
    width: 35px;
}

@media screen and (max-width: 800px) {
    .navbar {
        padding: 0;
    }
    .navbar .logo {
        position: absolute;
        top: 40px;
        left: 30px;
    }
    .navbar .menuresponsive {
        display: block;
    }
    .navliens {
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(243, 241, 241, 0.507);
        backdrop-filter: blur(7px);
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 0.5s ease;
    }
    .menurespon.navliens {
        margin-left: 0;
    }
    .navliens ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .navbar .navliens ul li {
        margin: 25px 0;
        font-size: 1.2em; 
    }
}

/* FORMULAIRE LOGIN */
.form-container {
    position: fixed;
    max-width: 320px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 101;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.loginsec.show .form-container {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.form-ferme {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #0b0217;
    font-size: 22px;
    opacity: 0.7;
    cursor: pointer;
}
.form-container h2 {
    font-size: 22px;
    color: #0b0217;
    text-align: center;
}
.input1 {
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 40px;
}
.input1 input {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    color: #333;
    border-bottom: 1.5px solid #AAAAAA;
}

.form-container .btnlogin2 {
    background: #7D2AE8;
    margin-top: 30px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    color: #FFF;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-container .btnlogin2:hover {
    background: #5a1db3;
}
