/*
Theme Name: varyag
Theme URI: http://varyagg.com
Author: Ilya
Author URI: 
Description: varyag website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, theme, etc
Text Domain: my-custom-theme
*/
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    .header {
        display: none;
    }
    .mobile-header {
        display: flex;
    }
    .mobile-header {
        position: relative;
        background-color: #333;
        color: #fff;
    }
    .burger-menu {
        width: 30px;
        height: 22px;
        position: relative;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 10px;
    }

    .burger-menu::before,
    .burger-menu::after,
    .burger-menu div {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: white; /* Color of the burger lines */
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .burger-menu::before {
        top: 0;
    }

    .burger-menu::after {
        bottom: 0;
    }
    .burger-menu div {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        height: 3px;
        background-color: white;
    }
    .burger-menu.active::before {
        transform: rotate(45deg) translate(0, 0);
        top: 50%;
        transform-origin: center;
    }
    
    .burger-menu.active::after {
        transform: rotate(-45deg) translate(0, 0);
        top: 50%;
        transform-origin: center;
    }
    
    .burger-menu div {
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .burger-menu.active div {
        opacity: 0;
    }
    .header-mobile-nav {
        position: fixed;
        top: -100%;
        right: 0;
        height: 30vh;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.8);
        list-style: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
    }
    .header-mobile-nav.active {
        top: 10%;
        left: 0%;
    }
    .header-mobile-nav li {
        margin: 20px 0;
    }
    
    .header-mobile-nav a {
        text-decoration: none;
        color: #333;
        font-size: 24px;
        transition: color 0.3s ease;
    }
    
    .header-mobile-nav a:hover {
        color: #007BFF;
    }
    #first-section {
        background-position: 50%;
    }
    .first-text {
        width: 100%;
        text-align: center;
        font-size: 16px;
    }
    .main-title {
        margin-bottom: 5%;
    }
    #second-section {
        position: relative;
    }
    .image-container {
        position: absolute;
        left: 0;
        top: 0%;
    }
    .text-container > h3 {
        text-align: center !important;
    }
    .text-blog {
        left: 0%;
        font-size: 16px;
        text-align: center;
        width: 100%;
        margin: 2% 0;
    }
    .first-text:first-of-type {
        margin-top: 40%;
    }
    .main-img > a {
        text-align: center;
    }
    #fourth-section {
        display: none;
    }
    #fourth-section-mobile {
        padding-top: 50%;
    }
    .img-text-flex-container {
        background-image: url(/wp-content/uploads/2024/11/mural.png);
        padding: 0 5%;
        background-position: center;
        background-size: 110%;
        background-repeat: no-repeat;
    }
    .text-flex-container {
        width: 100%;
        margin: 0;
    }
    .text-flex-container > p {
        font-size: 16px;
    }
    #second-section {
        display: none;
    }
    #second-section-mobile {
        display: block;
        position: relative;
    }
    #fourth-section-mobile {
        display: block;
    }
    .text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        top: 200px;
    }
    #mural-section {
        display: none;
    }
    #mural-section-mobile {
        display: block;
        position: relative;
    }
    .text-content-left {
        width: 95%;
        position: relative;
        top: -200px;
    }
    .mural-bg-img > img {
        width: 100%;
    }
    .iframe {
        border: 0;
        position: relative;
        top: -150px;
        left: 0;
        width: 90%;
        padding: 0 5%;
    }
    .text-content-left > p {
        font-size: 16px;
    }
    .footer-logo {
        position: unset;
        margin-bottom: 5%;
        padding-left: 7%;
    }
}