* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
}

a {
    text-decoration: none;
    color:inherit;
}
a.container {
    padding-top: 20px;
}

.header,.footer {
    display: flex;
    align-items: center;
    width: 100%;
    height: 90px;
}
.header {
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    height: 60px;
    background: #001D38;
}
.header p {
    color: #727272;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 0;
}
.container {
    display: block;
    position: relative;
    max-width: 1140px;
    width:94%;
    height: fit-content;
    margin: 0 auto;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mail {
    color: #727272;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
}
.mail:hover {
    color:#727272;
}
.logo {
    height: 51px;
    border-radius: 5px;
}
.social {
    display: flex;
    gap: 15px;
    align-items: center;
}
.main {
    display: block;
    position: relative;
    height: fit-content;
    margin-bottom: 85px;
}
.background {
    display: block;
    position: relative;
    width: 100%;
    height: 450px;
    /*путь до фоновой картинки верхнего блока ./images/fon.jpg */
    background: url(./images/fon.jpg);
    background-size: cover;
    background-position: center top;
}
.background h3 {
    font-family: "Press Start 2", sans-serif;
    font-size: 42px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    bottom:30%;
    left:50%;
    padding: 0px 15px;
    transform: translateX(-50%);
}

.mainnet h3 {
    font-size: 42px;
    font-weight: 600;
    line-height: 52px;
    color: #001D38;
    position: relative;
    padding-bottom: 19px;
    margin-top: 105px;
    margin-bottom:65px;
    text-align: center;
}
.cards {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    gap:30px;
}
.card_img {
    display: block;
    position: relative;
    width: 255px;
    height: 255px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    transform: scale(1);
    transition: all 0.5s ease;
}
.card_img img {
    width: 100%;

}
.card_img .comission {
    display: block;
    position: absolute;
    width: 100%;
    height: fit-content;
    bottom:0;
    padding:13px 0;
    background: rgba(4, 189, 0, 0.5);
    z-index: 2;
    text-align: center;
    border-radius: 10px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease;
}

.card h3 {
    font-size: 22px;
    font-weight: 400;
    color: #2C2C2C;
    text-align: center;
}
.card:hover .card_img {
    transform: scale(1.1);
}
.card:hover .comission{
transform: translateY(0);
opacity: 1;
}


.footer {
    position: relative;
    background: #F5FBFF;
    border-top: 1px solid #E8E8E8;
}
.footer p {
    text-align: center;
    font-size: 15px;
    color: #919191;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 28px;
    font-family: "Poppins", sans-serif;
}
@media (max-width:1200px) {
    .card_img {
        width: 330px;
        height: 330px;
    }
}
@media (max-width:570px) {
    .card_img {
        width: 94vw;
        height: 94vw;
    }
    .background h3 {
        font-size: 30px;
    }
    .mainnet h3 {
        font-size: 30px;
    }

}