*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img,
picture,
svg {
    max-width: 100%;
    display: block;
}

body {
    color: #A65D48;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.5rem;
    min-height: 100vh;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.bg-video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.header {
    width: 30vw;
    padding: 22px 28px;
    position: relative;
    left: 35vw;
}

h4 {
    text-transform: uppercase;
    font-weight: inherit;
    margin: 0;
    margin-bottom: 1rem;
    padding: 0;
}

.main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.main_left {
    margin: 22px 28px;
    display: grid;
    gap: 1rem;
}

.main > div {
    margin-top: 15rem;
    flex: 1;
}

.main_right {
    margin: 22px 90px;
    display: grid;
    justify-items: end;
}

.main_center {
    justify-self: center;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.main_center a {
    color: white;
    text-decoration: none;
    background-color: #0C285B;
    font-family: inherit;
    width: max-content;
    padding: 8px 16px;
    border-radius: 5px;
    margin-top: 2.5rem;
    letter-spacing: 1%;
}

.main_center a:hover {
    background-color: #A65D48;
}

.main_right a {
    color: inherit;
    text-decoration: none;
}

.main_right a:hover {
    text-decoration: underline;
}

@media screen and (width < 750px) {
    .header {
        width: 90%;
        left: 5%;
    }
    .main {
        grid-template-columns: 1fr;
        grid-template-rows: max-content;
        margin-inline: 22px;
    }
    .main > div {
        margin-top: 5rem;
    }
    .main_left,
    .main_right {
        margin: 0;
    }
    .main_center {
        justify-self: start;
    }
    .main_right {
        justify-items: start;
    }
    .main > div {
        justify-items: start;
    }
    .main_right {
        margin-bottom: 1rem;
    }
}

/* HARD-disable system cursor */
html,
body,
html * {
  cursor: none !important;
}

/* Custom cursor */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647;
  background: white;
  filter: blur(6px);
  opacity: 0.85;

  transform: translate(-50%, -50%);
  transition:
    width 0.15s ease,
    height 0.15s ease,
    opacity 0.15s ease;
}
@media screen and (width < 750px) {
    #cursor {
        display: none;
    }
}
/* Hover state */
#cursor.is-hover {
  animation: pulse 2s infinite;
}

.lang_button {
    position: fixed;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    color: #A65D48;
}
.lang_button a {
    color: inherit;
    text-decoration: none;
}
.lang_button a:hover {
    color: #0C285B;
}
.lang_button {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang_button img {
    width: 16px;
}
@keyframes pulse {
    0% {
        width: 50px;
        height: 50px;
    }

    70% {
        width: 70px;
        height: 70px;
    }

    100% {
        width: 50px;
        height: 50px;
    }
}