/* Main Styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-image: url('../images/bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Content Styles */
.main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    width: 300px;
}
.container  {
    position: relative;
    display: none;
}
.flag {
    width: 40px;
    display: block;
    margin: 0 auto;
}
.title {
    font-family: "Beba";
    color: white;
    font-size: 32px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 15px;
    text-shadow:0 0 30px #ff0099, 0 0 30px #ff009963, 0 0 5px #ff0099
}
.buttons {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.buttons__btn {
    text-align: center;
    padding: 15px 0;
    text-decoration: none;
    color: white;
    font-family: "Beba";
    font-size: 28px;
    width: 130px;
    display: block;
    border: 2px solid white;
    box-shadow: 0 0 .1rem #fff,
            0 0 .1rem #fff,
            0 0 5px #fe6c8e,
            0 0 5px #fe6c8e,
            0 0 5px #fe6c8e,
            inset 0 0 5px #fe6c8e; 

}
.buttons__btn:first-child {
    margin-right: 30px;
    background-color: #ff0099;
}
.buttons__btn:nth-child(2) {
    background-color: #feb2bd;
}
.model__img {
    position: absolute;
    width: 100%;
    left: -15%;
    bottom: 0;
}


.preloader {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    opacity: 0;
    pointer-events: auto;
    transition: all 1s 1s;
    z-index: -1;
  }
  
  .preloader.active {
    opacity: 1;
    z-index: 1000;
  }
  
  .preloader__wrapper {
    position: relative;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: fit-content;
  }
  
  .heart {
    position: absolute;
    top: 12px;
    width: 25px;
  }
  
  .heart-1 {
    left: 5px;
    animation: heart-1-scale;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
  
  .heart-2 {
    right: 5px;
    animation: heart-2-scale;
    animation-duration: 1.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
  
  .preloader__text {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-weight: 700;
    clip-path: inset(0 2ch 0 0);
    animation: dots 1s steps(3) infinite;
    color: black;
    font-size: 72px;
    font-family: serif;
  }


@keyframes heart-1-scale {
    0% {
      transform: scale(100%);
    }
    50% {
      transform: scale(130%);
    }
    100% {
      transform: scale(70%);
    }
  }
  
@keyframes heart-2-scale {
    0% {
      transform: scale(100%);
    }
    50% {
      transform: scale(70%);
    }
    100% {
      transform: scale(130%);
    }
  }
  
@keyframes dots {
    to {
      clip-path: inset(0 -1ch 0 0);
    }
  }
  


/* Адаптація */
@media screen and (max-width: 445px) {
    .flag {
        width: 35px;
    }
    .title {
        font-size: 32px;
    }
    .buttons__btn {
        font-size: 28px;
        width: 110px;
        padding: 10px 0;
    }
    .model__img {
        width: 115%;
        left: -20%;
        bottom: 0%;
    }
}


@media screen and (max-height: 600px) {
    .model__img {
        width: 80%;
        left: -10%;
    }
}
@media screen and (min-height: 860px) {
    .model__img {
        width: 180%;
        left: -95%;
    }
}
@media screen and (min-width: 1200px) {
    .model__img {
        width: 400px;
        left: -45%;
    }
}

/* Підключення шрифтів */
@font-face {
    font-family: "Beba";
    src: url('../fonts/bebasneuecyrillic.ttf');
    font-weight: 400;
}

@font-face {
    font-family: "Tex Bold";
    src: url('../fonts/TeXGyreAdventor-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: "Big Shoulders";
    src: url('../fonts/BigShouldersDisplay-VariableFont_wght.ttf');
    font-weight: 400;
}