* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Montserrat, sans-serif !important;
}

#main {
    height: 100vh;
    /* background-image: url("https://www.safee.com/wp-content/uploads/2024/01/background.png"); */
    background-size: 60% 100%;
    display: flex;
    justify-content: space-between;
}

input {
    width: 100%;
}

p {
    /* font-family: Roboto, sans-serif; */
    font-size: 16px;
    line-height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

#banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 470px;
    position: relative;
}

.banner-img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: center;
}

#banner p {
    font-family: 'Aero Matics Display ', sans-serif;
    font-weight: 900;
    font-size: 50px;
    line-height: 66px;
    color: white;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    text-align: center;
}

#banner span {
    display: block;
    font-weight: 400;
    font-size: 30px;
}

/* Gestion des flèches du carrousel */
#banner .arrow {
    position: absolute;
    display: flex;
    justify-content: space-between;
    margin: auto;
    width: 98%;
    color: white;
    font-size: 4rem;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    cursor: pointer;
}

#banner .arrow_left {
    left: 0;
    opacity: 0.4;
    transition: all 0.3s ease;
}

#banner .arrow_left:hover {
    transform: scale(1.1);
    opacity: 1;
    transition: all 0.3s ease;
}

#banner .arrow_right {
    right: 0;
    opacity: 0.4;
    transition: all 0.3s ease;
}

#banner .arrow_right:hover {
    transform: scale(1.1);
    opacity: 1;
    transition: all 0.3s ease;
}

/* Gestion des points du carrousel */
.dots {
    position: absolute;
    bottom: 40px;
    display: flex;
}

.dot {
    margin-inline: 5px;
    width: 13px;
    height: 13px;
    background-color: #ffffff00;
    border: 3px solid #fff;
    border-radius: 100%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.dot_selected {
    background-color: #fff;
}

.left-section {
    /* width:50%; */
}

.login-container {
    display: flex;

    height: 500px;
}

.left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* .login-form {
    margin-top: 30px;
} */

/* .login-form button{
margin: auto;
} */

.login-form h2 {
    color: black;
    margin-bottom: 12px;
    font-weight: bold;
    font-family: 'Aero Matics', sans-serif !important;
    font-size: 45px;
    text-wrap: nowrap;
}

.login-form label {
    color: #404040;
    /* margin-bottom: 12px; */

    /* text-align:left; */
}

.login-form input {
    height: 50px;
    padding: 5px;
    border: none;
    margin-bottom: 17px;
    margin-top: 5px;
}

.login-form input:nth-of-type(1):not(button),
.login-form input:nth-of-type(2) {
    border: 0.1px #389066 solid;
    /* box-shadow: 1px 1px #a0a0a0 ; */
    height: 50px;
    background: none;
}

.button3 {
    font-family: Montserrat, sans-serif !important;
    font-size: 24px !important;
    text-align: center;
    display: inline-block;
    width: 200px;
    padding: 10px 20px;
    margin: 0 auto;
    background-color: #1F955F !important;
    color: #fff;
    text-decoration: none;
    position: relative;
    height: 44px;
    overflow: hidden;
    margin-top: 9px
}



.custom-div {
    font-size: 24px;
    position: relative;
    /* width: 210px; */
    height: 70px;
    background: linear-gradient(white, white) 50% 10%,
        linear-gradient(white, white) 50% 50%,
        linear-gradient(white, white) 50% 90%,
        #1F955F;
    background-size: 100% 2px;
    background-repeat: no-repeat;
    transition: background-size 0.3s;
    width: 100%
}

.custom-div:hover {
    background-size: 0 2px;
}

#left-sec {
    width: 570px;
    margin: auto;
}

.login-form img {
    margin: 0 auto 25px;
    width: 75%;
    display: block;
}

#phone img {
    width: 60px;
    margin: 5px;
}

#phone {
    display: flex;
    width: 70%;
    margin: 10px auto;
    justify-content: space-between;
}

/* .checkbox-re {
    padding: unset !important;
    margin: 6px 0 20px 0 !important;
    width: 20px;
    height: unset !important;
} */

#phone img {
    transition: transform 0.3s ease;
}

#phone img:hover {
    transform: scale(1.1);
}



@media screen and (max-width: 1600px) {
    .login-form {
        width: 75%;
    }

    .login-form h2 {
        font-size: 34px;
        margin-bottom: 11px;
    }

    .login-form input:nth-of-type(1):not(button),
    .login-form input:nth-of-type(2) {
        height:  50px;
        font-size: 20px;
    }

    .custom-div {
        height: 58px;
    }

    #log-submit-btn {
        font-size: 25px !important;
    }

    #phone {
        width: 60%;
    }

    .login-form img {
        margin-bottom: 50px;
    }


}

@media screen and (max-width: 1050px) {
    #main {
        background-size: contain;
    }

    #left-sec {
        width: 100%;
        margin: 20px;
    }

    #phone {
        width: 55%;
    }

    #banner {
        display: none;
    }
}

@media screen and (max-width: 781px) {}

@media screen and (max-width: 680px) {
    #banner {
        /* width: 100%; */
        display: none;
    }

    #left-sec {
        width: 100%;
    }

    .login-form {
        width: unset;
    }

    #phone {
        width: 85%;
    }
}

@media screen and (max-width: 600px) {
    .login-form h2 {
        text-wrap: wrap;
        font-size: 30px;
    }
}

#banner .arrow,
.banner-img,
.dots,
.tooltip .top {
    position: absolute;
}
.login-form img,
.tooltip {
    text-align: left;
}

#banner span,
.tooltip:hover .top {
    display: block;
}
.tooltip .top,
.tooltip .top i::after {
    background-color: #eee;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.button3,
.tooltip {
    display: inline-block;
    position: relative;
}

.tooltip .top i,
.tooltip .top i::after {
    position: absolute;
    height: 12px;
    left: 50%;
}

.tooltip .top {
    min-width: 150px;
    top: -10px;
    left: 50%;
    transform: translate(-50%, -100%);
    padding: 10px 20px;
    color: #444;
    font-weight: 400;
    font-size: 13px;
    border-radius: 8px;
    z-index: 99999999;
    box-sizing: border-box;
    display: none;
}
.tooltip .top i {
    top: 100%;
    margin-left: -12px;
    width: 24px;
    overflow: hidden;
}
.tooltip .top i::after {
    content: "";
    width: 12px;
    transform: translate(-50%, -50%) rotate(45deg);
}
.phone-icon-container {
    margin: auto;
}
#phone .tooltip {   
    border-radius: 10px;
    padding: 3px;
}

@media screen and (max-width: 1600px) {
    .custom-div {
      width: 75%;
    }
}