
@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: inherit;
}

html {
box-sizing: border-box;
}
header {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: grid;
    place-items: center;
}
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
header::after {
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: -1;
}
body {
font-family: 'Nunito', sans-serif;
font-weight: 400;
color: #333;
display: flex;
align-items: center;
justify-content: center;
}
.container {
    width: 90%;
    display: flex;
    flex-direction: column;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card-initial {
    width: 150px;
    height: 200px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    margin: 30px;
    transition: 0.4s all;
    padding: 10px;
    border-bottom: 20px solid lightgrey;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
}

.card-initial:hover {
transform: translate(2px, 2px);
}

.card-initial a {
    color: inherit;
    text-decoration: none;
}

.border {
    height: 10px;
    background: lightgrey;
}
.image {
    height: 80%;
    text-align: center;
    object-fit: contain;
    border-radius: 3px;
    overflow: hidden;
    /* border: 2px solid black; */
}
.image > img {
    /* height: 200px; */
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    /* border: 2px solid green; */
}
.btn-back, .home {
    width: 50px;
    height: 30px;
    background: white;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    border-radius: 3px;
    transition: 0.3s all;
    margin: 0 20px;
    font-size: 2rem;
    cursor: pointer;  
    margin-top: -2px;
}
.icon {
    position: absolute;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    /* border: solid 5px rgba(206, 181, 181, 0.8); */
    background: rgba(245, 241, 241, 0.8);
    padding: 5px;
}
.icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.hidden {
    display: none;
}
.hidden-text {
    position: absolute;
    top: -10%;
    left: -50%;
    background: white;
    padding: 10px;
    width: 90%;
    border-radius: 15px;
    margin: 0 auto;
    border: 1px dashed brown;
    text-align: center;
    min-height: 80px;
}
.text {
    display: flex;
    justify-content: center;
    font-weight: bold;
}
.text-russian {
    color: red;
    font-size: 1.1rem;
}
h1 {
    margin: 20px auto;
    letter-spacing: 5px;
    color: rgb(92, 7, 126);
    font-size: 3.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 0 20px;
}

@media screen and (max-width: 1250px) {
    h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 1100px) {
    h1 {
        font-size: 2.5rem;
    }
}
@media screen and (max-width: 950px) {
    h1 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 660px) {
    h1 {
        font-size: 1rem;
    }
}