/*@import url(../assets/fonts/Roboto/Roboto-Regular.ttf);*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary: #2971F9;
    --primary-hover: #787ecf;
    --header-height: 68px;
    --fixed-header: 99;
}

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-top: var(--header-height);
}

main {
    flex-grow: 1;
}

img {
    max-width: 100%;
    height: auto;
}
ul {
    list-style: none;
    padding: 0;
}

svg {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    transition: all 0.3s;
}

.center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.hover-bigger {
    overflow: hidden;
}
.hover-bigger img {
    transition: 0.28s;
}
.hover-bigger:hover img {
    transform: scale(1.2);
}

.layout {
    display: grid;
    grid-template-columns: 1fr 24px minmax(0, 1280px) 24px 1fr;
}

.layout > div {
    grid-column: 3/-3;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--fixed-header);
    background-color: #fff;
    width: 100%;
    height: var(--header-height);
    transition: 0.28s;
}
.header.scroll {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 10%);
}
.header-inner {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: 120px;
}

.header nav {
    display: flex;
    gap: 48px;
    margin-left: 48px;
}

.header nav a {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

.header nav a.active-link,
.header nav a:hover {
    color: var(--primary);
    transform: skewX(-18deg);
}

/* FOOTER */
.footer {
    background-color: #2d2d2d;
    padding-top: 38px;
    padding-bottom: 38px;
}

.footer .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5em;
    font-size: 16px;
}
.footer .content > div {
    display: flex;
    gap: 0.5em;
    flex-direction: column;
    text-align: center;
}

.footer .contact-text {
    color: #999999;
    line-height: 1.6;
}

.footer .legal-text {
    color: #cccccc;
}
.footer .legal-text:hover {
    color: #ffffff;
}

/* Media Query */
@media screen and (max-width: 768px) {
    .header nav {
        display: none !important;
    }
}

@media screen and (min-width: 992px) {
    :root {
        --header-height: 80px;
    }
    .header nav {
        gap: 68px;
        margin-left: 68px;
    }
    .header nav a {
        font-size: 20px;
    }
    .header-logo img {
        width: 150px;
    }
    .footer {
        padding-top: 54px;
        padding-bottom: 54px;
    }
    .footer .content {
        font-size: 20px;
        flex-direction: row;
    }
    .footer .content > div {
        flex-direction: row;
        gap: 2em;
        text-align: left;
    }
}

@media screen and (min-width: 1560px) {
    :root {
        --header-height: 100px;
    }
    .layout {
        grid-template-columns: 1fr 24px minmax(0, 1440px) 24px 1fr;
    }
    .header nav {
        gap: 88px;
        margin-left: 88px;
    }
    .header nav a {
        font-size: 24px;
    }
    .header-logo img {
        width: 200px;
    }
    .footer {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .footer .content {
        font-size: 24px;
    }
}
