@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');
*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
a {
    text-decoration: none;
}
section:not(#landing, #about, #slider) {
    margin: 0 auto;
    max-width: 1400px;
}
.section__title {
    text-align: center;
    padding-top: 12px;
    font-size: 60px;
}
.hr {
    width: 30%;
    border: 1px solid #ffffff;
    margin: 24px auto;
}
html {
    scroll-behavior: smooth;
}
.btn--pressed:active {
    transform: scale(0.9);
}
.link__hover {
    position: relative;
}
.link__hover::after {
    content: "";
    position: absolute;
    bottom: -3px;
    height: 2px;
    width: 0;
    right: 0;
    transition: all 300ms ease;
    background-color: #fff;
}
.link__hover--blue::after {
    background-color: #00a4d6;
}
.link__hover:hover::after {
    left: 0;
    width: 100%;
}
/* 

NAVBAR

*/
nav {
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.3);
    background-color: rgba(41, 41, 41, 0.8);
    position: absolute;
    width: 100%;
    z-index: 100;
}
.nav__content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 12px 24px;
}
.nav__list {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: center;
}
.nav__links {
    margin: 0 24px;
}
.nav__link {
    color: #00a4d6;
    font-size: 22px;
}
.nav__logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    user-select: none;
}
.nav__logo--text {
    position: absolute;
    bottom: 0;
    left: 55px;
    color: #00a4d6;
}
.nav__logo--img {
    margin-right: 8px;
    height: 50px;
    width: 50px;
    filter: invert(44%) sepia(88%) saturate(607%) hue-rotate(151deg) brightness(96%) contrast(105%);
}
/*

NAVBAR BURGER

*/
.btn__burger {
    border: 0;
    background-color: transparent;
    font-size: 40px;
    color: #00a4d6;
    display: none;
}
.nav__burger {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-color: rgba(36, 36, 36, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
}
.nav__burger--open .nav__burger {
    opacity: 1;
    visibility: visible;
}
.nav__burger--open {
    height: 100vh;
    overflow-y: hidden;
}
.btn__burger--close {
    position: absolute;
    right: 24px;
    top: 24px;
    border: 0;
    background-color: transparent;
    font-size: 40px;
    color: #00a4d6;
}
.burger__list {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    align-items: center;
    justify-content: center;
}
.burger__links {
    margin: 24px;
}
.burger__link {
    font-size: 40px;
    color: #00a4d6;  
}
/* 

Landing page

*/
.landing__container {
    position: relative;
    overflow: hidden;
}
.paralax__container {
    background-image: url('./assets/lawn-mow.jpeg');
    width: 100%;
    min-height: 100vh;
    /* min-height: calc(100vh - 80px); */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.paralax__description {
    margin-left: 10%;
    max-width: 600px;
}
.paralax__heading, .paralax__text {
    color: #00a4d6;
    text-shadow: 1px  1px 4px black,
        1px -1px 4px black,
       -1px  1px 4px black,
       -1px -1px 4px black;
}
.paralax__heading {
    font-size: 120px;
    margin: 24px 0;
}
.paralax__text {
    font-size: 32px;
    max-width: 650px;
}
.mower__scroll--wrapper {
    width: 100%;
}
#mower__scroll {
    position: absolute;
    bottom: -11px;
    transition: left ease 50ms;
    user-select: none;
}
#mower__scroll:hover {
    filter: brightness(80%);
}
/* 

ABOUT

*/
#about {
    width: 100%;
}
.about__content {
    display: flex;
    justify-content: center;

}
.about__description {
    width: 50%;
    padding: 12px 24px;
}
.about__description--inner {
    max-width: 600px;
}
.about__description--right {
    float: right;
}
.about__colour--1 {
    background-color: #00a4d6;
}
.about__colour--2 {
    background-color: #0082aa;
}
.about__title {
    text-align: center;
    font-size: 48px;
}
.about__text {

    text-align: center;
    margin: 24px 12px;
    font-size: 24px;
    line-height: 1.3;
}
/* 

SERVICES

*/
.service__container {
    padding: 4px;
}
.service__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.service__item {
    width: calc(100% / 2);
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
}
.service__item--hide {
    margin-left: -500px;
    opacity: 0;
}
.service__img--wrapper {
    width: 100%;
    height: 400px;
    margin: 0 24px;
    overflow: hidden;
}
.service__img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}
.service__description {
    border-radius: 12px;
    background-color: #00a4d6;
    width: 90%;
    padding: 8px;
    transform: translateY(-32px);
    box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.3);
}
.service__title {
    font-size: 40px;
    text-align: center;
    margin: 24px 0;
}
.service__text--list {
    margin: 32px 32px;
    font-size: 24px;
    line-height: 1.5;
    list-style-type: none;
    position: relative;
}
.service__text--list li {
    margin: 16px 0;
    padding-left: 40px;
}
.service__text--list li::before {
    content: '\1F333'; 
    width: 10px;
    height: 10px;
    left: 0px;
    position: absolute;
}
/* 

SLIDER

*/

#slider {
    user-select: none;
    background-color: #00a4d6;
    display: none;
}
.slider__container {
    margin: 0 auto;
    max-width: 1400px;
    position: relative;
    overflow: hidden;
}
.slider__item {
    margin: auto;
    display: none;
    text-align: center;
    background-color: rgba(36, 36, 36, 0.9);
    align-items: center;
    justify-content: center;
    height: 600px;
}
.slider__item--show {
    display: flex;
}
.slider__img {
    height: 100%;
}
.slider__caption {
    position: absolute;
    bottom: 24px;
    font-size: 24px;
    text-align: center;
    width: 100%;
    color: #00a4d6;
    text-shadow: 1px  1px 4px black,
    1px -1px 4px black,
   -1px  1px 4px black,
   -1px -1px 4px black;
}
.slider__position {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 4px;
}
.dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 100ms ease;
}
.dot:hover, .slider__next:hover, .slider__prev:hover  {
    background-color: #006381;
}
.slider__dot--active {
    background-color: #00a4d6;
}
.slider__nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 100%;
}
.slider__next, .slider__prev {
    position: absolute;
    padding: 0 12px;
    font-size: 60px;
    color: #00a4d6;
    cursor: pointer;
    transition: all 200ms ease;
}
.slider__prev {
    left: 0;
}
.slider__next {
    right: 0;
}

.fade {
    animation: fade 1s ease;
}  
  @keyframes fade {
    0% {opacity: .75} 
    100% {opacity: 1}
}
/* 

CONTACT

*/
.contact__container {
    padding: 12px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.contact__form {
    position: relative;
}
.contact--split {
    width: 50%;
    margin: 12px;
}
.contact__map--map {
    width: 100%;
    height: 500px;
}
.form {
    display: flex;
    flex-direction: column;
    width: 100%;
}
input, .form textarea {
    margin-top: 8px;
    margin-bottom: 24px;
    border: none;
    outline: none;
    border-bottom: 3px solid #00a4d6;
    font-size: 18px;
    padding: 4px;
    transition: border 300ms ease;
}
input:focus, .form textarea:focus {
    border-color: #006381;
}
input:hover, .form textarea:hover {
    border-color: #0082aa;
}
.form textarea {
    min-height: 150px;
    max-width: 100%;
    resize: vertical;
}
.form__heading {
    font-size: 18px;
}
.form__btn {
    width: 50%;
    margin: 0 auto;
    padding: 8px;
    background-color: #00a4d6;
    border: none;
}
.form__btn:hover {
    background-color: #006381;
}
.form__radio {
    margin: 4px 0;
    font-size: 12px;
}
.form__radio input{
    margin: 0 8px;
}
.form__contact__choice {
    display: flex;
    flex-direction: column;
}
#tel {
    display: none;
}
.contact__form--success {
    display: none;
    text-align: center;
    margin-top: 24px;
    color: #007900;
}
.spinner {
    z-index: -1;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.contact__form--loading {
    filter: blur(2px);
}
.loading--visible {
    z-index: 1;
    display: flex;
}
.fa-spinner {
    font-size: 80px;
    color: #00a4d6;
    animation: spinner 1000ms infinite linear;
}
@keyframes spinner {
    0% {
      transform: rotate(0);
    }
    100% {
      transform: rotate(360deg);
    }
}
/* 

FOOTER

*/
.footer {
    background-color: rgb(41, 41, 41);
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.footer__logo {
    margin: 50px 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    left: -4px;
    user-select: none;
}
.footer__logo:hover .logo__text{
    opacity: 0;
}
.footer__logo:hover .logo__text--hover{
    opacity: 1;
}
.logo__text--hover {
    opacity: 0;
}
.footer__link {
    margin: 24px;
    color: white;
}
.logo--img {
    height: 50px;
    width: 50px;
    filter: invert(44%) sepia(88%) saturate(607%) hue-rotate(151deg) brightness(96%) contrast(105%);
}
.logo__text, .logo__text--hover {
    color: #00a4d6;
    transition: all 200ms ease;
    position: absolute;
    width: 100%;
    top: 50px;
}
.footer__rights {
    opacity: .6;
    margin: 24px 0;
    font-size: 14px;
    color: white;
    display: flex;
    justify-content: space-between;
}
.footer__rights a {
    color: #00a4d6;
}
/* 

RESPONSIVE

*/
@media (max-width: 850px) {
    .about__content {
        flex-direction: column;
    }
    .about__description {
        width: 100%;
    }
    .about__description--inner {
        max-width: 100%;
    }
    .service__title {
        font-size: 32px;
    }
    .service__text--list {
        font-size: 18px;
    }
    .service__item {
        width: 100%;
    }
    .slider__item {
        height: 500px;
    }
    .contact__container {
        flex-direction: column;
    }
    .contact--split {
        width: 90%;
        margin: 24px;
    }
    .contact__map--map {
        width: 100%;
    }
    .contact__form {
        max-width: 600px;
    }
    .contact__form {
        margin: 0 auto;
    }
    .nav__list {
        display: none;
    }
    .btn__burger {
        display: block;
    }
}
@media (max-width: 500px) {
    .paralax__heading {
        font-size: 80px;
    }
    .paralax__text {
        font-size: 24px;
    }
    .about__title {
        font-size: 36px;
    }
    .about__text {
        font-size: 20px;
    }
    .slider__item {
        height: 400px;
    }
}
