@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;500&display=swap');

*{
    font-family: 'Josefin Sans', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
header{
    position: fixed;
    background: rgba(255, 255, 255, .1);
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    background-color: rgba(47, 0, 255, 0.842);
}
header .brand{
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}
header .navigation{
     position: relative;

}
header .navigation a{
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    margin-left: 30px;
    transition: .5s ease;
}
header .navigation a:hover{
    color: black;
    background-color: crimson;
    border-radius: 10px;
    padding: 5px;
}
section{
    padding: 100px;
    height: 100vh;
}
.main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(./bg-img1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.main .content{
    max-width: 800px;
}
.main .content h2{
    color: #fff;
    font-size: 36px;
    font-weight: 500;
}
.main .content h2 span{
    font-size: 60px;
    font-weight: 600;
}
.animated-text{
    height: 70px;
    overflow: hidden;
    position: relative;
}
.animated-text h3{
color: aqua;
font-size: 52px;
font-weight: 700;
line-height: 70px;
letter-spacing: 1px;     
}
.animated-text h3:nth-child(1){
    animation: text-move 10s infinite 
}
@keyframes text-move {
    0%{
        margin-top: 0;
    }
    25%{
        margin-top: -70px;
    }
    50%{
        margin-top: -140px;
    }
    75%{
        margin-top: -70px;
    }
    100%{
        margin-top: 0;
    }
}
.btn{
    color: #fff;
    background-color: crimson;
    font-size: 17px;
    font-weight: 600;
    display: inline-block;
    padding:8px 20px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    margin: 8px;
    transition: .5s ease;
}
.btn:hover{
 border-radius: 10px;
 color: aqua;
 padding: 10px 30px;
}
.section-btn:hover{
    background-color: crimson;
    color: #fff;
    border-radius: 10px;
    padding:8px 30px;
    box-shadow: 0px 0px 0px black, 0px 0px 5px black;
}
.media-icons a{
    color: #fff;
    font-size: 25px;
    margin-right: 30px;
}

/* end main styling */
/* start youtube section styling */

.title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.section-title{
    position: relative;
    color: rgb(255, 255, 255);
    font-size: 38px;
    font-weight: 800;
    margin-top: 2px;
    background: red;
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
}
.col-left{
    position: relative;
    top: 3px;
    left: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(0, 255, 255, 0.502);
    border-radius: 10px;
    box-shadow: 0px 0px 0px black, 0px 0px 20px black;
}
.img-card img{
    width: 280px;
    height: 280px;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50% ,-50%);
}
.content{
    display: inline-block;
    position: relative;
    width: 400px;
    height: 400px;
    margin-top: 15px;
}
.content-title{
    right: 1px;
    padding: 15px;
    display: inline-block;
}
.section-lorem{
    display: inline-block;
    width: 740px;
    height: 400px;
    margin-top: 1px;
}
.videos{
    width: 400px;
    height: 350px;
    margin: 15px;
    margin-top: 100px;
    display: inline-block;
}
.prevyu img{
    height: 230px;
    border-radius: 20px;
    margin: 5px;
    transition: 0.5s ease;
}
.prevyu img:hover{
    box-shadow: 0px 0px 10px black, 0px 0px 20px black;
}
.section-content-title{
    position: relative;
    color: rgb(255, 255, 255);
    font-size: 38px;
    font-weight: 800;
    background: red;
    padding: 8px 1px;
    margin: 0 auto;
    border-radius: 5px;
}
.video-title{
    text-align: center;
    font-size: 25px;
}
.video-btn p{
    padding: 5px;
    background-color: crimson;
    display: inline-block;
    font-size: 20px;
    border-radius: 10px;
    color: #fff;
    transition: 0.5s ease;
}
.video-btn {
    margin: 5px;
    text-align: center;
}
.video-btn p:hover{
    background-color: rgb(255, 255, 255);
    color: crimson;
}
.content-section{
    width: 100%;
    margin: 0 auto;
    height: 100vh;
}

/* content section styling end */
/* start of about styling */
.about{
    width: 95%;}
.image img{
    width: 300px;
    height: 300px;
    border-radius: 5px;
    position: absolute;
    right: 6%;
    margin-top: -200px;
}
.about-text{
  margin-top: 100px;
  text-align: center;
  font-size: 20px;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: white;
}
.box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;  
    overflow: hidden;
    border-radius: 20px;
    margin-top: -150px;
}
.box::before{
    content: '';
    position: absolute;
    width: 150px;
    height: 350%;
    background: linear-gradient(#00ccff,#d400d4 );
    animation: animate 4s linear infinite;
}
.box::after{
    content: '';
    position: absolute;
    background: #fff;
    inset: 4px;
    border-radius: 16px;
}
@keyframes animate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
.box .text{
    color:black;
    
    position: relative;
    z-index: 10;
}
.box p{
    width: 98%;
    height: 98%;
}
.container{
    display: grid;
    grid-template-columns: 70% 30%;
}


/* start - official pages */
.pages-images{
    width: 350px;
    height: 400px;
    margin: 20px;
    margin-top: 100px;
    display: inline-block;
}
.images img{
    width: 350px;
    height: 350px;
    margin-top: -60px;
}
.pages-text{
    text-align: center;
    font-size: 30px;
}
.instagram p{
    display: inline-block;
    padding: 5px 15px;   
    border-radius: 10px;
    transition: 0.5s ease;
    margin: 5px;    
    cursor: pointer;
    background: linear-gradient( to left, rgb(255, 204, 0) ,  rgb(255, 0, 8));
}
.instagram{
    text-align: center;
    position: absolute;
    left: 13%;
}
.instagram p:hover{
    background: linear-gradient( to left, rgb(255, 0, 8) , rgb(255, 204, 0) );
}
.Telegram p{
    display: inline-block;
    padding: 5px 15px;   
    border-radius: 10px;
    transition: 0.5s ease;
    margin: 5px; 
       cursor: pointer;
    background: linear-gradient( to left, rgb(255, 255, 255) ,  rgb(0, 179, 255));
}
.Telegram{
    text-align: center;
    position: absolute;
    left: 41%;
}
.Telegram p:hover{
    background: linear-gradient( to left, rgb(0, 179, 255) , rgb(255, 255, 255) );
}
.tg-img{
    width: 300px;
    height: 300px;
    margin-top: -60px;
}
.youtube-i p{
    display: inline-block;
    padding: 5px 15px;   
    border-radius: 10px;
    transition: 0.5s ease;
    margin: 5px;  
    cursor: pointer;  
    background: linear-gradient( to left, rgb(255, 0, 0) ,  rgb(255, 255, 255));
}
.youtube-i{
    position: absolute;
    left: 68%;
    margin: 5px;    
}
.youtube-i p:hover{
    background: linear-gradient( to left, rgb(255, 255, 255) , rgb(255, 0, 0) );
}
/* 
strat inputs */
.inputlar{
    margin-top: 50px;
}
textarea{
    position: relative;
    left: 10%;
    margin: 10px;
    padding: 10px 300px;
}
input{
    position: relative;
    left: 10%;
    margin: 10px;
    padding: 10px 300px;
}
@media only screen and (max-width: 800px){
    .navigation{
        display: none;
    }
    .section-lorem{
    display: none;
    }
    hr{
        display: none;
    }
    .section-title{
        margin-top: 45px;
    }
    .videos{
        display: grid;
        grid-template-columns: repeat(1 ,1fr);
        margin: 2rem 0;
        position: relative;
        left: -18%;
    }
    .box{
        display: none;
    }
    .about {
        display: none;
    }
    .official-pages{
        margin-top: 520px;
    }
    .pages-images{
        position: relative;
        left: -10%;
    }
    .pages-btn{
        position: relative;
        left: 3%;
    }
    .sending{
        margin-top: 1000px;
    }
    .sending .section-title{
        font-size: 20px;
    }
    .inputlar{
        
        padding: 0;
        
    }
    input{
        padding: 10px 100px;
    }
    textarea{
        padding:10px 100px;
    }
}