body{
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* GLOBAL */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    font-family: "Roboto Condensed", sans-serif;
    align-items: center;
    z-index: 10; /* поверх всего */
    opacity: 1;
    visibility: visible;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.container{
    width: 45%;
    margin: 0 auto;
}


@media(max-width:1000px){
    .container{
        width: 92%;
        margin: 0 auto;
    }
}
#hero{
    padding-top: 6vh;
}

/* FONT */

h1{
    font-family: "Roboto Condensed", sans-serif;
    color: #000000;
    font-weight: 600;
    font-size: 42px;
}

h2{
    font-family: "Roboto Condensed", sans-serif;
    color: #0000005c;
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 15px;
}

p{
    font-family: "Roboto Condensed", sans-serif;
    color: #000000;
    font-weight: 300;
    line-height: 1.35;
    font-size:28px; 
}

/* NEWS */
#news h1{
    font-size: 32px;
    margin-bottom: 5px;
}
#news p{
    font-size: 20px;
    margin-bottom: 5px;
}

.container-news{
    width: 70%;
}

img{
    width: 30%;
    margin-top: -100%;
    margin-left: 70%;
}

@media(max-width:767px){
    img{
        width: 60%;
        margin-top: 0%;
        margin-left: 25%;
    }
    .container-news{
        width: 100%;
    }
}
.i-s{
    margin-bottom: 20px; /* Отступ снизу элемента */
    box-sizing: border-box; /* Учитываем padding и border в общей ширине элемента */
    text-align: left;
    background: #d65858;
    box-shadow: #ff21212b 0 0 30px 1px;
    background-size:200px ;
    background-position: right top; /* Устанавливаем фоновое изображение справа */
    background-repeat: no-repeat; /* Отключаем повторение фонового изображения */
    padding: 25px;
    border-radius: 5px;
}

.i-s h1{
    color:#ffffffe2;
}

.i-s p{
    color:#ffffffe2;
}

.i-s a{
    color:#ffffffe2;
}


.item {
    margin-bottom: 20px; /* Отступ снизу элемента */
    box-sizing: border-box; /* Учитываем padding и border в общей ширине элемента */
    text-align: left;
    background: #f4f4f4;
    box-shadow: #0000002b 0 0 30px 1px;
    background-size:200px ;
    background-position: right top; /* Устанавливаем фоновое изображение справа */
    background-repeat: no-repeat; /* Отключаем повторение фонового изображения */
    padding: 25px;
    border-radius: 5px;
}
    .item {
        width: 100%; /* Один элемент в ряд на узком экране */
        margin-right: 0; /* Убираем отступ справа на узком экране */
    }



/* SOMTHING */

button{
    display: inline-block;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0);
    color: #760000;
    border: none;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

a{
    color: #760000;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}


/* HEAD */

header {
    height: 50px;
    width: 100%;
    position: fixed;

}


.navbar {
    color: white;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom: 0.1px solid rgba(171, 171, 171, 0.562); /* Добавляем нижнюю границу */
    z-index: 1000;
}

.navbar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    z-index: -1;
}


.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 20px;
    font-family:'Roboto Condensed', sans-serif;
    font-weight: 300;
}

.menu {
    display: flex;
    font-size: 18px;
    list-style-type: none;
}
.menu li {
    padding: 5px 15px;
}
.menu li a:hover {
    transition:all 0.5s;
    color: #d2d2d2;
}
#checkbox_toggle {
    display: none;
}
.hamburger{

    display: none;
    font-size: 24px;
    cursor: pointer;
}
.hamburger-line {
    background-color:rgb(0, 0, 0) ;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}
.hamburger-line::before,
.hamburger-line::after {
    background-color: rgb(0, 0, 0);
    content:'' ;
    display: block;
    position: absolute;
    transition: all .3s;
    width: 100%;
    height: 100%;
}
.hamburger-line::before {
    top: 7px;
}
.hamburger-line::after {
    top: -7px;
}

@media (max-width:768px) {
    .menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        position: fixed ;
        background-color: rgba(255, 255, 255, 0.7);
        text-align: center;
        top: 50.5px;
        right: 0;
        left: 0;
        z-index: 1;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(10px);
    }

    .menu li a {
        color: #000000;
        display: block;
        padding: 15px;
    }

    .menu li {
        transition: .5s;
    }

    #checkbox_toggle:checked ~ .menu{
        display: block;
        max-height: 100%;
        transition: all .5s;
    }
    
    .hamburger{
        display: block;
        margin: 8px;
    }

    #checkbox_toggle:checked ~ .hamburger .hamburger-line {
        background-color: transparent;
    }
    
    #checkbox_toggle:checked ~ .hamburger .hamburger-line::before{
        transform: rotate(-45deg);
        top: 0;
    }
    
    #checkbox_toggle:checked ~ .hamburger .hamburger-line::after {
        transform: rotate(45deg);
        top: 0;
    }

}