@import url('minireset.css');
@import url('normalize.css');


@font-face {
	font-family: 'Raleway';
	src: url('Raleway-ExtraLight.eot');
	src: local('Raleway ExtraLight'), local('Raleway-ExtraLight'),
		url('../fonts/Raleway-ExtraLight.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-ExtraLight.woff') format('woff'),
		url('../fonts/Raleway-ExtraLight.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Light.eot');
	src: local('Raleway Light'), local('Raleway-Light'),
		url('../fonts/Raleway-Light.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Light.woff') format('woff'),
		url('../fonts/Raleway-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Regular.eot');
	src: local('Raleway'), local('Raleway-Regular'),
		url('../fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Regular.woff') format('woff'),
		url('../fonts/Raleway-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Medium.eot');
	src: local('Raleway Medium'), local('Raleway-Medium'),
		url('../fonts/Raleway-Medium.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Raleway-Medium.woff') format('woff'),
		url('../fonts/Raleway-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}


@font-face {
    font-family: 'Mali';
    src: local('Mali Regular'), local('Mali-Regular'), url('../fonts/Maliregular.woff2') format('woff2'), url('../fonts/Maliregular.woff') format('woff'), url('../fonts/Maliregular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: local('Mali Light'), local('Mali-Light'), url('../fonts/Malilight.woff2') format('woff2'), url('../fonts/Malilight.woff') format('woff'), url('../fonts/Malilight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Mali';
    src: local('Mali ExtraLight'), local('Mali-ExtraLight'), url('../fonts/Mali-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

html, body {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #fdf7f2;
    color: #4a2c2a;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0px;
    text-align: center;
}


.logo {
    max-height: 121px;
    margin-right: 290px;
}

.mobile-logo, .mobile-content {
    display: none;
}


.language-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.language-switcher a {
    text-decoration: none;
    color: #1C1C1C66;
    font-weight: 200;
    font-size: 18px;
}

.language-switcher a.active {
    text-decoration: none;
    color: #1C1C1C;
    font-weight: normal;
    font-size: 18px;
}

.title {
    font-family: Mali;
    font-size: 57px;
    font-weight: 200;
    color: #c75329;
    margin-bottom: 20px;
    text-align: center;
}


.cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    margin-left: 30px;
    width:703px;
    font-family: Raleway;
    font-size: 29px;
    font-weight: 200;
    padding: 0 15px;
}

.cta-buttons .orange {
    font-family: Mali;
    font-weight: 200;
    font-size: 34px;
}

.button {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 24px;
    text-align: center;
}

.button.orange {
    background-color: #F28C38;
    color: #8D2828;
    border: none;
}

.button.orange.small {
    font-family: Raleway;
    font-size: 19px;
    font-weight: 300;
    width: 346px;
    padding: 10px 32px;
    border-radius: 12px;
}

.button.orange:hover {
    background-color: #F7C59F;
}

.button.outline {
    color: #f89d4c;
    border: 2px solid #f89d4c;
}

.button.outline:hover {
    background-color: #f89d4c;
    color: #fff;
}

.countdown {
    margin: 15px;
}

.countdown p {
    font-family: Mali;
    color: #8D2828;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.time-unit {
    text-align: center;
}


.label {
    font-size: 0.8rem;
    color: #4a2c2a;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.text-section {
    flex: 2;
    text-align: left;
    width: 739px;
}

p.dedication {
    color: #1C1C1C;
    font-weight: 200;
    font-size: 32px;
    font-family: Raleway;
    margin-bottom: 30px;
    text-align: center;
}

span.strong {
    font-weight: 500;
}

span.number {
    font-size: 30px;
    color: #8D2828;
    font-family: Raleway;
    font-weight: normal;
    margin-bottom: 0px;
}

span.label {
    font-size: 15px;
    color: #8D2828;
    font-family: Raleway;
    font-weight: 200;
}

.image-section {
    flex: 1;
    text-align: right;
}

.man-image {
    width: 327px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 50px;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menuitem {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 134.98px;
}

.menuitem:hover {
    border-bottom: 1.5px solid #F28C38; /* Цвет рамки при наведении */
}

.empty-1 {
    display: inline-block;
    width: 90px;
    background: #fff;
    color: #fff;
}

.empty-2 {
    display: inline-block;
    width: 65px;
    background: #fff;
    color: #fff;
}

.submenu_wrapper {
    display: none;
    position: absolute;
    top: 160px;
    left: 65px;
    width: 770px;
    backdrop-filter: blur(8px);
}

.submenu {
    color: black;
    height: 180px;
    opacity: 0.9;  /* Добавить небольшую прозрачность */
    transition: opacity 1s ease;
}

.features-title:hover .submenu_wrapper,
.features-title.active .submenu_wrapper {
    display: block; /* Показываем подменю при наведении или если класс active */
}

.features-menu {
    position: relative;
    display: inline-block;
}

.features-title {
    font-family: Raleway;
    font-weight: 300;
    color: #1C1C1C66;
    font-size: 18px;
}

.dropdown {
    position: absolute;
    display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
    left: 0;
    right: 0;
    border-radius: 8px;
    padding: 10px;
    z-index: 1000;
}


.dropdown > li {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dropdown ul li a {
    text-decoration: none;
    color: #333;
}

.dropdown ul li a:hover {
    color: #333;
}

.dropdown-title {
    display: none;
}

li.dropdown-li-title {
    display: none;
}

.menu-item {
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.menu-item:hover {
    background-color: #F28C38;
}


.menuitem.active:hover .submenu_wrapper .submenu {
    display: block;
}


.features-menu:hover .dropdown {
    display: block;
}

.full-width-line {
    width: 100%; /* Задает ширину линии на всю ширину контейнера */
    border: 1.5px solid #E8D2CC; /* Цвет и стиль линии */
    margin: 0 0; /* Отступы сверху и снизу */
}

:root {
    --circle-radius: 41px;
    --stroke-width: 10px;
    --circumference: calc(2 * 3.14159 * var(--circle-radius));
}

.countdown-timer {
    display: flex;
    gap: 7px;
    justify-content: center;
}

.time-unit {
    text-align: center;
    position: relative;
}

.progress-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.bg-circle {
    fill: none;
    stroke: #F28C38;
    stroke-width: var(--stroke-width);
}

.fg-circle {
    fill: none;
    stroke: #F7C59F;
    stroke-width: var(--stroke-width);
    stroke-dasharray: 0, var(--circumference);
    stroke-dashoffset: 0;
    transition: stroke-dasharray 0.5s ease;
}

#edit-form-container-up, #edit-form-container-down {
    position: fixed; /* Фиксированное положение для заполнения экрана */
    top: 0; /* Привязывает к верхней части */
    left: 0; /* Привязывает к левой части */
    width: 100%; /* Полная ширина */
    height: 100%; /* Полная высота */
    background-color: rgba(255, 255, 255); /* Фон с прозрачностью */
    z-index: 9999; /* На переднем плане */
  }

.form-group {
height: calc(100%); /* Высота, исключая заголовок */
display: flex; /* Использует flexbox */
}


#edit-form-container {
position: fixed; /* Фиксированное положение для заполнения экрана */
top: 0; /* Привязывает к верхней части */
left: 0; /* Привязывает к левой части */
width: 100%; /* Полная ширина */
height: 100%; /* Полная высота */
background-color: rgba(255, 255, 255); /* Фон с прозрачностью */
z-index: 9999; /* На переднем плане */
display: flex; /* Для вертикального выравнивания */
}


#content {
flex-grow: 1; /* Позволяет textarea занимать оставшееся пространство */
width: 100%; /* Полная ширина */
resize: none; /* Отключает возможность изменения размера */
box-sizing: border-box; /* Включает отступы в общую ширину */
padding: 10px; /* Отступы внутри textarea */
}

.fixed-btn {
position: fixed; /* Фиксированное положение */
top: 10px; /* Отступ от верхней части */
right: 10px; /* Отступ от правой стороны */
z-index: 1000; /* На переднем плане */
}

.full-width {
width: 100%;
box-sizing: border-box;
}

.full-height {
height: 95%; /* Устанавливаем высоту на 100% */
}

.post {
padding: 0 5%; /* Отступы по 5% с каждой стороны */
}

.post-content {
    text-align: left; /* Выровнять текст по левому краю */
}

.index {
margin: 0 0;
padding: 0 0;
}

#today {
    border-top: 2px solid red;
    border-bottom: 2px solid red;
    margin: 10px 0;
    padding: 10px;
    width: 430px;
    scroll-margin-top: 20px; /* Отступ сверху при прокрутке */
  }

  .hidden-element {
	display: none;
}


.red {
color: #FF5600;
}

.blue {
color:rgb(11, 22, 181)
}

.d {
    padding: 0 0 5px 0;

}

#admin-item a{
    color: #F28C38;
    font-weight: 500;
    padding-top: 15px;
}

.before-admin {
    margin-bottom: 10px;
}

#admin-item:hover{
    background-color: #F28C38;
}

#admin-item a:hover{
    color: white;
}

blockquote {
    border-left: 4px solid #ccc;
    padding: 10px 20px;
    margin: 10px 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
}

h1 {
    font-size: 36px; /* Размер заголовка */
    color: #333; /* Цвет текста */
    margin: 20px 0 25px 0; /* Отступы сверху и снизу */
    font-weight: bold; /* Жирный текст */
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
    margin-top: 30px; /*Отступ перед заголовком о начале недели*/
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 20px;
}

h1, h2, h3, h4 {
    color: #333; /* Цвет текста */
    margin-bottom: 20px;
    font-weight: bold;
}


h5:not(.dropdown h5), h6:not(.dropdown h6) {
    color: #333; /* Цвет текста */
    margin-bottom: 15px;
    font-weight: bold;
}


/* Медиазапросы для разных размеров экрана */

@media (max-width: 1199px) {
    .container {
        max-width: 1000px;
        padding: 17px 20px;
    }
    .logo {
        max-height: 100px;
        margin-right: 222px;
    }
    .button.orange.small {
        font-size: 16px;
        width: 290px;
        padding: 8px;
        border-radius: 12px;
    }
    .empty-1 {
        width: 60px;
    }
    .empty-2 {
        width: 59px;
    }
    .features-title, .language-switcher a,
    .language-switcher a.active {
        font-size: 16px;
    }
    .title {
        font-size: 50px;
        margin-bottom: 9px;
    }
    p.dedication {
        font-size: 25px;
    }
    .cta-buttons {
        font-size: 24px;
        gap: 20px;
        margin-bottom: 40px;
        margin-left: 30px;
        width: 587px;
    }
    .cta-buttons .orange {
        font-size: 29px;
    }
    .button {
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 24px;
        text-align: center;
    }
    .man-image {
        width: 273px;
    }
    .countdown p {
        font-size: 19px;
        margin-bottom: 10px;
    }
    span.number {
        font-size: 25px;
    }
    .submenu {
        height: 160px;
    }
    .submenu_wrapper {
        left: 60px;
        width: 730px;
    }
    /* :root {
        --circle-radius: 35px;
        --stroke-width: 8px;
    } */
}

@media (max-width: 1140px) {
    .submenu_wrapper {
        left: 40px;
        width: 700px;
    }
}

@media (max-width: 1040px) {
    .submenu_wrapper {
        left: 30px;
        width: 650px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 800px;
        padding: 15px 15px;
    }
    .main-content {
        gap: 0;
    }
    .logo {
        max-height: 84px;
        margin-right: 185px;
    }
    .button.orange.small {
        font-size: 13px;
        width: 241px;
        padding: 7px;
        border-radius: 10px;
    }
    .empty-1 {
        width: 50px;
    }
    .empty-2 {
        width: 49px;
    }
    .features-title, .language-switcher a,
    .language-switcher a.active {
        font-size: 13px;
    }
    .title {
        font-size: 42px;
        margin-bottom: 9px;
    }
    p.dedication {
        font-size: 21px;
    }
    .cta-buttons {
        font-size: 20px;
        gap: 13px;
        width: 450px;
    }
    .cta-buttons .orange {
        font-size: 24px;
    }
    .button {
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 17px;
        text-align: center;
    }
    .man-image {
        width: 227px;
        margin-bottom: 70px;
    }
    .countdown p {
        font-size: 17px;
        margin-bottom: 30px;
    }
    span.number {
        font-size: 21px;
    }
    span.label {
        font-size: 11px;
    }
    .submenu {
        height: 170px;
    }
    .submenu_wrapper {
        left: 25px;
        width: 550px;
    }
}

@media (max-width: 915px) {
    .submenu_wrapper {
        left: 15px;
        width: 570px;
    }
    .main-content {
        gap: 20px;
    }
    .cta-buttons {
        font-size: 18px;
        width: 400px;
    }
    .cta-buttons {
        font-size: 18px;
        gap: 13px;
        width: 400px;
    }
    .button {
        text-decoration: none;
        padding: 14px 0;
        border-radius: 15px;
    }
    .cta-buttons .orange {
        font-size: 20px;
    }
}


@media (max-width: 820px) {
    .logo {
        margin-right: 150px;
    }
    .submenu_wrapper {
        left: 15px;
        width: 520px;
    }
    .countdown p {
        padding: 5px;
        text-align: left;
    }
    span.number {
        font-size: 19px;
        transform: translate(-50%, -60%);
    }
    .countdown-timer {
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .wrapper, .full-width-line {
        display: none;
    }
    .collapse {
        display: block;
    }
    .container {
        text-align: left;
        padding: 38px 0 0 40px;
    }
    .logo {
        display: none;
    }
    .mobile-logo {
        display: block;
        position: absolute;
        top: 40px;
        right: 40px;
        margin-right: 0;
        width: 67px;
    }
    .dropdown-title {
        display: block;
        font-family: Raleway;
        font-size: 44px;
        color: black;
        padding-left: 185px;
    }
    .dropdown {
        position: absolute;
        top: 110px; /* Отступ сверху */
        left: 0;
        width: 100%;
        height: calc(100vh - 110px); /* Высота экрана за вычетом отступа */
        overflow-y: auto;
        z-index: 1000;
        display: block; /* Отключаем grid */
        padding: 0 40px; /* Выравниваем отступы */
        background-color: #fdf7f2;
    }
    .dropdown > li {
        display: block;
        margin-bottom: 20px;
    }
    .dropdown li {
        display: block;
    }

    .dropdown h5 {
        margin-left: 0;
    }

    .dropdown ul {
        padding-left: 20px;
    }
    .menu-item {
        display: inline-block;
    }
    .menu-button {
        margin-bottom: 10px;
    }
    .main-content {
        display: none;
    }
    .mobile-content {
        display: block;
        width: 456px;
        margin: 0 auto;
    }
    .title {
        font-size: 39px;
        letter-spacing: -0.74px;
        margin-bottom: 31px;
        }
    .image-section {
        text-align: center;
    }
    .man-image {
        width: 286px;
    }
    p.dedication {
        font-size: 19px;
    }
    .countdown p {
        text-align: center;
        font-size: 15px;
        margin: 0;
    }
    .countdown-timer {
        margin: 0;
        gap: 4px;
    }
    .cta-buttons {
        width: 456px;
        margin: 0 auto 30px auto;
        font-size: 18px;
    }
    .button.orange {
        font-size: 22px;
        color: #8D2828;
        font-weight: 300;
    }
    .button {
        padding: 8px 0;
        border-radius: 22px;
    }
    span.number {
        font-size: 30px;
    }

    span.label {
        font-size: 15px;
    }
    /* :root {
        --circle-size: 70px;
        --circle-radius: 35px;
        --stroke-width: 8px;
    }
    .progress-circle {
        width: var(--circle-size);
        height: var(--circle-size);
    }

    .bg-circle,
    .fg-circle {
        r: var(--circle-radius);
        stroke-width: var(--stroke-width);
    } */
}

@media (max-width: 576px) {
    .container {
        text-align: left;
        padding: 24px 0 0 30px;
    }
    .mobile-content {
        width: 370px;
    }
    .menu-button img {
        width: 37px;
    }
    .mobile-logo {
        width: 43px;
        top: 24px;
    }
    .title {
        font-size: 25px;
        letter-spacing: -0.50px;
        margin-bottom: 21px;
    }
    .man-image {
        width: 186px;
        margin-bottom: 20px;
    }
    p.dedication {
        font-size: 13px;
        margin-bottom: 22px;
    }
    .countdown p {
        font-size: 17px;
    }
    .cta-buttons {
        max-width: 100%;
        margin: 0 auto 30px auto;
        font-size: 17px;
    }
    .button.orange {
        font-size: 20px;
    }
    .countdown-timer {
        gap: 2px;
    }
    .dropdown {
        top: 80px; /* Отступ сверху */
        height: calc(100vh - 80px); /* Высота экрана за вычетом отступа */
    }
    .dropdown-title {
        font-size: 30px;
        color: black;
        padding-left: 100px;
    }
}


@media (max-width: 480px) {
    .mobile-content {
        width: 330px;
    }
    .cta-buttons {
        font-size: 16px;
    }
    .button.orange {
        font-size: 16px;
    }
    .countdown-timer {
        gap: 0px;
    }
    /* :root {
        --circle-radius: 30px;
        --stroke-width: 6px;
    } */
    .index {
        padding: 0 10px;
    }
}

@media (max-width: 360px) {
    .container {
        text-align: left;
        padding: 18px 0 0 12px;
    }
    .mobile-content {
        width: 300px;
    }
    .title {
        font-size: 20px;
        letter-spacing: -0.38px;
        margin-bottom: 21px;
    }
    .cta-buttons {
        font-size: 16px;
    }
    .button.orange {
        font-size: 15px;
        padding: 12px 0;
    }
    .time-unit {
        width: 70px;
        height: 70px;
    }
    /* :root {
        --circle-radius: 30px;
        --stroke-width: 6px;
    } */
}

@media (max-width: 300px) {
    .container {
        text-align: left;
        padding: 20px 0 0 12px;
    }
    .mobile-content {
        width: 240px;
    }
    .title {
        font-size: 18px;
        letter-spacing: -0.38px;
        margin-bottom: 20px;
    }
    .cta-buttons {
        font-size: 14px;
    }
    .button.orange {
        font-size: 12px;
        padding: 12px 6px;
    }
    .time-unit {
        width: 70px;
        height: 70px;
    }
    .dropdown-title {
        font-size: 20px;
        padding-left: 50px;
    }
    .countdown p {
        font-size: 15px;
    }
    span.number {
        font-size: 20px;
    }

    span.label {
        font-size: 10px;
    }
    .time-unit {
        width: 65px;
        height: 65px;
    }
    .progress-circle {
        width: 65px;
        height: 65px;
    }
    :root {
        --circle-size: 60px; /* Установите нужный размер */
        --circle-radius: 30px; /* Радиус круга */
        --stroke-width: 8px;
    }
}