body{
    background-color: #141414;
}

body, h1, h2, h3, h4, p, a {
    margin: 0;
    font-size: 100%;
    font-weight: normal;
}

* {
    box-sizing: border-box;
    font-family: 'Druk Wide Cy', 'Verdana','Rubik Mono One','Helvetica', 'Arial', sans-serif;
}

@font-face {
    font-family: "Druk Wide Cy";
    src: url("fonts/DrukWideCy-Heavy.woff2") format("woff2");
}

@font-face {
    font-family: "Tilda Sans";
    src: url("fonts/TildaSans-Regular.woff2") format("woff2");
}

a{
    text-decoration: none;
    font-family: 'Tilda Sans', Arial, Helvetica, sans-serif;
    color: #c9d0db;
    font-size: 1vw;
}

.main{
    background-image: url(./images/wt.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 50rem;
}

.overlay{
    background-image: url(./images/linear.png); 
    width:100%;
    background-size: cover;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50rem;
}

.head{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 2%;
}

.head__description{
    font-size: 3rem;
    color: #F3EADD;
}

.head__title{
    color: #F3EADD;
    font-size: 6vw;
    text-align: center;
    line-height: 7vw;
    width: 40%;
    filter: invert(40%)
}

.telegram{
    width: 55%;
    padding-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.telegram__description{
    font-family: 'Tilda Sans', Arial, Helvetica, sans-serif;
    font-size: 2vw;
    letter-spacing: 0.06em;
    text-align: center;
    font-family: 'Tilda Sans', Arial, Helvetica, sans-serif;
    color: #d3b200;
    font-weight: 800;
    background-color: black;
    padding: 3vw 3vw 3vw 3vw;
}

.telegram__button{
    background-color: rgba(0, 0, 0, 0);
    font-family: 'Tilda Sans', Arial, Helvetica, sans-serif;
    font-size: 1vw;
    padding: 1vw;
    border: 0.15vw solid #c9d0db;
    border-radius: 2vw;
    color: #c9d0db;
    margin-top: 3%;
}

.telegram__button:hover{
    background-color: #c9d0db;
    color: #141414;
    cursor: pointer;
    transition: all 0.2s ease-in;
}

.cards{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    padding-top: 23rem;
}

.card{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(230, 230, 230, 0.2);
    border-bottom: 0.15vw solid #f4f4f4;
    /* border-radius: 1vw; */
    width: 100%;
}

.card__info{
    display: flex;
    width: 65%;
    align-items: center;
    padding-left: 2rem;
}

.card__info_date{
    font-size: 1.5vw;
    color: #F3EADD;;
    line-height: 80%;
    padding-right: 1rem;
}

.card__info_city{
    font-size: 1vw;
    color: #F3EADD;
    padding-right: 1rem;
}

.card__info_club{
    font-size: 1vw;
    color: #EDD530;
    line-height: 80%;
}

.card__buttons{
    display: flex;

    /* /* grid-template-rows: auto auto;
    grid-auto-flow: row; */
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
    /* height: 90%;
    column-gap: 3%;
    row-gap: 10%; */
    text-align: center;
    margin-right: 1vw;
    width: 11rem;
    justify-content: space-between;
    /* height: 73%; */
}

.card__buttons_vk{
    background-color: rgba(0, 0, 0, 0);
    font-family: 'Tilda Sans', Arial, Helvetica, sans-serif;
    border: 0.1vw solid #f4f4f4;
    border-radius: 0.3vw;
    color: #f4f4f4;
    grid-column: span 2;
    font-size: 1vw;
    padding: 0.5rem;
    width: 45%;
}

.card__buttons_web,
.card__buttons_tg{
    background-color: rgba(0, 0, 0, 0);
    font-family: 'Tilda Sans', Arial, Helvetica, sans-serif;
    border: 0.1vw solid #f4f4f4;
    border-radius: 0.3vw;
    color: #f4f4f4;
    padding: 0.5rem;
    font-size: 1vw;
    /* margin-top: 1vw; */
    width: 45%;

}

.card__buttons_vk:hover,
.card__buttons_tg:hover,
.card__buttons_web:hover{
    background-color: #F3EADD;
    border: 0.1vw solid rgba(36, 57, 54, 0.75);
    color: #141414;
    cursor: pointer;
    transition: all 0.2s ease-in;
}

.footer{
    height: 2vw;
    background-color: #141414;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.footer-author {
    font-family: 'Tilda Sans', Arial, Helvetica, sans-serif;
    color: #c9d0db;
    font-size: 1vw;
}

/* Tablet */
@media (max-width: 900px){

    ::-webkit-scrollbar {
        width: 0;
    }

    .head__description {
        font-size: 3vw;
    }

    .telegram{
        padding-top: 45%;
    }

    .telegram__description {
        font-size: 3vw;
    }

    .main{
        height: 65rem;
    }
    
    .overlay{
        background-image: url(./images/linear.png);
        width:100%;
        background-size: cover;
        background-position: bottom;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 65rem;
    }
    

    .telegram__button {
        font-size: 3vw;
        padding: 2vw;
        border: 0.15vw solid #c9d0db;
        border-radius: 4vw;
    }

    .cards {
        width: 90%;
        padding-top: 20vw;
    }

    .card{
        flex-direction: column;
        padding-bottom: 3vw;
    }

    .card__info{
        text-align: center;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        padding-top: 1rem;
    }

    .card__info_date,
    .card__info_city,
    .card__info_club{
        font-size: 1rem;
        padding-right: 0;
    }

   .card__buttons {
        width:80%;
    }
  /*
    .card__buttons_vk{
        font-size: 4vw;
        padding-left: 20vw;
        padding-right: 20vw;
        margin-bottom: 1vw;
        border-radius: 2vw;
    }*/
    .card__buttons_vk,
    .card__buttons_tg,
    .card__buttons_web{
        font-size: 1rem;
        width: 45%;
    } 

    .card__buttons_tg:hover,
    .card__buttons_vk:hover,
    .card__buttons_web:hover,
    .telegram__button:hover{
        background-color: rgba(0, 0, 0, 0);
        color: #c9d0db;
        cursor: default;
    }

    .footer-author {
        font-size: 2vw;
    }

    .head__title{
        width: 80%;
    }

    a{
        font-size:0.8rem;
    }

}

