/* all */

:root {
    --color-bg1: #081b29;
    --color-bg2: #112e42;
    --color-main: #00abf0;
    --color-text: #ededed;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

body {
    color: var(--color-text);
    background: var(--color-bg1);
}

span {
    color: var(--color-main);
}

/* header */

.header {
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 2rem 9%;
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg1);
}

.header-logo {
    gap: 1rem;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 2.5rem;
}

.header-logo p {
    font-weight: 600;
    font-size: 2.5rem;
}

.header-navbar a {
    font-weight: 500;
    font-size: 1.7rem;
    margin-left: 3.5rem;
    transition: 0.3s;
    color: var(--color-text);
}

.header-navbar a:hover,
.header-navbar a.active {
    color: var(--color-main);
}

#header-menu {
    font-size: 2.5rem;
    cursor: pointer;
    display: none;
}

/* home */

.home {
    gap: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg1);
}

.home-content h1 {
    font-weight: 700;
    font-size: 5.6rem;
}

.home-content h2 {
    font-weight: 700;
    font-size: 3.2rem;
}

.home-image img {
    width: 35vw;
}

/* about */

.about {
    gap: 2rem;
    padding-bottom: 6rem;
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg2);
}

.about-title h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
}

.about-content h2 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

/* policy */

.policy {
    gap: 2rem;
    padding-bottom: 6rem;
    display: flex;
    text-align: left;
    align-items: normal;
    flex-direction: column;
    justify-content: left;
    background: var(--color-bg2);
}

.policy-title h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
}

.policy-content h2 {
    font-size: 2.6rem;
}

.policy-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.policy-content a {
    color: var(--color-main);
}

/* services */

.services {
    padding-bottom: 5rem;
    display: flex;
    min-height: auto;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.services-title h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.services-content {
    gap: 3rem;
    display: flex;
    flex-wrap: wrap;
}

.service {
    flex: 1 1 40rem;
}

.service-title h2 {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 2rem;
}

.service-title p {
    font-size: 1.6rem;
    margin: 0 0 1.5rem 2rem;
}

.service-title a {
    color: var(--color-main);
}

.service-content {
    padding-left: 2rem;
    position: relative;
}

.service-box {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.6rem;
    overflow: hidden;
    position: relative;
    border: 0.2rem solid var(--color-main);
}

.service-box::before {
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: 0.5s;
    content: '';
    position: absolute;
    background: var(--color-bg2);
}

.service-box:hover::before {
    width: 100%;
}

.service-box h3 {
    font-size: 2rem;
    color: var(--color-main);
}

.service-box p {
    font-size: 1.6rem;
    padding-top: 0.5rem;
}

/* contact */

.contact {
    gap: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg2);
}

.contact-content {
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.contact-information {
    gap: 1rem;
    display: flex;
    align-items: center;
}

.contact-information a {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.6rem;
    transition: 0.5s;
    border-radius: 50%;
    display: inline-flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    border: 0.2rem solid var(--color-main);
}

.contact-information a::before {
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: 0.5s;
    content: '';
    position: absolute;
    background: var(--color-main);
}

.contact-information a:hover {
    color: var(--color-bg2);
    background: var(--color-main);
}

.contact-information a:hover::before {
    width: 100%;
}

.contact-information p {
    font-size: 1.6rem;
}

.contact-image img {
    width: 35vw;
}

/* footer */

.footer {
    gap: 1rem;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-bg1);
}

.footer-image img {
    height: 2.5rem;
}

.footer-content p {
    font-size: 1.6rem;
    text-align: center;
}

/* breakpoint */

@media (max-width: 850px) {

    #header-menu {
        display: block;
    }

    .header-navbar {
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 2rem 9%;
        transition: 0.25s ease;
        position: absolute;
        background: var(--color-bg1);
        box-shadow: 0 0.5rem 1rem var(--color-bg1);
    }

    .header-navbar.active {
        left: 0;
    }

    .header-navbar a {
        margin: 3rem 0;
        display: block;
    }

    .home-content {
        text-align: center;
    }

    .home,
    .contact,
    .footer {
        flex-direction: column;
    }

    .home-image img,
    .contact-image img {
        width: 70vw;
    }

}