* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Растягивается, чтобы занять пространство */
}

body::-webkit-scrollbar {
    width: 15px; /* Ширина всего элемента навигации */
}
  
body::-webkit-scrollbar-track {
    background: #fff; /* Цвет дорожки */
}
  
body::-webkit-scrollbar-thumb {
    background-color: #53B5C5; /* Цвет бегунка */
    border-radius: 20px; /* Округление бегунка */
    border: 0.1px solid #4fadbc; /* Оформление границ бегунка */
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-bar input {
    flex: 1;
    margin-top: 8rem;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-bar button {
    padding: 0.7rem;
    cursor: pointer;
    background-color: #53b5c5;
    border: none;
    color: white;
    border-radius: 4px;
    margin-top: 8rem;
}

.no-results {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-top: 5rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    position: fixed;
    z-index: 900;
    width: 100%;
}

.logo img {
    height: 60px;
    margin-left: 20px;
    margin-bottom: -15px;
}
header nav {
    display: flex;
    width: 60vw;
    justify-content: flex-end;
}
header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 20px;
}
header nav li{
    box-sizing: border-box;
}
header nav a {
    text-decoration: none;
    /* text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2); */
    color: #474747;
    font-weight: 900;
    display: flex;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 0.6rem;
    font-size: 1.2rem;
}
header nav li:hover a {
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.15);
}
header nav li > a.menugames:after{
    content: " ";  
    background: url(img/oui_arrow-up_black.png) no-repeat center center;
    width: 1rem;
    height: 1rem;
    display: block;
    
}

header nav li:hover{
    /*border: 5px;
    border-color: #53B5C5;
    background-color: #E5F4F7;
    border-radius: 5px;*/
}

header nav img {
    margin-left: 10px;
}

.register-btn {
    background-color: #FFF145;
    border: none;
    color: #474747;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    padding: 13px 60px;
    border-radius: 50px;
    cursor: pointer;
    margin-right: 20px;
    font-size: 1.15rem;
}

.register-btn:hover {
    background-color: #FFDA18;
}

.dropdown {
    float: left;
    overflow: hidden;
  }

.dropdown .dropbtn {
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    /* text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2); */
    color: #474747;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 1px;
    border: none;
    /* font-size: 1rem; */
    background-color: #fff;
}
  
  
.dropdown:hover .dropbtn {
    /* border: 2px solid #53B5C5; */
    display: flex;
    /* border-radius: 0.5rem; */
    /* background: #E5F4F7; */
    box-sizing: border-box;
    /* padding: calc(1rem - 4px); */
    gap: 1px;
    font-size: 1.2rem;
}

#dropdown-content-ssulkaup {
    background-color: #fff;
    color: #373737;
    border: none;
    border-radius: 5rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
#dropdown-content-ssulkadown{
    background-color: #fff;
    color: #373737;
    border: none;
    border-radius: 5rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

#dropdown-content-ssulkaup:hover{
    display: block;
    background-color: #E5F4F6;
    border-radius: 0.5rem 0.5rem 0rem 0rem;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
#dropdown-content-ssulkadown:hover{
    display: block;
    background-color: #E5F4F6;
    border-radius: 0rem 0rem 0.5rem 0.5rem;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
#dropdown-content-ssulkabet{
    background-color: #fff;
    color: #373737;
    border: none;
    border-radius: 5rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
#dropdown-content-ssulkabet:hover{
    display: block;
    background-color: #E5F4F6;
    border-radius: 0rem 0rem 0rem 0rem;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    /* border: 2px solid #53B5C5; */
    border-radius: 0.5rem;
    font-size: 1.2rem;
}
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-shadow: none;
    text-align: left;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  }
  
  .dropdown-content a:hover {
    background-color: #E5F4F6;
    font-size: 1.2rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.blog {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 3rem;
    min-width: 70rem;
}

.blog-post {
    display: flex;
    background-color: #EEF8FA;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-post:hover {
    background-color: #E7F4F7;
}

.blog-post img {
    height: auto;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 1rem;
}

.post-info {
    padding: 20px;
}

.post-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.post-info h2 {
    color: #474747;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.details-btn {
    color: #53B5C5;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
}

.details-btn:hover {
    color: #004066;
}

footer {
    background-color: #53B5C5;
    color: #fff;
    padding: 1rem 1rem 2rem 1rem;
    font-weight: 600;
    text-align: center;
    margin-top: -10px;
    /* margin-bottom: 2rem; */
}

.cloud-footer-content{
    background-color: #fff;
}

.cloud-footer-content img {
    width: 100%;
    margin-top: 50px;
}

.footer-logo img {
    display: block;
    text-align: left;
    margin-left: 60px;
    margin-top: 35px;
}

footer nav ul {
    padding: 20px;
    display: flex;
    justify-content: right;
    gap: 2rem;
    list-style: none;
    margin-right: 60px;
    margin-top: -70px;
}

footer nav a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.3rem;
}

.video-logo {
    display: block;
    background-color: #53B5C5;
    color: #fff;
    width: 25%;
    font-size: 2rem;
    font-weight: 900;
    padding: 0.5rem 2.3rem;
    border-radius: 1rem 1rem 0rem 0rem;
}

footer nav li:hover a{
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.15);
    color: #fff580;
}

footer nav li > a.menugames:after{
    content: " ";  
    background: url(img/oui_arrow-up_black.png) no-repeat center center;
    width: 1rem;
    height: 1rem;
    display: block;
    
}

footer p {
    margin-top: 3rem;
    color: #fff;
    text-align: center;
}

#sttext {
    margin-top: 20rem;
    margin-bottom: 20rem;
}

.arrow-footer img {
    display: flex;
    margin-left: 4.5rem;
    margin-top: -16px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .blog-post {
        flex-direction: column;
        text-align: center;
    }

    .blog-post img {
        max-width: 100%;
        margin: 0 auto 20px;
    }
}
