@font-face {
    font-family: NeverMindRounded-Regular;
    src: url('https://cdn.teleqom.org/fonts/NeverMindRounded/NeverMindRounded-Regular.woff2');
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    text-decoration: none;
    scroll-behavior: smooth;
    color: #fff;
    font-family: NeverMindRounded-Regular, sans-serif;
}

html {
    background: #0d0f13;
}

body {
    height: 100%;
    overflow: hidden;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    margin: 0.5rem;
    padding: 0.5rem;
    background: #1b1f27;
    border-radius: 0.5rem;
}

nav svg {
    height: 3rem;
}

main {
    display: flex;
    flex-direction: column;
    overflow: auto;
    height: calc(100dvh - 6.5rem);
    margin: 0 0.5rem 0.5rem 0.5rem;
    padding: 1rem;
    background: #1b1f27;
    border-radius: 0.5rem;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;

}

section:not(:last-child) {
    margin-bottom: 1.5rem;
}

section h1 {
    align-self: center;
    margin-bottom: 1rem;
}

section p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.cards {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    gap: 1rem;
    
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    padding: 1rem;
    width: 25rem;
    border-radius: 0.5rem;
    box-shadow: 0.1rem 0.2rem 0.3rem 0.1rem black;
    margin-bottom: 1.5rem;
    background: #222731;
}

.card img {
    height: 4rem;
    width: 4rem;
    margin-bottom: 1rem;
}

.card h2 {
    margin-bottom: 0.5rem;
}

a {
    padding: 0.4rem 0.6rem;
    box-shadow: 0 0.25rem 0.5rem 0 #20a6ff inset, 0.1rem 0.1rem 0.2rem 0.05rem black;
    border: none;
    background: linear-gradient(-180deg, #08a1e7 0%, #017aca 100%);
    border-radius: 1rem;
}

a:hover {
    filter: brightness(110%);
}

.mb-1 {
    margin-bottom: 1.2rem;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-buttons a {
    font-weight: bold;
}

.loader {
    position: absolute;
    top: 6rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    height: calc(100dvh - 6.5rem);
    background: #1b1f27;
    border-radius: 0.5rem;
    opacity: 1;
}

.loader.loaded {
    opacity: 0;
    transition: opacity 500ms;
}

.loader svg {
    height: 5rem;
    width: 5rem;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
}

@media screen and (max-width: 599px) {
    .card {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
