@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Crete+Round:ital@0;1&family=Titan+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* HEADER STYLES */
.header-web {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, .1);
    align-items: center;
    z-index: 100;
}
.header-web::after{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
  transition: .5s ease;
}
.header-web:hover::after{
  left: 100%;
}
.logo {
    font-size: 2.3rem;
    color: white;
    text-decoration: none;
    font-weight: 800;
}
.navbar-web a {
    font-size: 1.80rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 2.5rem;
    transition: .3s;
}
#check { display: none; }
.icon {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: white;
    cursor: pointer;
    display: none;
}

.header-text {
    text-align: center;
    padding-top: 100px;
    margin-bottom: 30px;
}
.header-text h1 {
    font-size: 2.8rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.subtitle {
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.login-wrapper {
    position: relative;
    width: 400px;
    height: 450px;
    margin: 0 auto 50px auto;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    backdrop-filter: blur(0px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: height .2s ease;
}


.login-wrapper.active {
    height: 520px;
}

.login-wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.login-wrapper .form-box.login {
    transition: transform .18s ease;
    transform: translateX(0);
}

.login-wrapper .form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
}


.login-wrapper.active .form-box.login {
    transition: none;
    transform: translateX(-400px);
}


.login-wrapper.active .form-box.register {
    transition: transform .18s ease;
    transform: translateX(0);
}

.form-box h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #fff;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #fff;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #fff;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #fff;
    line-height: 57px;
}

.remember-forgot {
    font-size: .9em;
    color: #fff;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}
.remember-forgot label input {
    accent-color: #fff;
    margin-right: 3px;
}
.remember-forgot a {
    color: #fff;
    text-decoration: none;
}
.remember-forgot a:hover { text-decoration: underline; }

.btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #333;
    font-weight: 600;
    transition: .3s;
}
.btn:hover { background: #ddd; }

.login-register {
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}
.login-register p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.login-register p a:hover { text-decoration: underline; }

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.9rem;

    -webkit-
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer-link:hover {
    text-decoration: underline;
}
@media (max-width: 1024px) {
  .header-web { padding: 1.3rem 5%; }
}
@media (max-width: 768px) {
  .icon { display: inline-flex; z-index: 101; }
  #check:checked~ .icon #menu-icon { display: none; }
  .icon #close-icon { display: none; }
  #check:checked~ .icon #close-icon { display: block; }
  .navbar-web {
    position: absolute;
    top: 100%; left: 0; width: 100%; height: 0;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(5px);
    overflow: hidden;
    transition: .3s ease;
  }
  #check:checked~ .navbar-web { height: 17.7rem; }
  .navbar-web a {
    display: block; font-size: 1.60rem; margin: 1.3rem 0;
    text-align: center; opacity: 0; transform: translateY(-50px);
    transition: .5s ease;
  }
  #check:checked~ .navbar-web a {
    transform: translateY(0);
    transition-delay: calc(.15s * var(--i));
    opacity: 1;
  }
}
@media (max-width: 480px) {
    .login-wrapper { width: 100%; padding: 0; }
    .header-text h1 { font-size: 2rem; }
}
