@import url("variables.css");


/* HEADER**/
.top-line{
    width: 100%;
    background-color: rgb(31, 34, 65);
}
.top-line .container{
    width: var(--width);
    max-width: var(--max-width);
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    margin: auto;
}
.top-line .container .info{
    display: flex;
    flex-direction: row;
    width: 50%;
}
.top-line .info .context{
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgb(211, 209, 209);
    margin-right: 30px;
    
}
.top-line .info .context img{
    margin-right: 10px;
}
.top-line .container .social-media{
    position: relative;
    width: 50%;
    display: flex;
    justify-content: flex-end;
}
.top-line .container .social-media ul{  
    display: flex;
    flex-direction: row;
    margin-top: 5px;
}
.top-line .container .social-media ul li{
    list-style: none;
    padding: 0 5px;
}
.top-line img{
    width: 18px;
    height: 18px;
}
nav{
    width: 100%;
    top: 70px;
    transition: top 0.5s ease-in-out;
    z-index: 11; 
    position: fixed;
    background-color: var(--color-navbar);
    box-shadow: 0px 2px 5px rgb(95, 95, 95);
}
.navbar{
    width: var(--width);
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--text-font);
    padding: 10px 0px;
    margin: auto;
}

.logo{
    height: 80px;
    width: 180px;
    transition: 0.3s ease-out;
    cursor: pointer;
    align-items: flex-start;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 45%;
    box-sizing: border-box; 
}
.nav-links li{
    list-style: none;
    margin: 0 1.5%;
}

.nav-links li a{
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: bolder;
    font-size: 12px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding: 4px 0;
    transition: 0.7s ease-out;
    color: var(--var-text);

}

.nav-links a:hover, nav .active{
    border-top: 1px solid var(--second-color);
    border-bottom: 1px solid var(--second-color);
}

.burger{
    display: none;
    cursor: pointer;
}

.burger div{
    width: 25px;
    height: 3px;
    background-color: rgb(143, 143, 143);
    margin: 5px;
    transition: all 0.3s ease;
}


/** ANIMATIONS */
@keyframes navLinksFade{
    from{
        opacity: 0;
        transform: translateX(50%);
    }
    to{
        opacity: 1;
        transform: translateX(0%);
    }
}

/***BURGBER ANIMATION*****/

.toggle .line1{
    transform: rotate(-49deg) translate(-5px,6px);
}
.toggle .line2{
    opacity: 0;
}
.toggle .line3{
    transform: rotate(45deg) translate(-5px,-6px);
}


/** --END HEADER **/


/* FOOTER   */


footer{
    background-color:  rgb(27, 26, 26);
    width: 100%;
    font-family: var(--text-font);
    color: var(--footer-text-color);
    border-top: 3px solid gray; 
    position: absolute;
}

.footer-body{
    width: var(--width);
    margin: auto;
    font-family: var(--text-font);
    font-size: 14px; 
    padding: 20px 0px;
    max-width: var(--max-width);
}

.footer-container{
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}

.footer-title{
    position: relative;
    font-size: 17px;
    text-align: left;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.footer-title p::before{
	content: '';
    position: absolute;
    bottom: 0;
    left: auto;
	width: 15%;
	height: 3px;
    background-color: var(--fourth-color);
}
.f-column{
    max-width: 400px;
    
}
.footer-column1{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.column1 .img{
    height: 60px;
    width: 200px;
    margin-bottom: 10px;
}

.footer-column1 .phrase{
    font-size: 25px;
}

.phrase strong{
    font-size: 28px;
}

.f-social-media{
    margin-top: 60px;
}
.f-social-media ul li{
    display: flex; 
}
.f-social-media ul li a{
   justify-content: left;
   margin-right: 10px;
}
.f-social-media ul li a img{
    height: 20px;
    margin: 10px;
}
.f-social-media ul li a:hover{
    background-color: rgb(122, 122, 122);
    border-radius: 10px;
}

.footer-column2 .footer-title{
    padding-left: 20px;
    margin-bottom: 25px;
}
.links-container ul{
    display: flex;
    justify-content: flex-start;
    width: 70%;
    text-align: left;
    flex-wrap: wrap;
 
}
.links-container ul li{
    list-style: none;
    margin: 10px;
}
.links-container ul li a{
    background-color: rgb(68, 68, 68);
    padding:5px;
    text-decoration: none;
    color: var(--footer-text-color);
    margin: 10px;
}
.links-container ul li a:hover{
    background-color: rgb(117, 117, 117);
}
.contacts-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-column3 .row {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-column3 .row img{ 
    margin-right: 20px;
    height: 25px;
}
.footer-copyright{
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid var(--footer-text-color);
    padding: 15px;
    font-size: 14px;
    background-color: rgb(24, 24, 24);
}


/* --END FOOTER*/



/**     responsive  **/
@media screen and (max-width:1024px){
    .nav-links{
        width: 50%;
    }
}

@media screen and (max-width: 760px){
    body{
        overflow-x: hidden;
    }   
    .top-line .container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }
    .top-line .container .info{
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    .top-line .container .social-media{
        width: 100%;
        justify-content: center;
    }
    nav{
        width: 100%;
        top: 100px;
    }
    .nav-links{
        position: absolute;
        right: 0px;
        height: 90vh;
        top: 100%;
        background-color: var(--color-navbar);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-out;
        padding-top: 1%;
        padding-bottom: 25%;
    }
    
    .nav-links li{
        opacity: 0;
    }

    .burger{
        display: block;
    }

    .logo{
        height: 90px;
        width: 190px;
        transition: 0.3s ease-in;
    }
    
    /* footer   **/
    .footer-container{
        display: block;
    }
    .f-column{
        margin-bottom: 20px;
        margin-left: 0px;
    }
    .footer-title {
        text-align: left;
        margin-left: 0px;
        margin-top: 30px;
    }
    .footer-column1 .phrase{
        font-size: 23px;
    }
    .footer-column2 .footer-title{
        padding-left: 0px;
    }
}
@media screen and (max-width: 650px){
    .top-line .container .info .context .cut{
        display: none;
    }
}
@media screen and (max-width: 460px){
    .top-line .container .info{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    nav{
        top:118px;
    }
}

.nav-active{
    transform: translateX(0%);
}
.nav-top{
    top: 0; 
}