@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap');
@font-face {
    font-family: 'Brownist';
    src: url('../fonts/BrownistRegular.eot');
    src: url('../fonts/BrownistRegular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BrownistRegular.woff2') format('woff2'),
        url('../fonts/BrownistRegular.woff') format('woff'),
        url('../fonts/BrownistRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, html {
  margin:0;
  /*padding:20px;
  height:100%;*/
  background:#213256;
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden;
  font-family: Gabarito, sans-serif;
  background-image: url(../img/MTY-background.png);
  background-size: cover;
}

#language-overlay {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#213256;
  color:white;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  z-index:10001;
  text-align:center;
  overflow-y:auto;
}
#resultado {
    color: #88b0d8;
}
.my p {
    font-size: 2rem;
}
.cr{
    color:#88b0d8;  
}

h1 {
    margin-bottom: 20px;
    font-size: 3.5rem;
    font-family: 'Brownist', sans-serif;
    font-weight: 900;
    color: #e51f3e;
    text-align: center;
}

h1 span{
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-family: 'Brownist', sans-serif;
    font-weight: 500;
    color: #24dcbc;
    text-align: center;
}
h2 {
    margin-bottom: 20px;
    font-size: 2.7rem;
    font-family: 'Brownist', sans-serif;
    font-weight: 900;
    color: #e51f3e;
    text-align: center;
}

h2 span{
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-family: 'Brownist', sans-serif;
    font-weight: 500;
    color: #24dcbc;
    text-align: center;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.3;
    color: #ffffff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #ffffff;
    border-radius: 0;
    text-align: center;
    transition: border-color .15s 
    ease-in-out, box-shadow .15s 
    ease-in-out;
    font-family: 'Gabarito', sans-serif;
}

.form-control:focus {
    color: #ffffff;
    background-color: transparent;
    border-color: transparent;
    outline: 0;
    border-bottom: 1px solid #8fbae5;
    box-shadow: none;
}
label {
    font-weight: 900;
    text-transform: uppercase;
    color: #8fbae5;
    font-size:1.5rem;
}

input:-internal-autofill-selected, input:-webkit-autofill {
    appearance: menulist-button;
    background-image: none !important;
    background-color: transparent !important;
    background: transparent !important;
    color: #ffffff !important;
    -webkit-box-shadow: none; /* color de fondo */
    -webkit-text-fill-color: #ffffff; /* color del texto */
    transition: background-color 5000s ease-in-out 0s; /* truco para evitar el flash */
}
input:-internal-autofill-previewed {
    appearance: menulist-button;
    background-image: none !important;
    background-color:transparent !important;
    color: #ffffff !important;
}

.FWCLogoC{
    display:block;
    margin: 0 auto 30px;
}

.FWCLogoM {
    display: block;
    margin: 60px auto 30px;
    background: #4c24b5;
    padding: 20px 0;
    border-radius: 10px;
}
.lang-btn {
    background: #4c24b5;
    color: #ffffff;
    font-family: "Brownist", sans-serif;
    margin: 5px 0;
    border: #4c24b5 1px solid;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.lang-btn:hover, .lang-btn:active, button.btn.btn-primary.lang-btn.w-100:active {
    background: #8155f4;
    color: #24dcbc;
    font-family: "Brownist", sans-serif;
    margin: 5px 0;
    border: #8155f4 1px solid;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.green-btn {
    background: #e51f3e;
    color: #ffffff;
    font-family: "Brownist", sans-serif;
    margin: 5px 0;
    border: #e51f3e 1px solid;
    text-transform: uppercase;
    font-weight: 900;
    box-shadow: 6px 6px 0 #8fbae5;
    padding: 8px 30px;
    border-radius: 10px;
    font-size: 1.8rem;
}

.green-btn:hover, .green-btn:active, button.btn.btn-primary.green-btn.w-100:active {
    background: #ca1834;
    color: #ffffff;
    font-family: "Brownist", sans-serif;
    margin: 5px 0;
    border: #ca1834 1px solid;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 900;
    box-shadow: 3px 3px 0 #8fbae5;
    padding: 8px 30px;
    border-radius: 10px;
    font-size: 1.8rem;
}
.purple-btn {
    background: #4c24b5;
    color: #ffffff;
    font-family: "Brownist", sans-serif;
    margin: 5px 0;
    border: #4c24b5 1px solid;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 900;
}

.purple-btn:hover, .purple-btn:active, button.btn.btn-primary.purple-btn.w-100:active {
    background: #8155f4;
    color: #24dcbc;
    font-family: "Brownist", sans-serif;
    margin: 5px 0;
    border: #8155f4 1px solid;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 900;
}
#registro-container { 
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    justify-content:center;
    align-items:center;
    background-image:url(../img/MTY-background.png);
    background-size: cover;
    background-color:#213256;
    z-index:10000;
}
#registro-container .card {
    padding: 40px;
    background: #213257;
    border-radius: 2px;
    color: #ffffff;
    font-family: 'Gabarito', sans-serif;
    text-align: center;
    margin-top:30px;
    border:none;
    box-shadow: 0 5px 10px #0d1831;
    border-radius: 20px;
}

#camera-permission {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: #8fbae5;
    color:white;
    display:block;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    z-index: 9999;
    text-align:center; 
    background-image: url(../img/MTY-background-blue.png);
    background-size: cover;
}
#camera-permission .card {
    padding: 40px;
    background: #213257;
    border-radius: 2px;
    color: #ffffff;
    font-family: 'Gabarito', sans-serif;
    text-align: center;
    margin-top:30px;
    border:none;
    box-shadow: 0 5px 10px #0d1831;
    border-radius: 20px;
}

#camera-container {
    position: relative;
    width: 75%;
    max-width:600px;
    aspect-ratio: 2/3;
    display:flex;
    justify-content:center;
    align-items:center;
    background:black;
    overflow:hidden;
    z-index:1;
    margin-top: 30px;
}
.avatar-txt{ font-family:'Brownist', sans-serif; color:#4c24b5; font-size:2.5rem; text-align:center; }
.txt-avatar{ font-size:1.5rem; margin:10px 20px; font-family:'Gabarito', sans-serif; text-align:center; }
#video{
    width:100%;
    height:100%;
    object-fit:cover;
    position:relative;
    top:0;
    left:0; 
}
#preview { width:100%; height:100%; object-fit:cover; position:absolute; top:0; left:0; }
#marco { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
#controls {
    width:100%;
    height:80px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:transparent;
    position:relative;
    margin: 30px auto; 
}
#snap {
    width: 70px;
    height: 70px;
    background: white;
    border: 10px solid #7fc2f6;
    border-radius: 50%;
    margin: auto;
    box-shadow: 0 4px rgb(234 25 60);
    transition: all 0.1s ease-in-out; 
}
#snap:hover {
    box-shadow: 0 0 rgb(234 25 60);
    transition: all 0.1s ease-in-out; 
}
#snap:active { transform:scale(0.9); box-shadow:0 0 5px rgba(255,255,255,0.5); }
#switchCam { 
    position: absolute;
    right: 50px;
    width: 45px;
    height: 45px;
    font-size: 20px;
    border-radius: 50%;
    background: #7fc2f6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 4px rgb(234 25 60);
    transition: all 0.1s ease-in-out;
    border:none;
    fill:#ffffff;
}
#background-selector {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:10px;
    flex-wrap:wrap;
}
#background-selector img {
    width: 60px;
    height: 90px;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid #7fc2f6;
}
#background-selector img.selected { border:3px solid #e51f3e; }

#loader { position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.8); color:white; display:flex; justify-content:center; align-items:center; flex-direction:column; font-size:24px; text-align:center; z-index:10000; display:none; }

#avisoModal {
    background: rgba(0,0,0,0.5);
}
#avisoModal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-image: url(../assets/ui/MTY-background.png);
    background-color: white;
    background-size: cover;
    border-radius: 45px;
    border: 20px solid #e61f3e;
    padding: 50px;
    text-align: center;
    gap: 14px;
    font-size: 1.3rem;
    font-family: Gabarito;
}