/* Variables */
:root {
    --mq-small: 375px;
    --mq-medium: 730px;
    --mq-large: 1280px;
}
/* Font */

@font-face {
    font-family: "OpenSans-Regular";
    src: url("font/Open_Sans/OpenSans-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "OpenSans-SemiBold";
    src: url("font/Open_Sans/OpenSans-SemiBold.ttf") format("truetype");
}

/* Globals */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
}

/* Main Page Settings */
@keyframes poolside_gradient {
    0% {
        background-position: 50% 0%;
    }
    50% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 50% 0%;
    }
}

body {
    background: linear-gradient(-20deg, rgba(240, 130, 91, 1), rgba(255, 206, 0, 1), rgba(133, 247, 181, 1), rgba(219, 139, 238, 1));
    background-size: 100% 400%;
    animation: poolside_gradient 20s linear infinite;
    color: white;
}
main {
    padding-top: 4.5vh;
    padding-left: 4.1vw;
    padding-right: 4.1vw;
}
@media only screen and (min-width: 376px) {
    main {
        padding-left: 32px;
        padding-right: 32px;
    }
}
@media only screen and (min-width: 730px) {
    main {
        /* padding:40px 48px; */
        padding-top: 5.1vh;
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Header */
header {
    position: relative;
}
.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 91vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero h1,
.hero h2 {
    display: none;
}
.hero img {
    width: 95%;
    max-width: 275px;
}
.hero img.logo_desktop {
    display: none;
}

@media only screen and (min-width: 376px) {
    .hero img.logo_desktop {
        display: block;
    }
    .hero img.logo_mobile {
        display: none;
    }
}
.hero-background {
    width: 100%;
    height: 91vh;
    margin-bottom: 4.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("img/Poolside-Header.jpg") no-repeat;
    mix-blend-mode: multiply;
    background-position: 70% 0%;
    background-size: cover;
}
@media only screen and (min-width: 376px) {
    .hero img {
        max-width: 630px;
        width: 70vw;
    }
    .hero-background {
        background-position: 50% 0%;
    }
}
/* Content */
#content {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}
.claim {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 70px;
    margin-left: auto;
    margin-right: auto;
    font-family: "OpenSans-Regular", sans-serif;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 1.12px;
    max-width: 700px;
}
.claim .headline {
    text-align: center;
    font-size: 34px;
    font-weight: bold;
}
@media only screen and (min-width: 376px) {
    .claim {
        margin-top: 126px;
        font-size: 28px;
        line-height: 40px;
        letter-spacing: 1.12px;
    }
}
@media only screen and (min-width: 730px) {
    .claim {
        margin-top: 153px;
    }
}
.services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}
.services .service {
    /* width: 100%; */
    padding: 0.5em;
    border-radius: 10px;
    text-align: center;
    background: white;
    color: gray;
    /* margin-bottom: 50px; */
    font-family: "OpenSans-Regular", sans-serif;
}
@media (max-width: 800px) {
    .services {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 450px) {
    .services {
        grid-template-columns: 1fr;
    }
}
.clients.mobile {
    margin-bottom: 150px;
}
.clients.desktop {
    display: none;
    margin-bottom: 180px;
}
@media only screen and (min-width: 600px) {
    .clients.mobile {
        display: none;
    }
    .clients.desktop {
        display: block;
    }
}

.contact {
    text-align: center;
    font-family: "OpenSans-SemiBold", sans-serif;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 0.52px;
}
.contact a {
    color: white;
    font-family: "OpenSans-SemiBold", sans-serif;
    font-size: 13px;
    line-height: 50px;
    letter-spacing: 0.4px;
    text-decoration: none;
    border: 2px solid white;
    display: inline-block;
    width: 300px;
    border: 3px solid #ffffff;
    margin-bottom: 15px;
    max-width: 90%;
}
@keyframes slidebg {
    to {
        background-position: 20vw;
    }
}
.contact a:hover {
    /* background-image: linear-gradient(-20deg, rgba(240, 130, 91, 1), rgba(255, 206, 0, 1), rgba(133, 247, 181, 1), rgba(219, 139, 238, 1)); */
    /* animation:slidebg 5s linear infinite; */
    border: 3px solid black;
    color: black;
    opacity: 0.3;
}
@media only screen and (min-width: 730px) {
    .contact {
        font-size: 18px;
        line-height: 33px;
        letter-spacing: 0.72px;
    }
    .contact a {
        font-size: 26px;
        line-height: 62px;
        width: 400px;
    }
}

/* Footer */

footer {
    margin-top: 174px;
    font-family: "OpenSans-Regular", sans-serif;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.3px;
    color: white;
}
footer a {
    color: white;
    text-decoration: none;
}
footer .left.mobile {
    text-align: center;
}
footer .right {
    margin: 1em 0;
    text-align: center;
}
footer .right a {
    padding: 0 1em;
}
footer .right a:hover {
    text-decoration: underline;
}
footer .left.desktop {
    display: none;
}

@media only screen and (min-width: 730px) {
    footer {
        margin-top: 240px;
        display: flex;
        justify-content: space-between;
    }
    footer .left.mobile {
        display: none;
    }
    footer .left.desktop {
        display: block;
        margin: 1em 0;
    }
    /* footer .right{
        text-align: right;
    } */
}
@media only screen and (min-width: 1280px) {
    footer {
        margin-top: 300px;
        margin-bottom: 1em;
    }
}
