/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

@font-face {
    font-family: 'Poppins';
    src: url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
}

/* resets */
*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* styles – required */
html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero .hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hero .hero-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero.left-top .hero-image img {
    object-position: left top;
}

.hero.center-top .hero-image img {
    object-position: center top;
}

.hero.right-top .hero-image img {
    object-position: right top;
}

.hero.left-bottom .hero-image img {
    object-position: left bottom;
}

.hero.center-bottom .hero-image img {
    object-position: center bottom;
}

.hero.right-bottom .hero-image img {
    object-position: right bottom;
}

.hero .hero-darken {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

html {
    font-family: 'Poppins', sans-serif;
    font-size: calc(1rem + 0.2 * ((100vw - 20rem) / 50));
    line-height: 1.4rem;
}

h1,
h2 {
    font-family: 'Poppins Condensed', sans-serif;
    font-weight: 700;
    line-height: 2.4rem;
    margin-bottom: 1.4rem;
}

p {
    margin-bottom: 1.4rem;
}

a {
    color: black;
}

a.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

em {
    opacity: .5;
}

main {
    width: 90%;
    max-width: 720px;
    margin: 3em auto 6em auto;
    padding-bottom: 3em;
}

nav {
    position: fixed;
    z-index: 2;
    top: 0px;
    left: 0%;
    width: 100%;
    background-color: #000124;
    text-align: center;
}

nav ul {
    list-style: none;
    display: inline-block;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .1em;
    padding: .5em;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

section {
    padding: 3em 0;
    margin-bottom: 3em;
}

.logo {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    font-size: 24px;
    margin-right: 140px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

@media screen and (min-width: 30em) {
    nav ul li a {
        padding: .5em 1em;
        letter-spacing: .15em;
        opacity: .75;
    }

    nav ul li a:hover {
        opacity: 1;
    }
}

/* nav custom menu */
.hero-title {
    font-family: 'Poppins', sans-serif;
    color: #000124;
    margin-top: 240px !important;
    text-align: center;
    z-index: 100;
}

.hero-title h1 {
    margin-top: -16px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 72px;
    line-height: 52px;
}

.hero-title h2 {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 32px;
    opacity: .6;
}

input[type=checkbox] {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

label {
    display: none;
    cursor: pointer;
    user-select: none;
}

/* background for li / select */
/* custom-dropdown */
nav[role="custom-dropdown"] {
    width: 100%;
}

/* Faq - Accordion */
.accordion {
    font-family: 'Poppins', sans-serif;
}
.accordion .accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

.accordion .accordion-item button[aria-expanded=true] {
    border-bottom: 1px solid black;
}

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: #000124;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}

.accordion button:hover,
.accordion button:focus {
    cursor: pointer;
    color: black;
}

.accordion button:hover::after,
.accordion button:focus::after {
    cursor: pointer;
    color: black;
    border: 1px solid black;
}

.accordion button .accordion-title {
    font-family: 'Poppins', sans-serif;
    padding: 1em 1.5em 1em 0;
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 0;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
}

.accordion button .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.accordion button .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.accordion button[aria-expanded=true] {
    color: #000124;
}

.accordion button[aria-expanded=true] .icon::after {
    width: 0;
}

.accordion button[aria-expanded=true]+.accordion-content {
    opacity: 1;
    max-height: 100em;
    transition: all 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 2em 0;
}

.accordion .accordion-content p {
    font-size: 1rem;
    font-weight: 300;
    margin: 2em 0;
}

/* Our Services */
.card {
    border-radius: 16px;
}

.card img {
    width: 80px;
    height: auto;
    margin-bottom: 32px;
}

.containerFlex {
    width: 100%;
    flex: 1 1 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.containerGrid {
    width: 100%;
    padding: 20px;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr;
}

@media print,
screen and (min-width: 700px) {
    .containerGrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media print,
screen and (min-width: 1150px) {
    .containerGrid {
        grid-template-columns: 1fr 1fr;
    }
}

@media print,
screen and (min-width: 1500px) {
    .containerGrid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.card {
    border: solid 1px lightgray;
    background: white;
    padding: 20px;
    transition: all 200ms ease-in-out;
}

.card:hover {
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
}

.card h3 {
    margin: 0 0 20px 0;
}

.card p {
    margin: 0;
}

.card--flex {
    flex: 1 1 auto;
    margin: 10px;
    max-width: calc(100% - 20px);
}

@media print,
screen and (min-width: 700px) {
    .card--flex {
        max-width: calc(50% - 20px);
    }
}

@media print,
screen and (min-width: 1150px) {
    .card--flex {
        max-width: calc((100% / 2) - 20px);
    }
}

@media print,
screen and (min-width: 1500px) {
    .card--flex {
        max-width: calc(50% - 20px);
    }
}

/* Contact */
.contact-icon {
    padding: 18px 22px;
    background-color: #00012416;
    border-radius: 32px;
    display: inline-block;
    margin-right: 12px;
    height: 58px;
}

/* scroll animation */
.hero .hero-darken:before,
.hero .hero-darken:after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero .hero-darken:before {
    top: 630px;
    width: 30px;
    height: 50px;
    border: 2px solid black;
    border-radius: 12px;
}

.hero .hero-darken:after {
    top: 634px;
    width: 2px;
    height: 12px;
    background-color: black;
    border-radius: 1px;
    animation: scroll 1.5s infinite linear;
}

@keyframes scroll {
    from {
        top: 634px;
    }

    to {
        top: 640px;
    }
}

@media screen and (max-width: 983px) {
    .hero-title h1 {
        font-size: 44px;
    }

    .hero-title h2 {
        font-size: 32px;
    }

    nav ul li a {
        width: 100%;
        padding: 14px 16px;
    }

    .logo {
        font-family: 'Poppins', sans-serif;
        display: inline-block;
        font-size: 24px;
        margin-right: 140px;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        position: absolute;
        left: 0;
        padding: 8px 16px;
    }

    nav[role="custom-dropdown"] ul {
        display: none;
        height: 100%;
    }

    nav[role="custom-dropdown"] label {
        position: relative;
        display: block;
        width: 100%;
        min-height: 2.25em;
        padding: .45em;
        font-size: 1.1em;
        margin: 0;
    }

    nav[role="custom-dropdown"] label:after {
        color: #fff;
        position: absolute;
        right: .25em;
        top: 5px;
        content: "\2261";
        font-size: 1.8em;
    }

    nav[role="custom-dropdown"] input[type=checkbox]:checked~label:after {
        color: #ccc;
    }

    nav[role="custom-dropdown"] input[type=checkbox]:checked~ul {
        display: block;
    }

    nav[role="custom-dropdown"] input[type=checkbox]:checked~ul>li {
        width: 100%;
        opacity: .8;
        text-align: left;
    }

    nav[role="custom-dropdown"] input[type=checkbox]:checked~ul>li:after {
        position: absolute;
        right: .25em;
        content: "\203A";
        font: bold 1.4em sans-serif;
    }
}