@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
    --bs-font-sans-serif: 'Roboto', sans-serif;
    --bs-font-monospace: 'Roboto Mono', monospace;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

.main {
    background: url("../img/bg.svg") center center no-repeat;
    background-size: cover;
}

.list-style-none {
    list-style: none;
}

a {
    text-decoration: none;
    font-weight: bold;
}

.header {
    height: 130px;
}

.menu-link {
    color: #363638;
    text-shadow: none;
    font-weight: 500;
}

.menu-link:hover {
    color: #58585a;
    text-shadow: 0 0 1px #7a7a7c;
}

.menu-link:active {
    color: #141416;
    text-shadow:  0 0 1px #363638;
}

@media screen and (max-width: 767px) {
    .header {
        height: 50px;
    }

    .menu-nav {
        position: absolute;
        right: 0;
        top: calc(50px - 0.5rem);
        background-color: #ffffff;
        border: 1px solid #aaaaaa;
        border-radius: 5px;
        padding: 10px 20px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 600ms ease, visibility 600ms ease;
    }

    .menu-nav.opened {
        opacity: 1;
        visibility: visible;
    }
}

.nav-menu-btn {
    position: absolute;
    background-color: transparent;
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
    padding: 0;
    top: 2px;
    right: 10px;
}

.nav-menu-btn svg {
    width: 100%;
    height: 100%;
}

.nav-menu-btn .line {
    fill: none;
    stroke: #58585a;;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu-btn .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.nav-menu-btn .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}

.nav-menu-btn .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}

.nav-menu-btn.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.nav-menu-btn.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}

.nav-menu-btn.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}

.content {
    color: #272728;
}

.footer {
    height: 100px;
    color: #231f20;
}

@media screen and (max-width: 767px) {
    .footer {
        height: 60px;
    }
}

.footer-social a {
    color: #231f20;
}

.footer-social div {
    font-size: 0.7rem;
}

.home-content {
    color: #7394ce;
}

.home-content h2 {
    max-width: 590px;
    position: relative;
}

.home-content h2:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 2rem;
    background-color: #231f20;
    animation: type-anime 1.3s linear infinite;
}

.home-content h2:after {
    content: '';
    position: absolute;
    top: 0;
    left: 1px;
    width: 2px;
    height: 0.5rem;
    background-color: #231f20;
    animation: type-anime 1.3s linear infinite;
}

@keyframes type-anime {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    51% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/*Contact*/
.map-container {
    height: 30vh;
    max-height: 400px;
}

.contact-text, .contact-text a {
    color: #236FA1;
}

.contact-text a:hover {
    color: #458FC3;
}
