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

header {
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 5;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 17px 25px 0px rgba(26, 83, 92, 0.3);
}

header .header-img {
    position: absolute;
    left: 10px;
    padding: 10px 10px;
}

header h1 {
    margin-left: 240px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgba(26, 83, 92, 1);
    font-family: 'Monserrat', sans-serif;
    font-size: 2rem;
    display: inline-block;
}

header>button {
    position: absolute;
    top: 8px;
    right: 150px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 10px;
    background-color: rgba(26, 83, 92, 1);
    color: white;
    border: 0px;
    outline: none;
    cursor: pointer;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    transition: all 0.25s ease;
}

header>button:hover {
    background-color: rgba(78, 205, 196, 1);
}


/*Contenedor general de la pagina*/

.contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(247, 255, 247, 1);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.contenedor:before {
    content: '';
    top: 57px;
    width: 100%;
    height: 50px;
    position: absolute;
    z-index: 3;
    background: linear-gradient(rgba(247, 255, 247, 1) 0%, rgba(247, 255, 247, 0) 100%);
    pointer-events: none;
}

.contenedor:after {
    content: '';
    top: 420px;
    height: 100px;
    width: 100%;
    position: absolute;
    z-index: 3;
    background: linear-gradient(rgba(247, 255, 247, 0) 0%, rgba(247, 255, 247, 1) 100%);
    pointer-events: none;
}


/*Botones de los lados*/

.btn,
.modal button {
    min-width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(255, 230, 109, 1);
    border: 0px;
    outline: none;
    cursor: pointer;
    z-index: 4;
    margin: 10px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translate(0, -10px);
    box-shadow: 0px 17px 35px 0px rgba(26, 83, 92, 0.3);
    background: rgba(26, 83, 92, 1);
}

.btn i {
    font-size: 1.6rem;
    color: rgba(247, 255, 247, 1);
}


/* Contenedor de las trajetas */

.cont-tarjetas {
    display: flex;
    align-self: flex-start;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 350px;
    overflow: hidden;
    padding: 50px 0;
    margin-top: 70px;
    scroll-behavior: smooth;
}


/*Tarjetas*/

.tarjeta {
    width: 200px;
    min-width: 200px;
    height: auto;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin: 25px;
    transition: all 0.25s ease;
    box-shadow: 0px 7px 25px 0px rgba(26, 83, 92, 0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.tarjeta:hover {
    transform: translate(0, 10px);
    box-shadow: 0px 0px 0px 4px rgba(255, 230, 109, 1);
}

.tarjeta h3 {
    font-family: 'Monserrat', sans-serif;
    padding: 15px;
    font-size: 1.2em;
    color: rgba(0, 109, 119, 1);
    text-align: center;
}

.tarjeta .tar-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tar-img img {
    max-height: 100px;
    max-width: 100%;
}


/*Modal*/

.modal {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    top: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 7;
}

.oculto {
    display: none;
}

.modal button {
    font-size: 30px;
    font-weight: bold;
    border-radius: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    box-shadow: 0px 7px 25px 0px rgba(26, 83, 92, 0.3);
}

.modal button:hover {
    background-color: white;
}

.modal-cont {
    padding: 20px;
    width: 100%;
    max-width: 705px;
    background-color: rgba(255, 230, 109, 1);
    border-radius: 15px;
    margin: 150px auto 0 auto;
    box-shadow: 0px 7px 25px 0px rgba(26, 83, 92, 0.3);
}

.modal-cont h2 {
    font-family: 'Monserrat', sans-serif;
    font-size: 1.5em;
    padding: 0 0 10px 10px;
}

.modal-cont p {
    padding: 10px;
    font-size: 16px;
}

.modal-cont p:hover {
    background-color: white;
    border-radius: 10px;
}


/*Notificaciones*/

.notificaciones {
    position: absolute;
    width: calc(100% - 60px);
    bottom: 0px;
    padding: 10px 20px 15px 40px;
    background-color: rgba(255, 107, 107, 1);
}

.notificaciones li {
    font-size: 17px;
    color: white;
    margin-top: 5px;
}

.notificaciones h2 {
    position: absolute;
    bottom: 62px;
    left: 20px;
    background-color: rgba(255, 107, 107, 1);
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
    color: rgb(255, 255, 255, 1);
    font-family: 'Monserrat', sans-serif;
}