/* =========================================================
   FONT
========================================================= */

@font-face {
    font-family: "MyFont";
    src: url("/Fonts/pirkkala.ttf") format("truetype");
    font-display: swap;
}

/* =========================================================
   RESET
========================================================= */

/* =========================================================
   Color
========================================================= */

.red{color:rgb(175, 0, 0)}

.green{color:rgb(0, 162, 19)}

.blue{color:rgb(4, 187, 237)}

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

html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 20px;

    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #000;
    color: white;

    font-family: "MyFont", sans-serif;
    font-size: 1rem;
    font-weight: 300;
}

/* =========================================================
   GENERAL TEXT
========================================================= */

h1 {
    margin: 0 0 20px 0;

    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;

    text-align: center;
}

p {
    margin: 0;

    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;

    text-align: center;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================================================
   CONTAINERS
========================================================= */

.center,
.content {
    width: min(100%, 900px);

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   LOGIN FORM
========================================================= */

.login-form {
    width: 100%;
    max-width: 420px;

    display: flex;
    flex-direction: column;
    gap: 18px;

    padding: 40px 32px;

    background: rgba(0, 0, 0, 0.82);

    border-radius: 12px;
}

/* =========================================================
   INPUTS
========================================================= */

.form-input-material {
    width: 100%;
    position: relative;
}

.form-input-material input {
    width: 100%;

    border: none;
    border-bottom: 2px solid white;

    background: transparent;

    color: white;

    padding: 12px 0;

    outline: none;

    font: inherit;
}

.form-input-material label {
    position: absolute;

    left: 0;
    top: 50%;

    transform: translateY(-50%);

    pointer-events: none;

    color: rgba(255,255,255,.85);

    transition: .2s;
}

.form-input-material input:focus + label,
.form-input-material input:not(:placeholder-shown) + label {
    top: 0;
    font-size: .85rem;
}

/* =========================================================
   BUTTON
========================================================= */

button,
.btn {
    width: 100%;

    padding: 14px;

    background: transparent;

    border: 2px solid #f8ff39;

    color: #f8ff39;

    cursor: pointer;

    font: inherit;

    transition: .3s;

    position: relative;

    overflow: hidden;
}

.btn::before {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(248,255,57,.35),
        transparent
    );

    transform: translateX(-100%);

    transition: .6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

button:hover,
.btn:hover {
    box-shadow: 0 0 20px rgba(248,255,57,.35);
}

.login-wrap
{  
    display: flex;  
    flex-direction: column;  
    align-items: 
    center;  
    width: 100%;}



/* =========================================================
   Download
========================================================= */

.download_green {
  background-color: rgb(30, 255, 86);
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
}

.download_blue {
  background-color: rgb(30, 248, 255);
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
}

.download_red {
  background-color: rgb(255, 30, 30);
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;
}

.download_green:hover {
  background-color: rgb(73, 225, 65);
}

.download_blue:hover {
  background-color: rgb(65, 150, 225);
}

.download_red:hover {
  background-color: rgb(225, 65, 65);
}

.hidden{
    display: none;
}


/* =========================================================
   Animation
========================================================= */



.animation {
  margin-top: 50px;
  position: relative;
  font-family: "MyFont" , sans-serif;
  text-transform: uppercase;
  font-size: 2em;
  letter-spacing: 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #000, #fff, #000);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 7s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

@keyframes animate {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}



/* =========================================================
   SECRET PAGE CONTENT
========================================================= */

.secret-page {
    width: min(900px, 90vw);

    text-align: center;
}

.secret-page h1 {
    margin-bottom: 20px;
}

.secret-page p {
    margin-bottom: 20px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    body {
        padding: 16px;
    }

    .login-form {
        max-width: 100%;
        padding: 30px 24px;
    }

    h1 {
        font-size: 2.2rem;
    }

    p {
        font-size: 1.05rem;
    }

    button,
    .btn {
        padding: 16px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    body {
        padding: 12px;
    }

    .login-form {
        padding: 24px 18px;
    }

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }
}