@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');

@font-face {
    font-family: 'AbrilFatface';
    src: url('/fonts/AbrilFatface-Regular.ttf'), format('ttf');
}

@font-face {
    font-family: 'AlexBrush-Regular';
    src: url('/fonts/AlexBrush-Regular.ttf'), format('ttf');
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;    
}

body {
    background-color: #545454;
    overflow: hidden;
    margin: 0; 
    height: 100%;
    align-items: center;
}




/* MAIN PAGE CSS */

.main-page {
    display: flex;
    flex-flow: column;
    padding-top: 2px;
}

.login-box {
    width: 350px;
    height: 280px;
    background-color: #FADF70;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 30px;
    
    position:absolute; 
    top: 32.5%; 
    left: 37.5%;
}

.login-box-form {
    position:relative;
    text-align: center;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.main-name-input {
    width: 75%;
    display:inline-block;
    padding:12px 10px;
    line-height: 20%;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
    outline: none;
    border: 0px solid;
}

.main-password-input {
    width: 75%;
    display:inline-block;
    padding:12px 10px;
    line-height: 20%;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
    outline: none;
    border: 0px solid;
}

.btn-login {
    width: 75%;
    display:inline-block;
    padding:15px 10px;
    line-height: 30%;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
    background-color: #3D3D3D;
    font-size: 24px;
    color: white;
    border: 0px solid;
}

.register-button {
    color: white;
    text-decoration:none;
}
.register-button:hover {
    color: white;
}

.btn-login:active {
    background-color: white;
    color: #3D3D3D;
}

.whatsapp-icon {
    position:absolute;
    bottom: 2%;
    right: 200px;
}

.whatsapp-icon img {
    width: 60px; 
    height: 60px;
}

.whatsapp-icon i {
    background-color: white;
    color: #3D3D3D;
    border-radius: 30px;
    margin: 0;
    margin-left: 5px;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 250%;
    height: 45%;
    text-align: center;
    font-size: large;
    font-weight: bold;
}

.whatsapp-icon b {
    position:absolute;
    bottom: 80%;
    right: -220%;
    text-align: center;
    font-size: large;
    font-weight: bold;
    color: white;
}

/* navbar */
.navbar {
    background-color: #FADF70;
    opacity: 1;
    top: 0;
    width: 100%;
    height: 90px;
    text-align: center;
    color: #545454;
    box-shadow: 0 4px 2px -2px black;
}

.navbar img {
    margin: auto;
}

.dio-logo {
    width: 100%;
    height: 100%;
}

.mobile-screen{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.explain-mobile {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    color:#3D3D3D;    
}

.explain-mobile h3 {
    background-color:#FADF70 ;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 30px;
}

.explain-mobile img{
    width: max-content;

}


/* mobile */
@media(max-width: 768px) {

    .login-box {
        width: 350px;
        height: 280px;
        background-color: #FADF70;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        position:absolute; top: 32.5%; left: 12.5%;
        border-radius: 30px;
    }

    .main-page {
        display: flex;
        flex-flow: column;
        padding-top: 2px;
    }

    .whatsapp-icon {
        position:absolute;
        bottom: 2%;
        right: 65%;
    }

}