/*
Theme Name: Hello Elementor Child
Description: Дочерняя тема Elementor
Template: hello-elementor
*/

@import url("../hello-elementor/style.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin-block-end: 0 !important;
}

.e-con {
    width: auto !important;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

body>main#main {
    flex: 1 !important;
}

.first-block-text {
    max-width: 470px !important;
}

.about-image {
    width: 54% !important;
}

.about-left {
    width: 46% !important;
}

.about-title {
    max-width: 768px !important;
    width: 150% !important;
    height: 97px !important;
    z-index: 10 !important;
}

.about-text-block {
    max-width: 450px !important;
}

.products-block {
    width: 100% !important;
}

.slider-title-light {
    max-width: 470px !important;
    min-height: 300px !important;
}

.projects-video-block {
    width: 46% !important;
}

.project-content {
    width: 54% !important;
}

.granny-photo {
    width: 44% !important;
}

.granny-text {
    width: 66% !important;
}

.coming-soon-title {
    width: 100% !important;
    max-width: 470px !important;
    min-height: 210px !important;
}

.secret-container {
    margin-top: -32px !important;
}

.secret-text {
    max-width: 375px !important;
}

.secret-btn {
    max-width: 290px !important;
}

.secret-second-text span {
    font-size: 24px !important;
    font-size: 700px !important;
}

.r-logo {
    width: 45px !important;
    min-height: 45px !important;
}

.r-icon,
.r-icon svg {
    height: 35px !important;
}

.kontakt-link,
.kontakt-link svg {
    width: 30px !important;
	height: 30px;
}

.wpforms-field-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-form form label,
.contact-form form label {
    font-weight: 500 !important;
    font-size: 12px !important;
    line-height: 130%;
    text-transform: uppercase;
    margin-bottom: 5px !important;
    font-family: "Oswald", sans-serif !important;
}

.newsletter-form form input[type=text],
.newsletter-form form input[type=email],
.contact-form form input[type=email],
.contact-form form input[type=text] {
    border: 2px solid #710101 !important;
}

.newsletter-form form .wpforms-field,
.contact-form form .wpforms-field {
    padding: 0 0 15px 0 !important;
    max-width: 300px !important;
    width: 100% !important;
}

.newsletter-form form .wpforms-required-label,
.contact-form .wpforms-required-label {
    display: none !important;
}

.newsletter-form form .wpforms-field-checkbox label {
    font-weight: 500 !important;
    font-size: 6px !important;
    line-height: 130%;
    text-transform: uppercase;
    text-align: justify;
}

.newsletter-form form .wpforms-submit-container,
.contact-form form .wpforms-submit-container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;
}

.newsletter-form form .newsletter-btn,
.contact-form form .contact-form-btn {
    font-family: "Oswald", sans-serif !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 130%;
    text-transform: uppercase;
    color: #cca893;
    padding: 10px !important;
    max-width: 180px !important;
    width: 100%;
}

.contact-form form .contact-nachricht-input textarea {
    border: 2px solid #710101 !important;
    height: 110px !important;
    border-radius: 30px !important;
}

.wpforms-container .wpforms-field-label-inline {
    position: relative;
    display: inline-block;
    padding-left: 30px !important;
    cursor: pointer;
}

/* Скрываем оригинальный чекбокс */
.wpforms-container input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer;
    height: 0 !important;
    width: 0 !important;
}

/* Создаем кастомный чекбокс */
.wpforms-container .wpforms-field-label-inline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: transparent !important;
    border: 2px solid #cca893 !important;
    border-radius: 4px;
}

/* Стиль при наведении */
.wpforms-container .wpforms-field-label-inline:hover::before {
    border-color: #888;
}

/* Стиль для отмеченного состояния */
.wpforms-container input[type="checkbox"]:checked+.wpforms-field-label-inline::before {
    background-color: #2196F3;
    border-color: #2196F3;
}

/* Создаем галочку */
.wpforms-container .wpforms-field-label-inline::after {
    content: ' ';
    background: url('https://radamovsesjan.de/wp-content/uploads/2024/12/check-done-icon.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 20px;
    height: 20px;
    display: none;
    left: 0;
    transform: translateY(-50%);
    top: 48%;
    font-size: 13px !important;
}

/* Показываем галочку при выборе */
.wpforms-container input[type="checkbox"]:checked+.wpforms-field-label-inline::after {
    display: block;
}

.impressum-photo {
    min-width: 300px !important;
}

.secret-title {
    width: 90% !important;
    height: 165px !important;
    margin-top: 50px !important;
    margin-bottom: 40px !important;
}

.secret-last-block span {
    font-weight: 700 !important;
}

.podcast-bottom-block {
    padding: 0 15px 0 0 !important;
    position: relative;
    align-items: stretch !important;
    background-position: 0 216px !important;
}

.podcast-text-block {}

.podcast-bottom-block h2 {
    font-size: 24px !important;
    padding: 20px 0 120px 90px !important;
}

.podcast-btn {
    content: '';
    width: 350px !important;
    height: 350px !important;
    position: absolute !important;
    top: 0;
    right: 15px;
    border-radius: 50% !important;
    transition: all 2s linear;
    box-shadow: 0 0 110px !important;
}

@media screen and (max-width: 1024px) {
    body.admin-bar .dialog-type-lightbox {
        position: fixed !important;
        height: 100vh;
    }
}

@media screen and (max-width: 767px) {
    .about-text-block {
        max-width: 100% !important;
    }

    .about-title {
        width: 145% !important;
    }

    .podcast-bottom-block {
        background-position: 0 169px !important;
    }

    .podcast-btn {
        width: 280px !important;
        height: 280px !important;
    }

    .podcast-bottom-block h2 {
        padding: 20px 0 75px 90px !important;
    }
}

@media screen and (max-width: 650px) {

    .newsletter-form-container .elementor-widget-container,
    .contact-form-container .elementor-widget-container {
        padding: 0 !important;
    }

    .podcast-btn {
        width: 230px !important;
        height: 230px !important;
    }

    .podcast-bottom-block {
        background-position: 0 140px !important;
    }

    .podcast-bottom-block h2 {
        font-size: 16px !important;
        padding: 20px 0 78px 75px !important;
    }
}


@media screen and (max-width: 560px) {
    .first-btns {
        column-gap: 10px !important;
    }

    .about-title {
        margin-bottom: 0 !important;
    }

    .about-text-block .elementor-heading-title {
        font-size: 12px !important;
    }

    .first-block-text h2 {
        font-size: 12px !important;
    }

    .first-block-text {
        max-width: 355px !important;
    }

    .about-title {
        height: 80px !important;
    }

    .slider-title-light {
        max-width: 315px !important;
        min-height: 200px !important;
    }

    .products-block {
        padding: 10px 10px !important;
    }

    .products-blocks {
        column-gap: 20px !important;
        padding: 225px 15px 180px 15px !important;
    }

    .products-block h2.elementor-heading-title {
        font-size: 40px !important;
    }

    .products-block .elementor-heading-title {
        font-size: 11px !important;
    }

    .products-btn a {
        font-size: 12px !important;
        padding: 5px !important;
    }

    .cases-slider-block {
        padding: 23px 0 0 0 !important;
    }

    .coming-soon-title {
        min-height: 130px !important;
    }

    .secret-container {
        margin-top: -17px !important;
    }

    .secret-text .elementor-heading-title {
        font-size: 12px !important;
    }

    .secret-title {
        height: 125px !important;
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }

    .secret-text {
        max-width: 250px !important;
    }

    .secret-btn a {
        font-size: 12px !important;
        padding: 5px 30px !important;
    }

    .granny-text .elementor-heading-title {
        font-size: 14px !important;
    }

    .granny-text {
        padding: 60px 0 45px 0 !important;
    }

    .project-main-title .elementor-heading-title {
        font-size: 20px !important;
    }

    .project-main-title .elementor-widget-container {
        margin-bottom: 20px !important;
    }

    .project-main-text .elementor-heading-title {
        font-size: 10px !important;
    }

    .project-main-btn a {
        font-size: 12px !important;
        padding: 5px 30px !important;
    }

    .project-container {
        column-gap: 20px !important;
    }

    .rari-icon .elementor-widget-container,
    .rari-icon .elementor-icon-wrapper {
        height: 31px !important;
    }

    .rari-icon svg {
        height: 31px !important;
    }

    .podcast-bottom-block h2 {
        font-size: 14px !important;
        padding: 20px 0 70px 75px !important;
    }

    .podcast-btn {
        width: 200px !important;
        height: 200px !important;
    }

    .podcast-bottom-block {
        background-position: 0 123px !important;
    }
}

@media screen and (max-width: 474px) {
    .first-btns .elementor-heading-title {
        font-size: 12px !important;
    }

    .burger-button svg.burger-icon {
        width: 20px !important;
        height: 15px !important;
    }

    .burger-button {
        padding: 10px 7px;
    }

    .r-logo {
        width: 30px !important;
        min-height: 30px !important;
    }

	.r-icon,
    .r-icon svg {
        height: 25px !important;
    }

    .first-block-text {
        max-width: 295px !important;
    }

    .about-text-block .elementor-heading-title {
        font-size: 10px !important;
    }

    .about-title {
        height: 70px !important;
        width: 148% !important;
    }

    .first-block-text h2 {
        font-size: 10px !important;
    }

    .first-block-text {
        max-width: 295px !important;
    }

    .slider-title-light {
        max-width: 240px !important;
        min-height: 155px !important;
    }

    .products-block .elementor-heading-title {
        font-size: 8px !important;
    }

    .products-block h2.elementor-heading-title {
        font-size: 32px !important;
    }

    .products-blocks {
        padding: 160px 15px 80px 15px !important;
    }

    .products-block h2.elementor-heading-title {
        font-size: 36px !important;
    }

    .cases-slider-block {
        padding: 27px 0 0 0 !important;
    }

    .secret-text .elementor-heading-title {
        font-size: 10px !important;
    }

    .secret-title {
        height: 105px !important;
        margin-top: 20px !important;
        margin-bottom: 25px !important;
    }

    .secret-text {
        max-width: 235px !important;
    }

    .granny-text .elementor-heading-title {
        font-size: 12px !important;
    }

    .granny-text {
        padding: 60px 0 45px 0 !important;
    }

    /* .podcast-bottom-block {
        padding: 20px 0 85px 65px !important;
    } */

    .podcast-bottom-block h2 {
        font-size: 12px !important;
    }

    .project-container {
        column-gap: 10px !important;
    }

    .podcast-btn {
        width: 160px !important;
        height: 160px !important;
    }

    .podcast-bottom-block {
        background-position: 0 98px !important;
    }

    .podcast-bottom-block h2 {
        padding: 20px 0 45px 65px !important;
    }
	
	.kontakt-link,
	.kontakt-link svg {
		width: 20px !important;
		height: 20px;
	}
}


@media screen and (max-width: 424px) {
    .cases-slider-block {
        padding: 17px 0 0 0 !important;
    }

    .coming-soon-title {
        min-height: 95px !important;
    }

    .secret-container {
        margin-top: -13px !important;
    }

    .secret-text {
        max-width: 210px !important;
    }

    .secret-title {
        height: 100px !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
    }

    .granny-text .elementor-heading-title {
        font-size: 11px !important;
    }

    .granny-text {
        padding: 46px 0 35px 0 !important;
    }

    .project-main-text .elementor-heading-title {
        font-size: 8px !important;
    }

    /* .podcast-bottom-block {
        padding: 20px 0 80px 50px !important;
    } */

    .podcast-bottom-block h2 {
        font-size: 12px !important;
        padding: 20px 0 40px 50px !important;
    }
}

@media screen and (max-width: 374px) {
    .first-btns .elementor-heading-title {
        font-size: 10px !important;
    }

    .about-text-block .elementor-heading-title {
        font-size: 8px !important;
    }

    .about-title {
        height: 60px !important;
    }

    .about-title {
        width: 151% !important;
    }

    .slider-title-light {
        max-width: 185px !important;
        min-height: 115px !important;
    }

    .products-blocks {
        padding: 150px 15px 75px 15px !important;
    }

    .products-block h2.elementor-heading-title {
        font-size: 20px !important;
    }

    .secret-text .elementor-heading-title {
        font-size: 8px !important;
    }

    .secret-text {
        max-width: 185px !important;
    }

    .secret-title {
        height: 85px !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
    }

    .granny-text .elementor-heading-title {
        font-size: 9px !important;
    }

    .granny-text {
        padding: 40px 0 25px 0 !important;
    }

    .project-main-title .elementor-heading-title {
        font-size: 12px !important;
    }

    .podcast-bottom-block h2 {
        font-size: 10px !important;
        padding: 20px 0 40px 45px !important;
    }

    .podcast-bottom-block {
        background-position: 0 86px !important;
    }

    .podcast-btn {
        width: 140px !important;
        height: 140px !important;
    }
}


@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

:root {
    --card-height: 65vh;
    --card-width: calc(var(--card-height) / 1.5);
}

.card {
    background: #191c29;
    width: var(--card-width);
    height: var(--card-height);
    padding: 3px;
    position: relative;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    font-size: 1.5em;
    color: rgb(88 199 250 / 0%);
    cursor: pointer;
    font-family: cursive;
}

.card:hover {
    color: #710101;
    transition: color 1s;
}

.card:hover:before,
.card:hover:after {
    animation: none;
    opacity: 0;
}


.card::before {
    content: "";
    width: 104%;
    height: 102%;
    border-radius: 8px;
    background-image: linear-gradient(var(--rotate), #CCA893, #be7979 43%, #710101);
    position: absolute;
    z-index: -1;
    top: -1%;
    left: -2%;
    animation: spin 2.5s linear infinite;
}

.card::after {
    position: absolute;
    content: "";
    /* top: calc(var(--card-height) / 6); */
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.7);
    filter: blur(calc(var(--card-height) / 6));
    /* background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2); */
    background-image: linear-gradient(var(--rotate), #CCA893, #be7979 43%, #710101);
    opacity: 1;
    transition: opacity .5s;
    animation: spin 2.5s linear infinite;
}

@keyframes spin {
    0% {
        --rotate: 0deg;
    }

    100% {
        --rotate: 360deg;
    }
}
