/***************************
            MAIN.CSS
****************************/
/***************************
    CUSTOM SCROLL BAR
****************************/
*, html{
    scroll-behavior: smooth;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root{
    --white:#FFF;
    --black:#000;
    --lite:rgba(255,255,255,0.6);
    --gray:rgba(1,1,1,0.6);
    --dark:#121212;
    --primary:#f97008;
    --primary_dark:;
    --primary_lite:;
    --default_font:'Nunito Sans', sans-serif;
    --title_font:'Nunito Sans', sans-serif;
}

::-webkit-scrollbar {
    height: 12px;
    width: 4px;
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: gray;
    -webkit-box-shadow: 0px 1px 2px var(--dark);
}

::-webkit-scrollbar-corner {
    background: var(--dark);
}





/***************************
            DEFAULT
****************************/
body{
    margin:0;
    overflow-x:hidden !important;
    font-family: var(--default_font);
}

a{
    text-decoration:none !important;
    min-width: fit-content;
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
}

a, button{
    transition:0.5s;
}

a:hover, .active, .active_sub_link, .btn{
    opacity:1;
}

em{
    font-style:normal;
    color:var(--primary);
}

figure{
    padding:0;
    margin:0;
    pointer-events:none;
}

figure img{
    width:100%;
    height:100%;
}

a, p, .btn{
    font-size:15px;
}

p{
    line-height:1.9em;
    opacity:0.6;
}

a, button, input, textarea, select{
    outline:none !important;
}

fieldset{
    border:0;
}

ul{
    padding:0;
    margin:0;
}

li{
    list-style:none;
}

.title, .sub_title{
    font-family:var(--title_font);
    font-weight:700;
}

.flex, .fixed_flex{
    display:flex;
}

.flex_content{
    width:100%;
    position:relative;
}

.grid{
    display:grid;
}

.padding_1x{
    padding:1rem;
}

.padding_2x{
    padding:2rem;
}

.padding_3x{
    padding:3rem;
}

.padding_4x{
    padding:4rem;
}

.big{
    font-size:3.5em;
}

.medium{
    font-size:2em;
}

.small{
    font-size:1.3em;
}

.btn{
    padding:0.8rem 1rem;
    border-radius:5px;
    position:relative;
    border:0;
    text-align:center;
}

.btn_1{
    background:var(--primary);
    color:var(--white);
}

.btn_2{
    background-color:var(--white);
    color:var(--dark);
}

.btn_1:hover, .btn_2:hover{
    opacity:0.6;
}

.btn_3{
    display:block;
    background-color:0;
    color:var(--white);
    position:relative;
    font-family:var(--default_font);
    font-weight:400;
    text-transform:uppercase;
}

.btn_3:before{
    content:"";
    border-radius:50%;
    background-color:rgba(255,255,255,0.2);
    position:absolute;
    left:0;
    top:50%;
    width:50px;
    height:50px;
    transition:0.5s;
    transform:translate(0%, -50%);
}

.btn_3:after{
    content:"\f178";
    font-family:"FontAwesome";
    margin-left:5px;
}

.btn_3:hover:before{
    border-radius:40px;
    width:100%;
}

.btn_4{
    background-color:transparent;
    border:1px solid var(--white);
    color:var(--white);
}

.btn_4:hover{
    background-color:var(--white);
    color:var(--primary);
}

.divisions{
    position:relative;
}

.title_header{
    margin:auto;
    text-align:center;
    width:60%;
}

.ball{
    position:relative;
}

.ball:before{
    content:"";
    border-radius:50%;
    background-color:rgba(1,1,1,0.2);
    position:absolute;
    left:0;
    top:30%;
    width:30px;
    height:30px;  
    transform:translate(-50%, -50%);
}

.link-tag{
    position:relative;
}

.link-tag:before{
    content:"\f0da";
    font-family:"FontAwesome";
    margin-right:5px;
    transition:0.5s;
    color:var(--primary_dark);
}

.link-tag:hover:before{
    margin-right:10px;
    color:inherit;
}

.link-tag:hover{
    color:var(--primary);
}

.buttons{
    align-items:center;
}

.buttons .btn:not(:last-child){
    margin-right:10px;
}

@media (max-width:1000px){
     .big{
        font-size:1.8em;
    }
    
    .medium{
        font-size:1.5em;
    }
    
    .small{
        font-size:1.1em;
    }
    
    .btn{
        padding:0.5rem 1rem;
    }
    
    a, p, .btn{
        font-size:12px;
    }
}

@media (max-width:620px){
    .flex{
        flex-wrap:wrap;
    }
    
    .padding_1x, .padding_2x, .padding_3x, .padding_4x{
        padding:1rem;
    }
    
    .btn_3:before{
        width:40px;
        height:40px;
    }
    
    .title_header{
        width:100%;
    }
}




/***************************
      CUSTOM  LOGO
****************************/
.logo{
    /* max-width:200px; */
    font-weight:800;
    padding:1rem;
    align-items:center;
    pointer-events:none;
}

.logo img{
    width:50px;
    margin-right:10px;
}

.logo .title, .logo .sub_title{
    margin:0;
}

.logo .title{
    font-size:1em;
    line-height:0.8
}

.logo .sub_title{
    font-size:0.6em;
}

@media (max-width:620px){
    .logo img{
        width:30px;
    }
    
    .logo .title{
        font-size:0.8em
    }
    
    .logo .sub_title{
        font-size:0.6em;
    }
}



/***************************
               NAV
****************************/
nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background-color:transparent;
    box-shadow:0;
    color:var(--white);
    padding:0 3rem;
    transition:0.5s;
    z-index:9;
}

.nav-active{
    background-color:var(--dark);
    box-shadow:0px 6px 16px -6px var(--gray);
}

nav{
    justify-content:space-between;
}

nav, nav ul{
    align-items:center;
}

nav a{
    white-space:nowrap;
    color:var(--white);
    opacity:0.7;
    margin:0 1.3rem;
    font-weight:600;
}

@media (max-width:920px){
    nav{
        padding:0 0rem;
    }
    
    nav ul{
        width:200px;
        height:100%;
        position:fixed;
        top:0;
        left:-100%;
        background-color:var(--dark);
        display:block !important; 
        overflow:hidden;
        transition:0.5s;
    }
    
    nav ul li{
        width:100%;
        margin:2rem 0;
    }
    
    nav a{
        margin:0rem 1rem;
        font-size:18px;
        position:relative;
    }
    
    nav .active, nav .active_sub_link{   
        padding-left:1rem;
    }
    
    nav a:before{
        transition:1.5s;
    }
    
    nav .active:before, nav .active_sub_link:before{
        content:"";
        width:8px;
        height:2px;
        background-color:var(--white);
        position:absolute;
        left:0;
        top:50%;
        transform:translate(0%, -50%);
    }
    
    nav .ham:before{
        width:0px !important;
    }
    
    nav .active_sub_link:before{
        width:2px;
        background-color:var(--primary) !important;
    }
    
    .ham{
        position:absolute;
        top:0.8rem;
        right:0rem;
        font-size:25px;
        color:var(--white);
        padding-left:0 !Important;
    }
}




/***************************
            FOOTER
****************************/
footer{
    width:100%;
    color:var(--dark);
}

footer section{
    align-items:center;
    justify-content:center;
}

footer section a{
    color:var(--dark);
    margin:0 20px;
    opacity:0.6;
}

@media (max-width:620px){
    footer{
        background-color:var(--dark);
         color:var(--white);
    }
    
    footer section{
        justify-content:left;
        display:block !important; 
        padding:0 1rem;
    }
    
    footer section:nth-child(2) a{
        display:block;
    }
    
    footer section a{   
        margin:10px 0;
        color:var(--white);
        margin-right:10px;
    }
    
    footer section:last-child{
        padding-bottom:1rem;
    }
}


/***************************
           ADDITIONAL
****************************/
.cookie{
    position:fixed;
    bottom:1rem;
    right:1rem;
    z-index:11;
    box-shadow:0px 6px 16px -6px var(--gray);
    border-radius:10px;
    border:2px solid var(--gray);
    background-color:var(--dark);
    color:var(--white);
    padding:0.5rem 1rem;
    max-width:350px;
}

.cookie .close{
    position:absolute;
    top:5px;
    right:-5px;
    color:var(--white);
}

.cookie iconify-icon{
    font-size:20px;
    margin-right:10px;
    
}

.cookie .title{
    margin:0;
    align-items:center;
}

.cookie p, .cookie .btn, .cookie p a{
    font-size:11px;
}

.cookie p a{
    color:var(--primary);
}

.cookie .buttons{
    justify-content:space-between;
}

.cookie .btn{
    padding:0.5rem 1rem;
    display:block;
}

/*OVERLAY*/
.overlay{
    position:fixed;
    top:0;
    left:0;
    background-color:var(--gray);
    width:100%;
    height:100%;
    z-index:1;
    transition:0.5s;
}



/***************************
         ANIMATE.CSS
****************************/
/*Animated bar*/
.bar{
    display:block;
    height: 5px;
    width: 100px;
    background: var(--primary);
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px auto 20px 0;
}

.bar:before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--white);
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: MOVE-BG;
    animation-name: MOVE-BG;
}

@keyframes MOVE-BG{
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(105px);
        transform: translateX(105px);
    }
}

/*ROTATE*/
@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}



/***************************
         HOME.CSS
****************************/
/***************************
         HEADER
****************************/
header{
    width:100%;
    background:linear-gradient(to right, rgba(1,1,1,0.9) 10%, rgba(1,1,1,0.6) 50%, rgba(1,1,1,0.4) 100%), url("https://www.hublot.com/sites/default/files/styles/global_laptop_1x/public/2020-11/e-warranty-hublot-3_0.jpg?itok=GhUa1LfS");
    background-size:cover;
    background-position:center;
    color:var(--white);
    flex-wrap:wrap;
}

header article{
    padding:6rem 2rem;
    flex: 0 0 60%;
}

header article .title{
    margin:0.5em 0;
}

header article .btn_3:after{
    content:"\f0f4";
}

@media (max-width:920px){
    header article{
        flex: 0 0 100%;
        padding:6rem 0rem;
    }
}



/***************************
             MAIN
****************************/
main{
    width:100%;
    border-top:3px solid var(--primary);
}

/*DIVISION_1*/
.division_1{
    background-color:var(--dark);
    color:var(--white);
}

.division_1 article{
    transition:0.5s;
}

.division_1 article:nth-child(1){
    background-color:#121212;
}

.division_1 article:nth-child(2){
    background-color:#282828;
}

.division_1 article .link-tag{
    color:var(--primary);
}


/*DIVISION_2*/
.division_2{
    align-items:center;
}

.division_2 article .title{
    color:var(--dark);
}

.division_2 figure{
    width:auto;
}


/*DIVISION_3*/
.division_3{
    padding:0 4rem;
}

.division_3 section{
    margin:auto;
    border-radius:20px;
    background-color:var(--primary);
    color:var(--white);
    align-items:center;
    justify-content:space-between;
    position:relative;
    overflow:hidden;
}

.division_3 section:before{
    content:"";
    position:absolute;
    left:-50px;
    top:-50px;
    width:150px;
    height:150px;
    background-color:rgba(1,1,1,0.1);
    border-radius:100px;
}

.division_3 section .btn_2{
    color:var(--primary);
}

@media (max-width:920px){
    .division_3 section{
        border-radius:0;
        text-align:center;
    }
    
    .division_3 .buttons{
        justify-content:center;
        align-items:center;
        width:100%;
    }
}

@media (max-width:920px){
    .divisions{
        padding:0 !important;
    }
}