@font-face {
    font-family: Speedy;
    src: url("./Speedy.ttf");
}

body {
    font: 10vw Speedy;
    text-transform: uppercase;
    margin: 0;
    background: #000;
}

nav {
    padding: 10px 0;
    height: 30px;
    font-size: 15px;
    background: linear-gradient(180deg, #08213d, #000);
    display: flex;
    overflow: visible;
}

nav [contact] {
    display: flex;
    text-decoration: none;
    background: #20618d;
    padding: 5px 10px;
    height: max-content;
    width: max-content;
    margin: 0 10px 0 auto;
    border-radius: 5px;
    color: #fefefe;
    cursor: pointer;
    user-select: none;
    transition-duration: 200ms;
    line-height: 1.4;
    text-shadow: 1px 1px #000;
}

nav [contact] svg {
    width: 20px;
    height: 20px;
    margin: 0 0 0 5px;
    transition-duration: 200ms;
}

nav [contact]:hover {
    background: #fefefe;
    color: #20618d;
}

[icon] {
    width: 40px;
    height: 40px;
    margin: -5px 5px 0 10px;
    background: url("./icon.svg") no-repeat center center;
    background-size: contain;
    filter: drop-shadow(0 0 2px #000);
}

[company] {
    margin: 0 auto 0 0;
    padding: 5px 0 5px 10px;
    color: #fefefe;
    user-select: none;
    cursor: pointer;
    text-decoration: none;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 550px;
    background: url("./banner.png") no-repeat center center;
    background-size: cover;
    z-index: -1;
}

main h1 {
    font-size: 10vw;
    color: #fefefe;
    margin: 50px 0;
    text-align: center;
    background: linear-gradient(180deg, #fefefe 50%, #151515);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

[load] {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fefefe;
    font-size: 50px;
    user-select: none;
}

[load] span {
    background: #c0c0c0;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    border-radius: 50%;
    transform: scale(0.2);
    border: 2px solid #fefefe;
}

[load] span:nth-child(1) {
    animation: loading 3s ease infinite;
}

[load] span:nth-child(2) {
    animation: loading 3s ease 1s infinite;
}

[load] span:nth-child(3) {
    animation: loading 3s ease 2s infinite;
}

@keyframes loading {
    0% {
        transform: scale(0.2);
    }

    30% {
        transform: scale(1);
        background: #000;
    }

    50% {
        transform: scale(1);
        transform: translateY(-20px);
        background: #faa61a;
    }

    70% {
        transform: scale(1);
        transform: translateY(10px);
        background: #000;
    }

    100% {
        transform: scale(0.2);
    }
}

h4 {
    color: #fefefe;
    font-size: 18px;
    background: #faa61a;
    text-shadow: 1px 1px #000;
    width: max-content;
    margin: -22px auto;
    padding: 5px 10px;
    border-radius: 5px;
    user-select: none;
    font-weight: normal;
}

[loading] {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000;
    transition-duration: 500ms;
}

[loading].hide {
    opacity: 0;
}