* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
html{
    scroll-behavior: smooth;
}
::selection{
    color:yellow;
    background-color: blue;
}
body{   
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(images/main-fon.png);
    background-size:cover;
    background-position: center;
}
.menu{
    display: flex;
    width: 100%;
    height:80px;
    background: transparent;
    color:#fff;
    border-bottom: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(5px);
    font-size: 20px;
}
.menu div{
    padding: 13px 30px;
}
.logo h1 a {
    text-decoration: none;
    color: #fff;
    
}
div {

    justify-content: center;
    align-items: center;
    font-size: 22px;
}
.user a{
    display: flex;
    text-decoration: none;
    color: #fff;
}
.user p {
    font-weight: 600;
}
.user i {
    padding: 0 2px 0 0;
}
.home a{
    color:#fff;
    text-decoration: none;
    font-weight: 600;
}
.home i {
    padding: 0 2px 0 0;
}
.home a:hover{
    color:#fff;
}
.search input{
    color:#fff;
    margin-top:1px ;
    width: 300px;
    height: 40px;
    font-size: 20px;
    background: transparent;
    outline: none;
    border: none;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    transition: 0.5s ease;
    margin-right: 10px;
    border-radius: 20px;
    padding-left: 20px;
    justify-content: center;
    align-items: center;

}
.search input:hover{
    box-shadow: white 0px 3px 10px 0px;
}
.search a{
    font-weight: 600;
}

.search {
    display: flex;
    font-weight: 600;

    padding-bottom: 10px;
}


/*---------main page start ---------*/

.hello h1{
    text-align: center;
}
.hello {
    margin: 0 auto;
    margin-top: 70px;
    width: 500px;
    background: transparent;
    color: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(60px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    margin-bottom: 100px;
    
}
/*---first container ---*/

.container {
    padding-top: 0;
    margin: 0 auto;
    background-color: #fff;
    display:flex;
    color: #000000;
    width: 80%;
    height:550px;;
    margin-bottom: 150px;
    border-radius: 20px;
}
.container img{
    transform: translateX(-10%);
    scale: 0.8;
    margin-left: -50px;
    transition: 0.5s;
}
.container img:hover{
    transform: translateX(-10%);
    scale: 0.85;
    margin-left: -50px;
}
.text-to-picture-1 p{
    font-weight: 500;
    font-size: 30px;
    margin-left: -400px;
    padding-left: 100px;
    margin-right: 20px;
    
}


/*------- second conatiner ----------*/



.second-container{
    text-align: center;
    padding-top: 30px;
    margin: auto;
    width: 80%;
    border-radius: 10px;
    height: 550px;
    background-color: #fff;
}
.second-container div{
    right: 1%;
}
.second-container h3{
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
}
.many-anime{
    display: flex;
    padding-left: 50px;
}
.first-anime img{
    width: 500px;
    height: 300px;
    margin: 0;
    padding: 0;
}
.first-anime {
    flex-basis: 32%;
    width: 100%;
    margin-bottom: 30px;
    position:relative;
    overflow: hidden;
    padding: 0;
    margin-right: 20px;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top:0px;
    left: 0px;
    transition: 0.5s;

}
.layer:hover{
    background: rgba(226, 0, 0,0.7);
}
.layer h4{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h4{
    bottom: 49%;
    opacity: 1;
}
.second-anime{
    flex-basis: 32%;
   
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-right: 20px;
}
.second-anime img{
    width: 500px;
    height: 300px;
    margin: 0;
    padding: 0;
}
.third-anime{
    flex-basis: 32%;
    margin-bottom: 30px;
    position: relative;
    padding: 0;
    margin-right: 20px;
}
.third-anime img{
    width: 500px;
    height: 300px;
    margin: 0;
    padding: 0;
}


/* кнопка */

.button{
    display: flex;
    border: none;
    width: 560px;
    height:60px;
    margin: auto;
    background-color: #fff;
    border-radius: 10px;
    transition: 0.3s ease;
    margin-top: 50px;
    
}
button{
    border: none;
    background:none;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s ease;
}
.button:hover{
    transform: translateY(-10px);
    background: linear-gradient(to right, #EBE76C,#F0B86E,#ED7B7B,#836096);
    box-shadow: #fff 0px 0px 2px 4px;
    color: #fff;
}
.button:hover button{
    cursor: pointer;
    color: #fff;
}
.bx-play{
    font-size: 50px;
    justify-content: center;
    padding-top: 2px;
}


/*----------footer------*/

.footer{

    margin-bottom: 30px;
    background-color: transparent;
    height: 150px;
    width: 100%;
    margin-top: 100px;
    border-bottom: 2px  solid rgb(255, 255, 255);
    border-top: 2px  solid rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
}
.footer p{
    padding-top: 30px;
    text-align: center;
}
.links {
    display: inline-block;
    font-size: 40px;
}
.footer i{
    color: yellow;
    padding: 25px 10px  0;
}
.sources-center{
    text-align: center;
}
.footer i:hover{
    animation: hue-rotating 2s linear infinite;
}

@keyframes hue-rotating{
    0%{
        filter: hue-rotate(0deg);
    }
    100%{
        filter: hue-rotate(360deg);
    }
}
