/* Daniel Bernal 12/08/2024 */
*{
    font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif;
}
body{
    margin: 0;
    padding: 0;
    background-image: url('./imgs/fondo2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}
header{
    height: 8vh;
    width: 100%;
}
main{
    height: calc(100vh - 16vh);
}
main, #main, #menu, #login, #login>div, #loginForm, #loginForm>div, #loginForm>div>div, #loginForm>div>div>div, #socialNetworks>ul, #socialNetworks>ul>li>a, .containerModal, .popUp>div, .titlePopUp, .ojo, footer{
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo{
    display: flex;
    align-items: start;
    height: 100%;
}

#logo img{
    width: 250px;
}

#main{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 90%;
    width: 80%;
    margin: 0 auto;
    flex-direction: row;
}
#menu, #login{
    height: 80%;
    flex-direction: column;
}
#menu{
    width: 60%;
}
#login{
    width: 40%;
}
#login>div{
    background-color: #f0f3f57a;
    width: 90%;
    height: 90%;
    border-radius: 10px;
    flex-direction: column;
    backdrop-filter: blur(10px);
}
.title{
    height: 50px;
    margin: 30px auto 0;
    background: rgb(186,189,191);
    background: radial-gradient(circle, rgba(186,189,191,1) 0%, rgba(247,247,241,0) 100%);
}
.title>img{
    width: 200px;
}
#loginForm{
    flex-direction: column;
    width: 80%;
    height: 80%;
    margin: 10px auto;
}
#loginForm>div{
    width: 90%;
    flex-direction: column;
}
#loginForm>div>div, #loginForm>div>div>div{
    width: 100%;
    height: 80px;
}

#loginForm>div>div{
    flex-direction: column;
    margin: 10px 0 10px 0;
}

#loginForm>div>div>label{
    font-size: 16px;
    font-weight: bold;
    color: #0a0a0a;
}
#loginForm>div>div>div>input{
    font-size: 16px;
    color: rgb(51, 50, 50);
    border: 4px solid whitesmoke;
    background-color: #f0f3f57a;
    padding: 5px;
}

.password{
    flex-direction: row;
}

.inpt{
    width: 80%;
}

#password{
    width: 70%;
}

.inpt, .btn{
    height: 48px;
    cursor: pointer;
}

.ojo{
    cursor: pointer;
    width: 10%;
    height: 48px;
    margin-left: 2px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 4px solid white;
}
.ojo>img{
    width: 20px;
}
.open{
    display: block;
}
.close{
    display: none;
}
.btn{
    width: 40%;
    border-radius: 30px;
    background-color: #EBEBEB;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid white;
}
.btn:hover, .btnPopUp>button:hover{
    border: 2px solid #29679E;
    background-color: #bbbbbb;
}
.container {
    position: absolute;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation-name: spin;
    animation-duration: 100s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.inner {
    background-image: url('./imgs/Logo_Wavetrack.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
    position: relative;
    width: 300px;
    height: 300px;
    z-index: 2;
    cursor: pointer;
}

#description{
    position: absolute;
    top: 88%;
    left: 1.5%;
    max-width: 50%;
}

.circle {
    position: absolute;
    width: 60px;
    height: 60px;
    animation: spinCircle 100s linear infinite;
}
.circle:hover{
    animation-play-state: paused;
    width: 65px;
    height: 65px;
}

.message{
    text-align: start;
    background-color: rgba(255, 255, 255, 0.986);
    border-radius: 10px;
    padding: 5px 10px;
}

.message>h3{
    color: #070707;
    margin: 2px 0;
}

.message>p{
    color: #030303;
    margin:0;
}

#socialNetworks{
    width: 80%;
    height: 70px;
    margin-bottom: 20px;
}

#socialNetworks>ul{
    margin: 0;
    padding: 0;
    flex-direction: row;
    justify-content:space-evenly;
    list-style: none;
}

#socialNetworks>ul>li>a{
    height: 35px;
    width: 35px;
}

#socialNetworks>ul>li>a>img{
    border-radius: 50%;
    width: 95%;
}

#socialNetworks>ul>li>a>img:hover{
    width: 100%;
}

.container:hover, .container:hover .circle {
    animation-play-state: paused;
}

.alertMessage{
    color: red;
}
.alertMessageSmall{
    display: block;
    width: 100%;
    text-align: center;
}
/* Estilos para el PopUp */
.containerModal{
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    z-index: 3;
}

.popUp{
    width: 500px;
    height: 350px;
    background-color: #fffbfb;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}
/* .titlePopUp{
    font-size: 30px;
    height: 20%;
    padding: 5px;
} */
.titlePopUp>h3{
    margin: 0;
}
.titlePopUp{
    font-size: 20px;
    color: #eeb021;
    flex-direction: column;
    height: 45%;
}
#caution{
    width: 26%;
    height: 100%;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.caution{
    width: 120px;
}
.textPopUp{
    font-size: 18px;
    height: 35%;
}
.textPopUp>p{
    margin: 0;
}
.btnPopUp{
    height: 15%;
}
.btnPopUp>button{
    width: 40%;
    height: 40px;
    font-size: 18px;
    border-radius: 13px;
    padding: 9px;
}
footer{
    color: white;
    width: 100%;
    height: 4vh;
}

@media (max-width: 1800px){
    main{
        width: 100%;
        height: calc(100vh - 14vh);
    }
    #main{
        width: 100%;
        height: 600px;
    }
    #login{
        height: 90%
    }
}

@media (max-width: 1550px){
    #description{
        position: absolute;
        top: 87%;
        left: 1.5%;
    }
    #logo img{
        width: 170px;
    }
    main{
        width: 100%;
        height: calc(100vh - 16vh);
    }
    #menu{
        width: 50%;
    }
    .container {
        width: 400px;
        height: 400px;
    }
    .circle {
        width: 55px;
        height: 55px;
    }
    .circle:hover{
        width: 58px;
        height: 58px;
    }
    .message{
        max-width: 70%;
    }

    .message>h3{
        font-size: 12px;
        margin-bottom: 3px;
    }
    .message>p{
        font-size: 10px;
    }
    #login{
        width: 50%;
        height: 85%;
    }
    #login>div {
        width: 70%;
    }
    #loginForm>div>div>label{
        font-size: 15px;
        width: 90%;
    }
    #loginForm>div>div{
        flex-direction: column;
        margin: 2px 0 2px 0;
    }
    #loginForm>div>div>div>input{
        font-size: 14px;
        font-weight: bolder;
        height: 35px;
    }

    .password > .inpt{
        width: 70%;
    }

    .ojo{
        cursor: pointer;
        width: 10%;
        height: 35px;
    }
    .ojo>img{
        width: 20px;
    }
    .open{
        display: block;
    }
    .close{
        display: none;
    }
    .btn{
        width: 60%;
        height: 35px;
        font-size: 12px;
    }
    #socialNetworks>ul>li>a{
        height: 40px;
        width: 40px;
    }
    #socialNetworks>ul>li>a>img{
        width: 80%;
    }
    
    #socialNetworks>ul>li>a>img:hover{
        width: 95%;
    }
    /* Estilos para el PopUp */
    .popUp{
        width: 400px;
        height: 300px;
        padding: 10px;
    }
    .titlePopUp{
        font-size: 18px;
        height: 45%;
    }
    #caution{
        width: 26%;
        height: 100%;
    }
    .caution{
        width: 80px;
    }
    .textPopUp{
        font-size: 15px;
        height: 35%;
    }
    .btnPopUp{
        height: 15%;
    }
    .btnPopUp>button{
        width: 40%;
        height: 30px;
        font-size: 14px;
        border-radius: 15px;
        padding: 6px;
    }
    footer{
        height: 2vh;
    }
}

@media (max-width: 1024px){
    main{
        width: 100%;
        height: calc(100vh - 14vh);
    }
    #main{
        width: 100%;
        height: 550px;
    }
    #login>div {
        width: 95%;
    }
}

@keyframes spin{
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(360deg);
    }
}

@keyframes spinCircle{
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(-360deg);
    }
}

@keyframes appear {
    from{
        display: none;
    }to{
        display:inline-block
    }
}

@keyframes disappear {
    from{
        display: inline-block;
    }to{
        display: none;
    }
}