/*
Copyright Green Team Consulting 2023
*/

/*#region Variables*/
:root
{
    --green: #0D4426;
    --axolotl: #6C7D4A;
    --grey-green: #444939;
    --light-axolotl: #E3E6DC;
    --sage-green: #7F9F77;
}
/*#endregion Variables*/

/*#region Typography*/
html, body {
    height: 100%;
  }
  body {
    display: flex;
    flex-direction: column;
  }
  .contact-section,
  .ty {
    flex: 1 0 auto;
  }
  footer {
    flex-shrink: 0;
  }

.visually-hidden,
footer .medium-large-view {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap;
  }

footer, footer a{
    font-family: 'Lato', sans-serif;
    color: white;
}

footer .main-content{
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer a{
    text-decoration: none;
}
/*#endregion Typography*/

/*#region Small Screen Size (320-750)*/
footer{
    background-color: var(--green);
}

footer .footer-links{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
}

footer .footer-links a,
footer .footer-links p{
    font-size: 1rem;
    line-height: 1.5rem;
}

footer .footer-logo{
    background-image: url("../img/logos/green-team-logo.jpeg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 125px;
    height: 125px;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

footer .bottom-bar-background{
    background-color: var(--sage-green);
}

footer .bottom-bar{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem;
}

footer .bottom-bar div{
    padding-bottom: 0.5rem;
}

footer .bottom-bar div:last-of-type{
    padding-bottom: 0rem;
}

footer .bottom-bar div p,
footer .bottom-bar div a{
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

footer .bottom-bar .photography a:hover{
    color: var(--green);
    text-decoration: underline;
}

footer .footer-links a:hover,
footer .main-content a:hover,
footer .footer-links p:hover,
footer .main-content p:hover{
    text-decoration: underline;
    cursor: pointer;
}

footer .services-link{
    display: flex;
    align-items: center;
}

footer .services-link svg{
    width: 12px;
    height: 12px;
    transform: rotate(180deg);
    transition: all 0.75s ease;
    margin-left: 0.5rem;
}

footer .services-link svg path{
    fill: white;
}

.footer-services-nav{
    position: absolute;
    max-height: 0vh;
    overflow: hidden;
}

footer .main-content{
    position: relative;
}

footer.open .footer-services-nav{
    position: initial;
    max-height: 100vh;
    overflow: visible;
    transition: all 0.75s ease;
}

footer.open .footer-services-nav a{
    font-size: 1rem;
    text-transform: none;
    margin-left: 0.5rem;
}

footer.open .services-link svg{
    transform: rotate(0deg);
    transition: all 0.75s ease;
}
/*#endregion Small Screen Size (320-750)*/

/*#region Medium Screen Size (751-1160)*/
@media only screen and (min-width: 750px)
{
    footer .medium-large-view{
        position: static; /* Reset the position property */
        clip: auto; /* Reset the clip property */
        padding: 0; /* Reset padding */
        border: 0; /* Reset border */
        height: auto; /* Reset height */
        width: auto; /* Reset width */
        overflow: visible; /* Reset overflow property */
        white-space: normal; /* Reset white-space property */
    }

    footer .mobile-view{
        position: absolute;
        clip: rect(1px, 1px, 1px, 1px);
        padding: 0;
        border: 0;
        height: 1px;
        width: 1px;
        overflow: hidden;
        white-space: nowrap;
    }

    footer .footer-logo-container{
        display: flex;
        align-items: center;
    }

    footer .footer-logo{
        background-image: url("../img/logos/logo-long-dark.png");
        background-size: contain;
        background-repeat: no-repeat;
        width: 43px;
        height: 43px;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
    }

    footer .footer-logo-text{
        display: flex;
        flex-direction: column;
        font-size: 0.6rem;
        font-weight: bold;
    }

    footer .main-content{
        padding: 0.5rem 3rem;
        justify-content: space-around;
    }

    footer .bottom-bar{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }

    footer.open .medium-services-container{
        position: relative;
    }

    footer.open .footer-services-nav{
        position: absolute;
        background-color: var(--green);
        left: -1rem;
        bottom: 0rem;
        margin-bottom: 1.5rem;
        width: 7.5rem;
        padding: 0.5rem;
    }

    footer.open .footer-services-nav li:first-of-type{
        margin-bottom: 0.5rem;
    }

}

@media only screen and (min-width: 882px){
    footer .bottom-bar div{
        padding-bottom: 0rem;
    }
}

/*#endregion Medium Screen Size (751-1160)*/

/*#region Large Screen Size (1161-1920)*/
@media only screen and (min-width: 1161px)
{
    footer .inner-container{
        max-width: 1161px;
        margin: auto;
    }

    footer .main-content a,
    footer .main-content p{
        font-size: 1.25rem;
        cursor: pointer;
    }

    footer .footer-logo{
        width: 66px;
        height: 66px;
    }

    footer .bottom-bar div p,
    footer .bottom-bar div a{
        font-size: 1.12rem;
    }

    footer .footer-logo-text{
        font-size: 0.95rem;
    }
}
/*#endregion Large Screen Size (1161-1920)*/

/*#region Extra Large Screen Size (1921-3840+)*/
@media only screen and (min-width: 1921px)
{

}
/*#endregion Extra Large Screen Size (1921-3840+)*/





