/* main content */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: all 0.75s ease;
}

@media screen and (max-width: 820px) {
    body {
        width: 100vw;
        min-height: 100vh;
    }
}

body main {
    font-family: "Poppins", sans-serif;
    width: 100%;
    height: 100%;
    margin: auto;
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: left top;
    overflow: hidden;
}

h1 {
    margin: 0;
    text-transform: uppercase;
    font-family: "MierA";
    font-size: 65px;
    font-weight: 900;
    line-height: 70px;
}

h1 small {
    display: block;
    text-transform: initial;
    font-size: 30px;
    line-height: normal;
}

/* Background Block */
#background {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-image: url("img/bg_accueil.webp");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-color 0.75s ease, background-image 0.75s ease;
}

@media screen and (max-width: 820px) {
    #background {
        background-size: cover;
    }
}

/* Connexion Block */
#connexion {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    padding-top: 15vh;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

#connexion .left-text {
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    row-gap: 45px;
}

#connexion .left-text span {
    color: white;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 200;
    line-height: 16px;
    letter-spacing: 4px;
}

#connexion .left-text hr {
    flex-grow: 1;
    background-color: white;
}

#connexion .text-container {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    row-gap: 60px;
}

#connexion .text-container .home_title {
    max-width: 90%;
}

#connexion .text-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

#connexion .text-container form .form-group {
    display: flex;
}

#connexion .text-container form .form-group input {
    width: 100%;
    border: none;
    background-color: #efefef;
    padding: 20px 25px;
    color: #010101;
    font-family: "Poppins";
    font-size: 16px;
    font-weight: 200;
    line-height: 15px;
}

#connexion .text-container form .form-group input:focus {
    outline: none;
}

#connexion .text-container form button {
    border: 1px solid #8C53FF;
    background-color: #8C53FF;
    color: white;
    padding: 10px 16px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    transition: all 1s ease;
    text-transform: uppercase;
    font-size: 19px;
    font-weight: 200;
    line-height: normal;
    letter-spacing: 2px;
}

#connexion .text-container form button:hover {
    background-color: white;
    color: #8C53FF;
}

@media screen and (max-width: 820px) {
    #connexion {
        padding-top: 20vh;
    }

    #connexion .left-text {
        top: 40px;
        bottom: 40px;
        left: 20px;
    }

    #connexion .text-container {
        width: 70%;
    }
}

/* Transition Container */
#transition {
    display: none;
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: black;
    transition: opacity 0.75s ease;
    justify-content: center;
    align-items: center;
}

#transition video {
    height: 100%;
    width: auto;
}

@media screen and (max-width: 820px) {
    #transition video {
        height: auto;
        width: 100%;
    }
}