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

* {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    padding: 2vh 2vh 2vh 2vh;
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffc800;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: backgroundFade 0.5s ease 1.5s forwards;
}

  #loader img {
    width: min(65vw, 320px);
    height: auto;
    animation: logoMotion 1.5s ease-in-out forwards;
  }

  @keyframes logoMotion {
    0% {
      opacity: 0;
      transform: scale(0.7);
    }
    20% {
      opacity: 1;
      transform: scale(1.15);
    }
    55% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(0);
    }
  }

  @keyframes backgroundFade {
    to {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
}

nav {
    position: relative;
    background: #ffc800;
    width: 100%;
    height: 11vh;
    border-radius: 2.5vh;
    display: flex;
    align-items: center;
    justify-content: left;
    box-sizing: border-box;
    padding: 0 6vh 0 6vh;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

nav .left, nav .right {
    width: 50%;
    height: inherit;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

nav .right {
    justify-content: flex-end !important;
}

#main {
    width: 100%;
    height: calc(100vh - 11vh - 4vh);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 5vh 0 5vh;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(35vh + 21vh);
    height: 100%;
    display: flex;
}

.background-container .black-background {
    background: #000000;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-top-left-radius: 2.5vh;
    border-bottom-left-radius: 2.5vh;
}

.background-container .triangle {
    height: 100%;
}

nav .logo {
    max-height: 7vh;
}

.corner {
    overflow: hidden;
    position: absolute;
    background-image: url('../resources/corner.png');
    opacity: 0.5;
    top: -2vh;
    left: 0;
    transform: rotate(90deg);
    width: 30vh;
    height: 30vh;
}

.cornerbottom {
    overflow: hidden;
    position: absolute;
    background-image: url('../resources/corner.png');
    opacity: 0.5;
    bottom: 0;
    right: 0;
    transform: rotate(-90deg);
    width: 30vh;
    height: 30vh;
}

.main-button {
    padding: 2vh 2vh 2vh 2vh;
    background: #000000;
    border-radius: 2vh;
    width: 30vh;
    height: 3vh;
    outline: hidden;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .2s;
}

.main-button span {
    color: #ffffff;
    font-size: 2.35vh;
    text-align: center;
}

.main-button .arrow {
    width: 3vh;
    height: 3vh;
    margin-left: 1vh;
}

.main-button:hover {
    transform: scale(1.03);
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 1000;
    font-size: 9vh;
    color: #ffffff;
}

span, a, p {
    color: #000000;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

nav .right a {
    margin-right: 5vh;
}

a {
    color: #000000;
    text-decoration: none;
    font-size: 2.35vh;
}