/* --------------
fonts
------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Virables */
:root{
    --main-color:#e02f6b;
    --blue:#0000ff;
    --blue-dark:#18293c;
    --orange:#ffa500;
    --grenn-yellow:#cddc39;
    --pink-light:#efa2b4;
    --cyan-light:#aef1ee;
    --white:#ffffff;
    --white-alpha-40:rgba(255,255,255,0.40);    
    --white-alpha-25:rgba(255,255,255,0.25);
    --backdrop-filter-blur:blur(5px);    
    --width-potrfolio-item:calc((100%/3)-30px); 
    --navbar-size:calc(100vh-70px);
}

/* Global setting */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
}
::before,
::after{     
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    background: linear-gradient(to bottom right, var(--pink-light),var(--cyan-light));
    background-attachment: fixed;
    font-size: 16px;
    color:var(--blue-dark);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-tap-highlight-color:transparent;
    padding: 5vh 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}
body.hide-scrolling{
    overflow-y: hidden;
}
h1,h2{
    font-weight: 600;
}
h3,h4,h5,h6{
    font-weight: 500 ;
}
ul{
    list-style: none;
}
body::before{
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--grenn-yellow);
    z-index: -1;
    opacity: 0.12;
}
a{
    text-decoration: none;
}
img{
    max-width: 100%;
    vertical-align: middle;
}
section{
    background: var(--white-alpha-25);
    border: 1px solid var(--white-alpha-40);
    min-height: 90vh;
    border-radius:30px;
    backdrop-filter:var(--backdrop-filter-blur);
    display: none;
}
section.active{
    display: block;
}
section.fade-out{
    animation: faduOut 0.5s ease-in-out forwards;
}
main{
    max-width: 1200px;
    margin:auto;
    position: relative;
}
main.fade-out{
    opacity: 0;
}
.container{
    padding: 40px;
    width: 100%;
}
.row{
    display:flex;
    flex-wrap: wrap;
}
.flex-end{
    justify-content: flex-end;
}
.align-items-center{
    align-items: center;
}
.hidden{
    display:none !important;
}
/* section titel */
.sec-padding{
    padding: 80px 0;
}
.section-titel{
    padding:0 15px;
    width: 100%;
    text-align: center;
}
.section-titel h2{
    font-size: 40px;
    text-transform: capitalize;
    margin: 0 0 30px;
}
/* Animation keyframes */
@keyframes faduOut{
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}
@keyframes zoomInOut{
    0%,100%{
        transform: scale(0.5);
    }
    50%{
        transform: scale(1);
    }
}
@keyframes bounce {
    0%,100%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(80px);
    }
}
@keyframes pageLoader {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
/* Page loader */
.page-loader{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--white-alpha-25);
    backdrop-filter: var(--backdrop-filter-blur); 
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}
.page-loader div{
    border: 2px solid transparent;
    border-radius: 50%;
    position: absolute;
    opacity: 0.6;
    border-top-color: transparent !important ;
    border-bottom-color: transparent !important;
    animation: pageLoader 1s linear infinite;
}
.page-loader .fade-out{
    opacity: 0;
}
.page-loader div:nth-child(1){
    width: 60px;
    height: 60px;   
    border-color: var(--main-color);
}
.page-loader div:nth-child(2){
    width: 45px;
    height: 45px;   
    border-color: var(--blue);
    animation-duration: 1.2s;
}
.page-loader div:nth-child(3){
    width: 30px;
    height: 30px;   
    border-color: var(--orange);
    animation-duration: 1.5s;
}
/* Overlay */
.overlay{
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 200;
    opacity: 0.5;
    visibility: hidden;
}
.overlay.active{
    visibility: visible;
}
/* CustomScrollbar */
::-webkit-scrollbar{
    width: 5px;
}
::-webkit-scrollbar-track{
    background-color: var(--white);
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}
/* Buttons */
button{
    font-family: inherit;
    user-select: none;
}
.btn{
    line-height: 1.5;
    background-color: var(--white-alpha-25);
    padding: 10px 28px;
    display: inline-block;
    border-radius: 30px;
    color: var(--main-color);
    font-weight: 500;
    text-transform: capitalize;
    border: solid var(--white-alpha-40);
    font-family: inherit;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow:hidden;
    vertical-align: middle;
    transition: 0.5s ease;
}
.btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--main-color);
   z-index: -1;
   transition: 0.5s ease;
}
.btn:hover::before{
    width: 100%;
}
.btn:hover{
    color: var(--white);
}
/* ------------------
circle------------ */
.bg-circles{
    position: fixed;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
}
.bg-circles div{
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}
.bg-circles .circle-1{
    width: 60px;
    height: 60px;
    top: 10%;
    left: 5%;
    background-color: var(--blue);
    opacity: 0.3;
    animation: zoomInOut 8s linear  infinite;
}
.bg-circles .circle-2{
    width: 80px;
    height: 80px;
    top: 40%;
    left: 35%;
    background-color: var(--main-color);
    opacity: 0.4;
    animation: bounce 5s linear infinite;
}
.bg-circles .circle-3{
    width: 50px;
    height: 50px;
    top: 70%;
    left:-25px;
    background-color: var(--orange);
    opacity: 0.5;
}
.bg-circles .circle-4{
    width: 100px;
    height: 100px;
    top: 40%;
    right: -50px;
    background-color: var(--white);
    opacity:0.6;
}
/* circle end------------ */ 
/*-------------------
 Header start 
 ---------------------*/
 .header{
     position: absolute;
     left: 0;
     top: 0;
     width: 100%;
     z-index: 100;
     
 }
 .header .container{
     padding: 20px 40px;
 }
 .header .nav-toggler{
     width: 50px;
     height: 50px;
     border: none;
     border-radius: 50%;
     background-color: var(--white-alpha-25);
     border: 1px solid var(--white-alpha-40);
     cursor: pointer;
     display: flex;
     justify-content: center;
     align-items:center;
     z-index: 100;
     transition: opacity 0.5s ease-in-out;
 }
 .header .nav-toggler .hide{
     opacity: 0;
     transition: none;
 }
 .header .nav-toggler span{
     width: 24px;
     height: 2px;
     background-color: var(--main-color);
     position: relative;
 }
 .header.active .nav-toggler span{
    background-color: transparent;
 }
 .header .nav-toggler span::before,
 .header .nav-toggler span::after{
     content: '';
     position: absolute;
     width: 100%;
     height: 100%;
     background-color: var(--main-color);
     top: 0;
     transition: 0.2s ease;
 }
 .header .nav-toggler span::before{
     left: 0;
     transform: translateY(-8px);
 }
 .header .nav-toggler span::after{
     right:  0;
     transform: translateY(8px);
 }
 .header:not(.active) .nav-toggler:hover span::before,
 .header:not(.active) .nav-toggler:hover span::after{
     width: 50%;
 }
 .header.active .nav-toggler span::before{
     transform: rotate(45deg);
 }
 .header.active .nav-toggler span::after{
    transform: rotate(-45deg);
}
.header .nav{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 35px 15px;
    visibility: hidden;
}
.header.active .nav{
    visibility: visible;
}
 .header .nav-inner {
     padding: 50px 0;
     height: 90vh ;
     display: flex;
     justify-content: center;
     align-items: center;
     max-width: 1200px;
     margin:auto;
     border: solid var(--white-alpha-40);
     background-color: var(--white-alpha-25);
     backdrop-filter: var(--backdrop-filter-blur);/* Filterni o`ziga xos ususli uni tanlangandaortga hiralashgab filtr qo`yiladi ekan*/
     border-radius: 30px;
     opacity: 0;
     transition: 0.5s ease;
 }
 .header.active .nav-inner{
     opacity: 1;
 }
 .header .nav-inner ul li{
     text-align: center;
 }
 .header .nav-inner ul li a{
     text-transform: capitalize;
     color: var(--blue-dark);
     font-size: 40px;
     font-weight: 500;
     padding: 8px 15px;
     transition: color 0.3s ease;
     position: relative;
 }
 .header .nav-inner ul li a:hover{
     color: var(--main-color);
 }
 .header .nav-inner ul li a::before{
     content: '';
     position:absolute;
     height: 50%;
     width: 0%;
     bottom: 0;
     right: 0;
     background-color: var(--white-alpha-40);
     transition: width 0.5s ease;
     z-index: -1;
 }
 .header .nav-inner ul li a:hover::before{
     width: 100%;
 }
 /*-------------------
 header end 
 ---------------------*/
 /*-------------------
 Home section start 
 ---------------------*/
 .home-section{
  
     padding: 120px 0;
 }
 .home-section .active{
    display: flex;
 }
 .home-text p{
     font-size: 18px;
 }
 .home-text h1{
     font-size: 50px;
     text-transform: capitalize;
 }
 .home-text h2{
    font-size: 20px;
    text-transform:capitalize;
    font-weight: 300 !important;
    margin: 0 0 30px;
 }
 .home-text .btn{
     margin:  15px 15px 0;
 }
.home-text,.home-img{
    width: 50%;
    padding: 15px;
}
.home-img .img-box{
    max-width: 360px;
    background-color: var(--white-alpha-25);
    border-radius: 50%;
    border:8px solid var(--white-alpha-40);
    margin: auto;  
}
.home-img .img-box img{
    width: 100%;
    border-radius: 50%;
}
/*-------------------
 Home section end 
 ------------------*/
 .about-img{
    width: 40%;
    padding: 0 15px;
 }
 .about-text{
     width: 60%;
     padding: 0 15px;
 }
 .about-img .img-box{
    max-width: 380px;
    background-color: var(--white-alpha-25);
    border: 1px solid var(--white-alpha-40);
    border-radius:10px;
 }
.about-img .img-box img{
    width: 100%;
}
.about-text h3{
    text-transform: capitalize;
    font-size: 20px;
    margin: 20px 0;
}
.skills{
    flex-wrap: wrap;
}
.skills-item{
    padding: 5px 15px;
    background-color: var(--white-alpha-25);
    border: solid var(--white-alpha-40);
    border-radius: 20px;
    text-transform: capitalize;
    margin: 0 10px 10px 0;
}
.about-tabs{
    margin-top: 20px;
}
.about-tabs .tab-item{
    padding: 2px 0;
    background-color: transparent;
    border: none;
    text-transform: capitalize;
    display: inline-block;
    color: var(--blue-dark);
    font-size: 20px;
    cursor:pointer;
    font-weight: 500;
    margin: 0 30px 0 0;
    position: relative;
}
.about-tabs .tab-item:last-child{
    margin: 0;
}
.about-tabs .tab-item::before{
    content: '';
    position: absolute;
    width: 0%;
    left: 0;
    bottom: 0;
    height: 1px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}
.about-tabs .tab-item:hover::before{
    width: 100%;
}
.about-tabs .tab-item.active::before{
    width: 100%;
    background-color: var(--main-color);
}
.about-tabs .tab-item.active{
    color: var(--main-color);
    opacity: 1;
    cursor: auto;
}
.about-text .timeline{
    position: relative;
}
.about-text .timeline::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    left: 5px;
    top: 5px;
    background-color: var(--main-color);
}
.about-text .tab-content{
    padding: 40px 0;
}
.about-text .tab-content{
    display: none;
}
.about-text .tab-content.active{
    display: block;
}
.about-text .timeline-item{
    margin-bottom: 30px;
    position: relative;
    padding: 10px 0 0 40px;
}
.about-text .timeline-item::before{
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    background-color: var(--main-color);
    border-radius: 50%;
    left: 0;
    top: 16px;
}
.about-text .timeline-item:last-child{
    margin-bottom: 0;
}
.about-text .timeline-item .data{
    display: block;
    color: var(--main-color);
    font-weight: 400;
    margin: 0 0 10px;
}
.about-text .timeline-item h4{
    font-size: 18px;
    text-transform: capitalize;
    margin: 0 0 10px;
}
.about-text .timeline-item h4 span{
    font-weight: 400;
}
.container .row .btn{
    margin: 20px 20px 0;
}
/*----------------
Portfolio section
----------------*/
.portfolio-item{
    flex: 0 0 29%;
    margin: 0 15px 30px;
}
.pp-header .btn{
    transition: 0.001s ease-in ;
}
.portfolio-item-thumbnail{
    padding: 10px;
    background-color: var(--white-alpha-25);
    border: solid var(--white-alpha-40);
    border-radius: 10px;
}
.portfolio-item-thumbnail img{
    width: 100%;
    border-radius: 10px;
}
.portfolio-item h3{
    text-transform: capitalize;
    font-size: 20px;
    margin: 20px 0;
}
.portfolio-item-detalies{
    display: none;
}
/* Portfolio popup */
.portfolio-popup{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    visibility: hidden;
    
}
.portfolio-popup.open{
    overflow-y: auto;
    visibility: visible;
 }
.pp-inner{
    min-height: 100vh;
    padding: 40px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-content{
    background-color: var(--white-alpha-25);
    padding: 30px;
    border-radius: 30px;
    max-width: 900px;
    width: 100%;
    border:solid var(--white-alpha-40);
    backdrop-filter: var(--backdrop-filter-blur);
    transform: scale(0.9);
}
.portfolio-popup.open.pp-content{
    transform: scale(1);
    transition: all 0.5s ease;
}
.pp-header{
    position: relative;
}
.pp-header h3{
    font-size: 25px;
    text-transform: capitalize;
    margin: 20px 0 15px;
}
.pp-header .btn{
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -40px;
    right: -40px;
    padding: 0!important;
}
.pp-body .description{
    margin-bottom: 20px;
}
.pp-body .general-info li{
    margin-bottom: 10px;
    font-weight: 550;
    text-transform: capitalize;
}
.pp-body .general-info li span{
    font-weight: 300;
}
.pp-body .general-info li span a{
    text-transform: lowercase;
    color: var(--main-color);
}
/* Contact */
.contact-form,.contact-info{
    width: 50%;
    padding: 0 15px;
}
.contact-form .input-group{
    width: 100%;
    margin-bottom: 30px;
}
.contact-form .input-control::placeholder{
    color: var(--blue-dark);
    font-weight: 300;
    opacity: 0.8;
}
.contact-form .input-control{
    display: block;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 25px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    padding: 0 20px;
    background-color: var(--white-alpha-25);
    border: solid transparent;
    color: var(--blue-dark);    
}
.contact-form textarea.input-control{
    height: 120px;
    padding-top: 15px;
    resize: none;
}
.contact-info .contact-info-item{
    width:100%;
    margin: 0 0 25px;
}
.contact-info-item h3{
    font-weight: 500;
    font-size: 20px;
    text-transform: capitalize;
    margin: 0 0 5px;
}
.social-links {
    display: flex;
    flex-wrap:wrap;
}
.social-links a{
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
    width: 40px;
    height: 40px;
    background-color: var(--white-alpha-25);
    border-radius: 50%;
    color: var(--main-color);
    margin-left: 15px;
    transition: 0.5s ease;
    border: solid var(--white-alpha-40);
}
.social-links a:hover{
    color: var(--white);
    background-color: var(--main-color);
}

/* Responsive */
@media(max-width:991px){
    .container{
        padding: 0;
    }
    .home-text,
    .home-img{
        width: 100%;
    }
    .home-text{
        text-align: center;
    }
    .home-img{
        order: -1;
    }
    .home-img .img-box{
        max-width: 300px;
    }
    .home-text .btn{
        margin: 0 7px 15px;
    }
}
@media(max-width:767px){
    .about-img,
    .about-text,.contact-info, .contact-form
    {
        width: 100%;
    }
    .about-img .img-box{
        margin: 0 auto;
    }
    .about-text{
        margin-top: 30px;
    }
    .about-text a{
        margin: 0 auto;
    }
    .portfolio-item{
        flex: 0 0 95%;
    }
    .container .row .btn {
        margin: 0 0 20px;
    }
    .contact-info{
        order: -1;
    }
    .contact-info-item a{
        margin: 0 15px 10px;
    }
}
@media(max-width:574px){
    
    .home-text h1{
        font-size: 30px;
    }
    .home-text h2{
        font-size: 18px;
    }
    .section-titel h2{
        font-size: 30px;
    }
    .portfolio-item{
        flex: 0 0 95%;
    }
    .section-titel h2{
        margin-top: 80px;
        font-size: 25px;
    }
    .pp-header h3{
        font-size: 20px;
    }
    .portfolio-item{
        margin: 0 auto;
    }
}
