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

body{
    background-color: #ffffffbb;
    font-family: raleway;
    max-width: 100svw;
    height: 100svh;
    display: flex;
}
/*------------------------------Carga---------------------------------*/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000d9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
  }
  
  .spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
/*------------------------------Carrusel---------------------------------*/
#carousel {
    background-image: url(imgs/1.jpg);
    width: 100%;
    height: 100%;
    margin: auto;
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
}
/*------------------------------Navegador--------------------------------*/
nav{
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, rgba(4,33, 89,1) 0%, rgba(4,33, 89,0.9542191876750701) 34%, rgba(0,212,255,0) 100%);
    padding: 17px 25px;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 1;
    border-bottom: 5px solid white;
}

nav a{
    height: 100%;
}
a img{
    height: 100%;
}

nav span{
    scale: 1.3;
    border-radius: 50%;
    padding: 2px;
    background-color: rgba(4,33, 89,1);
    border: 1px solid white
}

/*----------------------------Contenido-------------------------------*/

#main{
    background-color: white;
    width: 430px;
    height:100%;
    margin: 0 40px;
    padding-top: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
}

#mains{
    padding: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#main h3{
    width: 100%;
    text-align: center;
}

#main hr{
    width: 90%;
    margin: 10px auto;
    border: 1px solid #2057c6;
}

.button{
    text-decoration: none;
    text-align: center;
    background-color: #2057c6;
    color: white;
    border: none;
    height: 40px;
    width: 300px;
    margin: 10px 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
}
.button:hover{
    background-color: #071e41;
    scale: .95;
    transition: all 0.3s ease-in-out;
}

/*--------------------------Responsive-------------------------------*/

@media screen and (max-width: 768px) {
    #carousel {
        width: 0;
        height: 100svh;
        background-color: white;
    }
    nav{
        height: 80px;
    }
    nav img{
        height: 80%;
    }
    nav span{
        scale: 1.2;
    }
    #main{
        margin: 0;
        width: 100%;
        padding-top: 100px;
        padding-bottom: auto;
        justify-content: center;
        height: 100%;
    }
    
}


/*------------------------------------------Reportes--------------------------------*/

#repo{
    width: 430px;
    min-height: 100svh;
    height: 100%;
    padding: 0 40px;
    padding-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    border-right:7px solid #2057c6;
}

#report{
    padding: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}
#report h2{
    width: 100%;
    text-align: center;
    font-size: xxx-large;
    font-weight: 600;
}
#report a{
    text-decoration: none;
    color: #071e41;
}
#report p{
    width: 100%;
    font-size: 13px;
    margin: 2px 0;
}
#report input{
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #2057c6;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0;
}
#report #file{
    height: fit-content;
    max-height: 300px;
    min-height: 100px;
    width: 100%;
    position: relative;
    padding: 10px;
    font:message-box;
    border:  1px solid #2057c6;
    border-radius: 5px;
}

#file input{
    display: none;
    border: 0;
    position: absolute;
}

label span{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2057c6;
    font-size: 40px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}
#file label{
    max-width: 40px;
    height: 40px;
    top: -10px;
    right: 0px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2057c6;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
}
#file img{
    width: auto;
    max-height: 100px;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    margin: 5px 0;
}

#report select{
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #2057c6;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    margin: 5px 0;
}

#report button{
    text-decoration: none;
    text-align: center;
    background-color: #2057c6;
    color: white;
    border: none;
    height: 40px;
    width: 300px;
    margin: 10px 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
}
#report label{
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 2px;
}
#report textarea{
    min-width: 100%;
    max-width: 100%;
    min-height: 100px;
    max-height: 200px;
    border-radius: 5px;
    font-family: relaway;
    border: 1px solid #2057c6;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    margin: 2px 0;
}
#report button:hover{
    background-color: #071e41;
    scale: .95;
    transition: all 0.3s ease-in-out;
}
#map{
    width: 100%;
    min-height: 100svh;
    z-index: 0;
    touch-action: pan-x pan-y;
}

#reportar{
    height: fit-content;
    max-width: 100svw;
}
@media screen and (max-width: 930px) {
    #reportar{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #repo{
        max-width: 100svw;
        padding-top: 100px;
        padding: 100px  20px;
        padding-bottom: auto;
        border-right: none;
        border: 0;
    }
    #report{
        align-items: center;
    }
    #map{
        width: 100%;
        height: 100svw;
        margin: 0;
        background-color: #2057c6;
    }
}


/*-----------------------------------------------Ver Reportes--------------------------------------*/
#cds{
    width: 100%;
    max-width: 100svw;
    min-height: 100svh;
    height: fit-content;
    padding: 120px 40px;
    display: flex;
    justify-content:flex-start;
    flex-wrap: wrap;
    
}
.card{ 
    color: white;
    width: 300px;
    height: 300px;
    background-color: #2057c6;
    box-shadow: #071e41 0px 0px 10px;
    border-radius: 5px;
    padding: 10px;
    margin: 0 auto 20px;
}

.card img{
    padding: 5px;
    width: auto;
    max-height: 100px;
    background-color: #071e41;
    border-radius: 5px;
}

.card h3{
    margin: 10px 0;
    font-size: 20px;
    font-weight: 600;
}