* {
    box-sizing: border-box;
    margin: 0;
}

@font-face {
    font-family: 'Volcorn';
    src: url(./Vollkorn-VariableFont_wght.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Craft';
    src: url(./KumarOneOutline-Regular.ttf);
    font-weight: 400;
}

:root {
    --white-color: rgb(255, 253, 253);
}

body {
    max-width: 1920px;
    margin: 0 auto;
    background-color: rgba(30, 30, 30, 1);
}

a {
    text-decoration: none;
}

h1,
h2,
p,
.check-text,
a {
    font-family: Volcorn;
    color: var(--white-color);
    margin: 0;
}


a:hover {
    color: rgba(6, 175, 62, 1);
    text-shadow: 2px 2px 10px var(--white-color);
    font-size: 24px;
    transition: 0.3s;
}

h1::selection,
h2::selection,
p::selection {
    color: rgba(6, 175, 62, 1);
}

h1 {
    font-weight: 800;
    font-size: 50px;
}

header {
    position: sticky;
    top: 0;
    border: 2px solid var(--white-color);
    box-shadow: 0px 0px 25px var(--white-color);
    border-radius: 10px;
    background-color: rgba(6, 175, 62, 0.35);
    margin-bottom: 150px;
}

.header_box {
    padding: 20px;
    display: flex;
    justify-content: center;
}

main {
    margin-right: 5%;
    margin-left: 5%;
}

.main_head {
    margin-bottom: 150px;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--white-color);
}

.main_head_text h2 {
    margin-bottom: 50px;
}

h2 {
    padding-top: 50px;
    font-size: 56px;
}

h2::first-letter {
    font-family: Craft;
    color: rgba(6, 175, 62, 1);
}

p {
    font-size: 24px;
}

.main_text {
    margin-bottom: 150px;
    max-width: 55%;
}

.box_list {
    display: flex;
    justify-content: space-around;
    margin-bottom: 150px;
}

.list {
    background-image: url(./pngwing.com.png);
    background-color: rgba(6, 175, 62, 0.35);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--white-color);
    border-radius: 50px;
}

.list:hover {
    background-color: var(--white-color);
    box-shadow: 0px 0px 50px var(--white-color);
}

.checkbox {
    margin-bottom: 150px;
}

.check-input {
    position: absolute;
    appearance: none;
}

.check-text {
    font-size: 24px;
    position: relative;
    padding-left: 65px;
}

.check-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 55px;
    height: 55px;
    border: 2px solid var(--white-color);
    border-radius: 100%;
    transform: translateY(-30%);
}

.check-text::after {
    content: "";
    position: absolute;
    left: 2%;
    top: 0;
    width: 55px;
    height: 55px;
    background-image: url(./zelenaja-galochka.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    transform: translateY(-30%);
    opacity: 0;
    transition: opacity 0.3s;
}

.check-input:checked+.check-text::after {
    opacity: 1;
}



.box-head-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 150px;
    gap: 50px;
}

.box-content {
    
    width: 200px;
    height: 250px;
    border: 1px solid var(--white-color);
    background-color: var(--white-color);
    border-radius: 10px;
}

footer {
    padding: 20px;
    border: 2px solid var(--white-color);
    box-shadow: 0px 0px 20px var(--white-color);
    border-radius: 10px;
    background-color: rgba(6, 175, 62, 0.35);
}

@media (max-width: 1060px) {

    .main-text-img {
        display: none;
    }

    .box-content {
        width: 100px;
        height: 150px;
    }
}

@media (max-width: 615px) {
    .box-content {
        width: 70px;
        height: 120px;
    }
}

@media (max-width: 705px) {

    .img {
        display: none;
    }
}