/* Fuentes APX Energy */

@font-face{
    font-family: "Stretch Pro";
    src: url('https://apxenergy.mx/fonts/StretchPro.woff') format('woff');
}

@font-face{
    font-family: "Bare Food";
    src: url('https://apxenergy.mx/fonts/barefoodsignbrush-webfont.woff') format('woff');
}

.font-stretch{
    font-family: 'Stretch Pro';
    text-transform: uppercase;
    letter-spacing: 0px;
}

.font-bai-jamjuree{
    font-family: 'Bai Jamjuree', sans-serif;
}

.font-bare-food{
    font-family: 'Bare Food';
    text-transform: uppercase;
    letter-spacing: 0px;
}

/* Landing */

:root{
    --green-color: #bdff6b;
    --white-color: #ffffff;
    --gray-color: #474747;
}

a:link, a:visited, a:active {
    text-decoration: none;
}  

.text-white{
    color: var(--white-color);
}

.text-green{
    color: var(--green-color);
}

.text-gray{
    color: var(--gray-color);
}

.text-center{
    text-align: center;
}

body{
    background-color: #000000;
    margin: 0 auto;
    padding: 0px;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

/* Fade loading page */
body * {
    animation: fadeIn 0.5s ease-in;
}

.container-landing {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.container-landing > * {
    position: relative;
    z-index: 1;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-items{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-items: center;
    justify-content: center;
    align-items: center;
}

.logo-apx{
    margin-bottom: 3rem;
}

.logo-apx-sign-up{
    margin-bottom: 3rem;
}

.title{
    font-size: 1.6rem;
    text-align: center;
}

.container-social-media{
    margin-top: 5rem;
    display: flex;
    gap: 1rem;
}

.container-social-media a{
    border: 1px solid var(--green-color);
    width: 32px;
    height: 32px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: ease-in-out 0.5s;
}

.container-social-media a:hover{
    border: 1px solid var(--green-color);
    background-color: var(--green-color);
    color: #000000;
}

.button-sign-up{
    margin-top: 3rem;
}

.button-sign-up a{
    background-color: #bdff6b;
    text-decoration: none;
    color: #000000;
    padding: 15px 40px;
    border-radius: 40px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

#form{
    display: flex;
    flex-direction: column;
    width: 400px; 
}

#form label{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#form input{
    margin-bottom: 30px;
    background-color: #000;
    border: 2px solid #bdff6b;;
    padding: 15px 20px;
    border-radius: 40px;
    color: #fff;
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: 1rem;
}

#form input:focus-visible{
    outline: auto;
}

.terms_conditions{
    display: flex;
    gap: 10px;
    padding-bottom: 20px;
}

.terms{
    font-size: 0.9rem!important;
    text-align: justify;
    margin: 0px;
}

.terms a{
    color: #7C55FC;
    font-weight: 600;
    text-decoration: underline;
}

.button-form{
    margin-top: 10px;
}

.button-form img{
    width: 20px;
}

.button-form button{
    background-color: #bdff6b;
    text-decoration: none;
    color: #000000;
    padding: 15px 40px;
    border-radius: 40px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    cursor: pointer;
}

.alert{
    background-color: rgba(140, 140, 249, 0.5);
    width: 400px;
    margin-bottom: 20px;
    border-radius: 40px;
    text-align: center;
    opacity: 0;
    transition: opacity 1s;
    visibility: hidden;
}

.block{
    visibility: visible;
    opacity: 1;
}

/* Sign Up */

/* Pop Up */

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: white;
    padding: 20px;
    border: 1px solid black;
    transition: opacity 0.5s;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-content: center;
    justify-content: center;
    align-items: center;
}

.popup-body {
    width: 550px;
    height: 680px;
    background-color: #bdff6b;
    border-radius: 30px;
    overflow: auto;
}

/* Establece el ancho de la barra de desplazamiento */
.popup-body::-webkit-scrollbar {
    width: 6px;
}
  
/* Establece el color de fondo del carril de la barra */
.popup-body::-webkit-scrollbar-track {
    background: #000;
}
  
  /* Establece el color y el borde del pulgar de la barra */
.popup-body::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius: 20px;
}
  
.popup-body p{
    padding: 40px;
    text-align: justify;
    font-weight: 500;
}

.close-button {
    float: right;
    color: #000;
    padding: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Pop Up */


/* Mobil */

@media only screen and (max-width: 600px) {
    .title{
        font-size: 1.2rem;
    }
    #form{
        width: 90%;
    }

    .alert{
        width: 90%;
    }

    .popup-body{
        width: 90%;
        margin: auto;
    }
}