/* home navbar */
.img-menu-container-index{
    display: flex;
}
.navbar-title{
    margin: auto;
    font-size: 1.8rem!important;
    margin-left: 0.4rem;
}
/* home hero section */
.hero-section{
    height: 100vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
}
.left-hero{
    width: fit-content;
    border-right: 1px solid #ffffff;
}
.button-hero{
    margin-left: 2rem!important;
    margin-right: 2rem!important;
}
.h2-hero-title{
    font-size: 5.6rem!important;
    font-weight: 700;
    letter-spacing: unset;
    font-family: 'Syne', sans-serif;
    font-feature-settings: 'pnum' on, 'lnum' on;
    line-height: 85%;
}
/* To the right */
.hero-text{
    text-align: end;
}
span.like{
    margin-right: 40%;
}
span.post{
    margin-right: 10%;
}
/* To the left */
/*
.hero-text{
    text-align: start;
}
span.like{
    margin-right: 10%;
}
span.post{
    margin-right: 40%;
}
*/
.hero-img{
    width: 500px;
    height: auto;
}
.text-accent{
    color: #b3eaf1;
}

/* ====== slider ====== */
/*
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
.slide {
    transition: all 0.5s ease;
}
.format img{
    display: flex!important;
}
.slide img {
    margin: auto;
    max-height: 500px;
    max-width: 500px;
    object-fit: cover;
}
  
.active {
    display: block;
}

.indicators {
    text-align: center;
    margin-top: 10px;
}
  
.indicator {
    transition: all 1s ease;
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #979797;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
} 
.active-indicator {
    background-color: #ffffff;
}*/

.background{
    background-image: url(/public/images/Night_wallpaper.webp)!important;
    background-size: cover;
    background-repeat: no-repeat;
}

#first-section-container{
    padding-top: 8rem!important;
}
/* home titles */
.home-h2-title{
    font-size: 1.8rem!important;
    font-weight: 100;
    line-height: 134%;
    letter-spacing: unset;
    font-family: 'Syne', sans-serif;
    font-feature-settings: 'pnum' on, 'lnum' on;
    vertical-align: middle;
}
.home-h3-title{
    font-size: 4rem!important;
    font-weight: 700;
    letter-spacing: unset;
    font-family: 'Syne', sans-serif;
    font-feature-settings: 'pnum' on, 'lnum' on;
    line-height: 90%;
}

.section-container{
    background-color: rgba(0, 0, 0, 0.5)!important;
    padding-top: 4rem;
    padding-left: 10rem;
    padding-right: 16rem;
    z-index: 1;
    overflow: hidden;  
}

/* line effect */
.line{
    width: 3px;
    transition-duration: 900ms;
    background: linear-gradient(#0a0a0a00, #ffffff, #ffffff, #0a0a0a00);
    transition-delay: 500ms;
    height: 100%;
}
.build-in-scale-top{
    transition: transform .7s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scaleY(0);
    transform-origin: 0 0;
}
.build-in-scale-top.animated{
    transform: scaleY(1);
}
/* icons effect */
.build-icons{
    width: 40px;
    opacity: 0;
}
.ui-icons{
    font-weight: 100!important;
    display: flex;
    overflow: visible !important;
    vertical-align: text-bottom;
    opacity: 0;
    z-index: 3;
}
i:before{
    font-weight: 100!important;
}
.icons-background{
    transition: all 0.5s ease-in-out;
    background-color: #ffffff;
    filter: blur(18px);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}
.icon-animated{
    transition: opacity 0.5s ease-in-out;
    opacity: 1!important;
}

.text-container{
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.nightfocus-text{
    max-width: 66.6%;
}
/* ====== section login ====== */
.section-login{
    padding-top: 8rem;
    padding-bottom: 6rem;
    background-color: rgba(0, 0, 0, 0.5)!important;
    z-index: 1;
}

/* buttons */
.btn-add{
    border-radius: 20px;
    padding: 1.5rem 2.2rem!important;
}
.btn-icon{
    display: block;
    height: 1em;
    line-height: 1em;
}

/* ===== btn-arrow button ===== */
.btn-arrow{
    padding-right: 1rem!important;
}
.btn-arrow span {
	padding-bottom: 5px;
	padding-right: 15px;
}
/* svg arrow */
.right-arrow{
    fill: #ffffff;
}
.btn-arrow .right-arrow {
	transform: translateX(-8px);
	transition: all 0.3s ease;
}
.btn-arrow:hover .right-arrow {
	transform: translateX(0);
}
.btn-arrow:active .right-arrow {
	transform: scale(0.9);
}

.btn-link{
    color: #ffffff!important;
    text-decoration: none;
}

/* ===== i icon ===== */
.btn-icon-text .btn-icon-animation {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
	transform: translateY(20px);
}
.btn-icon-text:hover .btn-icon-animation {
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    max-height: 16px;
	transform: translateY(0);
}
.btn-icon-text:active .btn-icon-animation {
	transform: scale(0.9);
}

.button-animated-container{
    height: 70px;
}

#last-section{
    padding-bottom: 8rem;
}
@media screen and (max-width: 1600px){
    .h2-hero-title{
        font-size: 5rem!important;
    }
}
@media screen and (max-width: 1400px){
    .hero-img{
        max-width: 400px;
        width: 100%;
        height: auto;
    }
    .h2-hero-title{
        font-size: 4rem!important;
    }
}
@media screen and (max-width: 1200px){

}
/* ====== media queries ====== */
/* tablet screens */
@media screen and (max-width: 1024px){
    .h2-hero-title{
        font-size: 3.5rem!important;
    }
    .home-h3-title{
        font-size: 3rem!important;
    }
    #first-section-container{
        padding-top: 6rem!important;
    }
    .section-container{
        padding-top: 3rem;
        padding-left: 5rem;
        padding-right: 5rem;
    }
    .row {
        margin: 0!important;
    }
}
@media screen and (max-width: 992px){
    .hero-section{
        height: unset!important;
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
    .hero-text{
        margin: auto;
    }/*
    #hero-first-part{
        display: none!important;
    }*/
    #hero-first-part{
        margin-bottom: 4rem!important;
    }
    .left-hero{
        display: block!important;
        border: none!important;
    }
    .button-hero{
        margin-left: 0!important;
        margin-right: 0!important;
    }
    /* To the left */
    .hero-text{
        text-align: start;
    }
    span.like{
        margin-left: 10%;
    }
    span.post{
        margin-left: 40%;
    }

    .nightfocus-text{
        max-width: 100%;
    }
    .order-last-mobile{
        order: +1!important;
    }
    .button-mobile{
        margin-bottom: 2rem!important;
    }
}
/* little tablet screens */
@media screen and (max-width: 768px) {
    .navbar-title{
        font-size: 1.2rem!important;
    }
    .hero-section{
        height: unset!important;
        padding-top: 10rem;
        padding-bottom: 6rem;
    }
    .hero-section .m-auto{
        margin: 0!important;
    }
    
    .h2-hero-title{
        font-size: 2.5rem!important;
    }
    .background{
        /* décaler la position du fond de 50% sur la gauche */
        background-position: 40% 0;
    }
    .home-h2-title{
        font-size: 1.2rem!important;
    }
    .home-h3-title{
        font-size: 1.6rem!important;
    }
    .section-container{
        padding-top: 1.5rem;
        padding-left: 5rem;
        padding-right: 5rem;
    }
    .section-login{
        padding-top: 5.5rem;
        padding-bottom: 4rem;
    }
    .sm-row{
        margin-bottom: 1.5rem!important;
    }
    .text-container{
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .build-icons{
        width: 34px;
    }
    .ui-icons{
        font-size: 24px!important;
    }
    h2.mt-5{
        margin-top: 1.5rem!important;
    }
    h2.mb-5{
        margin-bottom: 1.5rem!important;
    }
    p.mb-5{
        margin-bottom: 0rem!important;
    }
    
}

/* mobile screens */
@media only screen and (max-width: 600px) {
    .hero-section{
        height: 70vh;
        width: 100%;
        object-fit: cover;
    }
    #first-section-container{
        padding-top: 3rem!important;
    }
    #last-section{
        padding-bottom: 4rem;
    }
    .section-container{
        padding-top: 2rem!important;
        padding-left: 0rem;
        padding-right: 1rem;
    }
    .section-login{
        padding-top: 5rem!important;
        padding-bottom: 4rem!important;
    }
    .row{
        margin-left: 0!important;
        margin-right: 0!important;
    }
    .sm-row{
        margin-bottom: 2rem!important;
    }

    .text-container{
        margin-top: 2rem!important;
        margin-bottom: 2rem!important;
    }
    .build-icons{
        width: 34px;
    }
    .ui-icons{
        font-size: 24px!important;
    }
    h2.mt-5{
        margin-top: 1.5rem!important;
    }
    h2.mb-5{
        margin-bottom: 1.5rem!important;
    }
    p.mb-5{
        margin-bottom: 0rem!important;
    }
}