@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700;800&family=Yanone+Kaffeesatz:wght@300;400;500;600;700&display=swap" rel="stylesheet');

:root {
    --main-color: #4B6A54;
    --accent-color: #F4B000;
    --sticky-menu: rgba(75, 106, 84, .9);
}

#app {
    font-family: 'Jost', sans-serif;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Yanone Kaffeesatz', sans-serif;
    text-transform: uppercase;
}

a {
    cursor: pointer;
}


section {
    max-width: 1920px;
}

.container {
    padding: 0 5%;
}

header {
    z-index: 999;
}

header.active {
    background: var(--sticky-menu);
    transition: .3s ease-in-out;
}

.logo-wrap {
    display: flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    justify-content: center;
    align-items: center;
    padding-right: 3px;
}

.logo {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 2) {

    .logo {
        width: 35px;
        height: 35px;
    }

}

.nav-links:hover {
    color: var(--accent-color)
}

.nav-links.active {
    color: var(--accent-color)
}

.menu-phone {
    display: none;
    align-items: center;
}

.menu-phone__icon {
    background: var(--accent-color);
    box-shadow: 2px 2px 7px rgba(0,0,0,0.1)
}

.menu-phone.active {
    display: flex;
}

.burger-line {
    width: 40px;
    background: white;
    height: 2px;
}

.main-btn {
    background: var(--accent-color);
}

.page-title {
    color: var(--accent-color)
}

.slide-fade-enter-active {
transition: all 0.3s ease-out;
}

.slide-fade-leave-active {
    transition: all 0.8s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateX(300px);
    opacity: 0;
}

  
/* HERO SECTION */

.hero-section {
    background: url('../img/main-bg2.jpg') no-repeat top center / cover;
    max-height: 980px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    content: '';
    background: rgba(0,0,0,0.2);
    max-height: 980px;
}

.main-btn:hover>.main-btn__icon {
    animation: phone 1s infinite ease-in-out;
}

@keyframes phone {
    5% {
        transform: rotate(-85deg);
    }
    10% {
        transform: rotate(-95deg);
    }
    15% {
        transform: rotate(-85deg);
    }
    20% {
        transform: rotate(-95deg);
    }
    25% {
        transform: rotate(-85deg);
    }
    30% {
        transform: rotate(-95deg);
    }
    35% {
        transform: rotate(-85deg);
    }
    40% {
        transform: rotate(-95deg);
    }
    45% {
        transform: rotate(-85deg);
    }
    50% {
        transform: rotate(-95deg);
    }
    55% {
        transform: rotate(-90deg);
    }
}

.bullet-icon {
    background: var(--accent-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.bullet-text {
    display: flex;
}

/* WASTE KINDS SECTION */

.waste-bullet {
    background: var(--main-color);
}

/* WASTE CLASSES SECTION */

.waste-classes-section {
    background: var(--main-color);
}

.recycling-img {
    transition: .6s ease-in-out;
    animation: 5s recycling infinite ease-in-out;
}

@keyframes recycling {
    50% {
        transform: translateY(20px);
    }
}

/* WORK PROCESS SECTION */

.work-bullet-icon {
    background: var(--main-color);
}

/* UTILIZATION CONDITION SECTION */

.condition-img {
    animation: 10s condition infinite ease-in-out;
}

.title-underline {
    position: relative;
}

.title-underline:after {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 4px;
    content: '';
    background: var(--main-color);
}

@keyframes condition {
    to {
        transform: rotate(360deg);
    }
}

footer {
    background: var(--main-color);
}

@media screen and (max-width: 1024px) {
    nav {
        background: var(--main-color);
        /* @apply fixed w-screen h-screen top-0 left-0 overflow-hidden; */
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        overflow: hidden;
    }
}

@media screen and (max-width: 500px) {
    .bullet-text {
        width: 90%;
    }
}

@media screen and (max-width: 375px) {
    .hero-img {
        width: 33.3%;
    }
    @media screen and (max-height: 700px) {
        .hero-img {
            display: none;
        }
    }
}

@media screen and (max-width: 376px) {
    @media screen and (max-height: 700px) {
        .hero-img {
            display: none;
        }
        .bullet-text {
            font-size: 12px;
        }
        .bullet-icon {
            width: 15px;
            height: 15px;
        }
    }
}