*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}

/* Задний фон */

body{
    background: #1a172a;
}

/* Шапка */

.head{
    display: flex;
    justify-content: space-between;
    padding: 15px 35px 15px 35px;
    background-color: #1a172a;
    align-items: center;
}

.links{
    display: flex;
    margin-bottom: 0;
    padding: 0;
}

li{
    list-style-type: none;
    padding-left: 30px;
}

.link{
    font-weight: 600;
    font-size: 17px;
    color: white;
}

.link:hover{
    color: lightgrey;
}

.logo{
    font-weight: 600;
    font-size: 17px;
    color: white;
}

.logo:hover{
    color: lightgrey;
}

/* Верхние изображение и блоки */

.top-img{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 250px;
    width: 100%;
    background: radial-gradient(50% 50% at 50% 50%,rgba(44,26,149,.5166) 26.32%,rgba(4,0,49,.63) 100%),url(https://static.svitkazino.com.ua/res/e9ee552…/images/wall.png);
    margin-bottom: 50px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 32%);
}

.top-img h1{
    color: white;
    text-align: center;
    margin: 0 0 2px;
    text-shadow: 4px 5px 4px #000;
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 15px;
}

.top-img p {
    width: 605px;
    color: #d8cdf9;
}

.main-contant{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 45px;
}

.main-contant h1{
    margin-bottom: 30px;
    color: white;
}

.ds{
    color: white;
    margin-right: 159px;
    margin-top: 15px;
}

.kozino{
    background-color: #302a4e;
    width: 975px;
    height: 194px;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    margin-bottom: 15px;
}

.kozino:hover{
    box-shadow: rgb(0 0 0 / 32%) 0px 4px 12px;
}

.kz-img{
    display: flex;
    align-items: center;
    border-radius: 10px;
    height: 150px;
    margin-top: 2.1%;
    margin-left: 30px;
}

.kz-img img{
    width: 130px;
}

.advantages{
    display: flex;
}

.advantages p{
    padding-right: 10px;
    font-size: 15px;
}

.buttons{
    display: flex;
    flex-direction: column;
    margin-right: 15px;
    margin-top: 15px;
    text-align: center;
    align-items: center;
}

.buttons p{
    font-size: 10px;
    color: white;
    width: 95px;
    margin-top: 10px;
}

.visit-btn{
    width: 103px;
    height: 38px;
    border: none;
    border-radius: 26px;
    background-color: #fff500;
    color: black;
    font-size: 16px;
    font-weight: 600;
}

.visit-btn:hover{
    background-color: #000000;
    color: white;
}

.button-page{
    padding: 7px 14px 7px 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    color: white;
    font-weight: 600;
    background-color: #ea04ff;
}

.button-page:hover{
    background-color: #f264ff;
}

/* FAQ */

.faq{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 780px;
    margin-bottom: 35px;
}

.faq h1{
    margin-bottom: 30px;
    color: white;
}

.faq-block{
    margin-bottom: 20px;
}

.faq-block h1{
    color: white;
    font-size: 25px;
}

.faq-block p{
    color: rgb(207, 207, 207);
}

/* О Нас */

.about-us{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 780px;
}

.about-us h1{
    margin-bottom: 20px;
    color: white;
}

/* Медиа */
@media only screen and (max-width: 890px) {
    .kozino{
        width: 842px;
    }
    .ds {
        color: white;
        margin-right: 34px;
        margin-top: 15px;
    }
}
@media only screen and (max-width: 768px) {
    .head{
        justify-content: space-between;
        padding: 15px 20px 15px 20px;
    }

    .menu{
        display: none;
    }

    .kozino{
        width: 686px;
        height: 347px;
        align-items: center;
        flex-direction: column;
    }

    .advantages{
        margin-top: 56px;
    }

    .ds{
        z-index: 1000;
        margin-top: 30px;
        margin-right: 208px;
    }

    .buttons{
        margin-bottom: 30px;
    }

    .kz-img{
        position: absolute;
        width: 686px;
        height: 90px;
        justify-content: flex-end;
        margin-top: 0;
        margin-left: 0;
    }
 }
@media only screen and (max-width: 667px) {
    .kozino{
        width: 627px;
    }

    .kz-img{
        width: 627px;
    }

    .ds{
        margin-right: 150px;
    }
}
@media only screen and (max-width: 480px) {
    .faq{
        width: 434px;
    }

    .top-img h1{
        font-size: 33px;
    }

    .top-img p{
        width: 358px;
    }

    .kz-img {
        width: 437px;
        position: relative;
        flex-direction: column;
    }

    .kozino {
        width: 437px;
        height: 377px;
    }

    .ds {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-left: 5px;
    }

    .advantages {
        margin-top: 0;
    }

    .buttons {
        margin-right: 0;
    }

    .advantages p {
        font-size: 13px;
    }
}
@media only screen and (max-width: 414px) {
    .top-img h1 {
        font-size: 30px;
    }

    .faq {
        width: 380px;
        text-align: center;
    }

    .kz-img {
        width: 375px;
    }

    .kozino {
        width: 375px;
    }

    .advantages p {
        font-size: 12px;
    }
}
@media only screen and (max-width: 321px) {
   .top-img h1 {
        font-size: 25px;
    }

    .top-img p {
        width: 277px;
    }
    
    .faq {
        width: 286px;
        text-align: center;
    }

    .kz-img {
        width: 284px;
    }

    .kozino {
        width: 284px;
    }

    .advantages p {
        font-size: 9px;
    }
}
