* {
    --mainColor: rgb(233, 233, 248);
    --secondColor: #a8f9ff;
    --thirdColor: #9cbedd;
    --thirdColorHover: #b7cfe6;
    --accentColor: #1b98ff;
    --backgroundColor: #f2f6fa;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

head {
    margin: 0;
}

/*---------
--NAV BAR--
---------*/

.navbar {
    width: 100%;
    height: 15vw;
    max-height: 150px;
    min-height: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    background-color: var(--thirdColor);
    color: white;
}

.navbar img {
    width: 13vw;
    max-width: 150px;
    min-width: 70px;
}

.menu-toggle {
    width: 60vw;
    min-width: 0px;
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
}

.menu {
    width: 50%;
    display: flex;
    flex-direction: row;
    gap: 5vw;
    justify-content: right;
    font-size: clamp(16px, 2.5vw, 35px);
}

.menu a {
    text-decoration: none;
    color: white;
}

.menu a:hover {
    cursor: pointer;
}

.menu li {
    text-decoration: none;
    list-style: none;
}

.menu li:hover {
    cursor: pointer;
}

.menu ul li {
    background: var(--thirdColor);
    border: solid 3px var(--thirdColor);
    padding: 10px 20px;
    box-shadow:none;
    transition: border .2s ease-in-out;
    transition: box-shadow .3s ease-in-out;
}

.menu ul li:hover {
    border: solid 3px var(--thirdColorHover);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.26),
                inset -2px -2px 5px rgba(255, 255, 255, .75);
}

.packages-dropdown {
    position: absolute;
    display:none;
    z-index: 999;
}

.policies-dropdown {
    position: absolute;
    display: none;
    z-index: 999;
}

.nav-packages:hover .packages-dropdown{
    display: block;
}

.nav-policies:hover .policies-dropdown{
    display:block;
}

.nav-quote {
    position: relative;
    height: 65%;
    aspect-ratio: 1/.5;
    background: var(--accentColor);
    border-radius: 50px;
    font-size: clamp(20px, 4vw, 35px);
    border: solid 3px var(--accentColor);
    transition: border .2s ease-in-out;
    color: white;
}

.nav-quote:hover {
    cursor: pointer;
    border: solid 3px white;
}

.burger {
    display: none;
    text-decoration: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
}

/*--------------
--PHONE SCREEN--
--------------*/

@media screen and (max-width: 768px) {
    .menu-toggle {
        width: 35%;
        display: flex;
        justify-content: center;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: fit-content;
        position: absolute;
        margin-right: none;
        z-index: 999;
        margin-top: 35px;
        opacity: 0;
        transition: opacity .2s ease-in-out;
    }

    .menu li {
        padding: 10px 10px;
        font-size: 1.5rem;
        background: var(--thirdColor);
    }
    
    .menu li ul {
        margin-top: 10px;
        left: 0;
    }

    .nav-packages {
        margin-bottom: 0px;
        transition: margin-bottom .3s ease-in-out;
    }

    .nav-packages:hover {
        margin-bottom:280px;
    }

    .packages-dropdown {
        display: block;
        max-height: 0px;
        overflow: hidden;
        transition: max-height .3s ease-in-out;
    }

    .nav-packages:hover .packages-dropdown {
        max-height: 280px;
    }

    /**/

    .nav-policies {
        margin-bottom: 0px;
        transition: margin-bottom .3s ease-in-out;
    }

    .nav-policies:hover {
        margin-bottom:200px;
    }

    .policies-dropdown {
        display: block;
        max-height: 0px;
        overflow: hidden;
        transition: max-height .3s ease-in-out;
    }

    .nav-policies:hover .policies-dropdown {
        max-height: 200px;
    }

    /**/

    .menu li ul li {
        font-size: 1rem;
        border: solid 3px var(--thirdColor);
    }

    .navbar {
        justify-content: space-around;
    }

    .burger {
        display: flex;
        opacity: 1;
        transition: opacity 0s ease-in;
    }

    .menu-toggle:hover .menu {
        display: block;
        opacity: 1;
    }

    .menu-toggle:hover .burger {
        opacity: 0;
    }
}


/*------
--BODY--
------*/


body {
    background-color: var(--backgroundColor);
    height: fit-content;
    overflow-x: hidden;
}

/*------------
--VIDEO/HEAD--
------------*/

.vidContainer {
    overflow: hidden;
    z-index: 1;
    width: 100%;
    position: relative;
    max-height: 40vw;
}

.vidHead {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    color: var(--mainColor);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.vidHead h1 {
    font-size: clamp(1.7rem, 5vw, 7rem);
}

.vidHead h3 {
    font-size: clamp(.8rem, 3vw, 4rem);
    font-weight: lighter;
}

.headerVid {
    width: 100%;
    overflow: hidden;
    object-fit: contain;
}

.quote2 {
    position: relative;
    width: fit-content;
    padding: 0px 20px;
    padding-right: 20px;
    background: var(--accentColor);
    border: none;
    border-radius: 100px;
    overflow: hidden;
    opacity: .85;
    backdrop-filter: blur(10px);
    transition: opactiy .1s ease-in-out;
    transition: padding-right .1s ease-in-out;
    font-size: clamp(1.2rem, 5vw, 5rem);
    color: white;
}

.quote2 a {
    text-decoration: none;
    color: var(--mainColor);
}

.quote2 span {
    position: absolute;
    right: -100%;
    transition: right .2s ease-in-out;
    padding: 0px 25px;
}

.quote2:hover span {
    right: 0;
}

.quote2:hover {
    opacity: 1;
    padding-right: 90px;
    cursor: pointer;
}

/*---------------
--WELCOME/STATS--
---------------*/

.welcome-container {
    width: 100%;
    position: relative;
    display: flex;
    gap: 8%;
    flex-direction: row;
    justify-content: center;
    margin: 5vw 0px;
}

/*
min size - 1.4rem
max size - 6rem
prefered - 3vw
*/

.welcome {
    font-size: clamp(1.4rem, 5vw, 6rem);
    font-weight: bold;
    width: 40%;
}

.summary-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 40%;
    position: relative;
}

.summary {
    font-size: clamp(.70rem, 1.6vw, 2.4rem);
}

.stats-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: clamp(.95rem, 1.8vw, 2.6rem);
    margin-top: 3vw;
}

.blue-stat {
    font-size: clamp(1.2rem, 3vw, 5rem);
    color: var(--accentColor);
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        text-align: center;
    }
}

/*-------------
--RESIDENTIAL--
-------------*/

.residential-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8%;
    margin: 5vw 0px;
}

.residential-container h1 {
    text-align: center;
    font-size: clamp(1rem, 3vw, 3.5rem);
}

.residential-container p {
    font-size: clamp(.7rem, 2vw, 2rem);
}

.res {
    width: 40%;
}

.resPicContainer {
    width: 40%;
    height: 40vw;
    max-height: 550px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resSlideContainer {
    width: 60%;
    height:100%;
    position: relative;
    overflow: hidden;
}

.resSlideTop {
    width: 100%;
    aspect-ratio: 1/.05;
    background:linear-gradient(to bottom, var(--backgroundColor) 50%, rgba(255,255,255, 0)) ;;
    position: absolute;
    top: 0;
    z-index: 999;
}

.resSlideBottom {
    width: 100%;
    aspect-ratio: 1/.05;
    background: linear-gradient(to top, var(--backgroundColor) 50%, rgba(255,255,255, 0)) ;
    position: absolute;
    bottom: 0;
}

.resSlideContainer img {
    width: 100%;
}

.resPicWrapper {
    animation: resSpin 30s infinite linear;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes resSpin {
    from {transform: translate(0,0)}
    to {transform: translate(0, -100%)}
}

/*------------
--COMMERCIAL--
------------*/

.commercial-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8%;
    margin: 5vw 0px;
}

.commercial-container h1 {
    text-align: center;
    font-size: clamp(1rem, 3vw, 3.5rem);
}

.commercial-container p {
    font-size: clamp(.7rem, 2vw, 2rem);
}

.comm {
    width: 40%;
}

.commPicContainer {
    width: 40%;
    height: 40vw;
    max-height: 550px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.commSlideContainer {
    width: 60%;
    height:100%;
    position: relative;
    overflow: hidden;
}

.commSlideTop {
    width: 100%;
    aspect-ratio: 1/.05;
    background:linear-gradient(to bottom, var(--backgroundColor) 50%, rgba(255,255,255, 0)) ;;
    position: absolute;
    top: 0;
    z-index: 999;
}

.commSlideBottom {
    width: 100%;
    aspect-ratio: 1/.05;
    background: linear-gradient(to top, var(--backgroundColor) 50%, rgba(255,255,255, 0)) ;
    position: absolute;
    bottom: 0;
}

.commSlideContainer img {
    width: 100%;
}

.commPicWrapper {
    animation: commSpin 30s infinite linear;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes commSpin {
    from {transform: translate(0,0)}
    to {transform: translate(0, -100%)}
}

/*--------
--FOOTER--
--------*/

.footer {
    width: 100vw;
    height: 200px;
    background: var(--mainColor);
    margin-top: 20px;
}

.footer-links {
    width:100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-links p {
    font-size: 1.2rem;
    color: var(--thirdColor);
    margin: 10px 15px;
}

.footer-links a {
    color: var(--accentColor);
}