@font-face {
    font-family: 'sans-bold';
    src: url('fonts/Source_Sans_3/static/SourceSans3-Bold.ttf') format('truetype');
}

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main {
    width: 100%;
    height: 100%;
    display: block;
}

.cont {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.start {
    background-image: url("images/back2.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
}

.bt1, .bt2 {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 20px;
    padding: 10px 15px;
    border: 0px;
    width: 200px;
    height: 65px;
    cursor: pointer;
    background-color: transparent;
    color: white;
    margin: 10px 0px;
}
.act {
    background-color: white;
    border-radius: 30px 0px 0px 30px;
    color: black;
}

.login, .register {
    display: none;
}

.see {
    display: block;
}


/* Login Seccion */

.contain {
    width: 66%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    background-image: url("images/COOVITEL.png");
    background-repeat: no-repeat;
    background-size:contain;
    width: 100%;
    height: 80px;
    margin: 20px;
}

.title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3870;
    font-family: 'sans-bold';
    margin-top: 30px;
}


form p {
    margin: 40px 10px;
    margin-left: -50px;
    display: flex;
    justify-content: center;
}

form p label {
    display: inline-block;
    width: 180px;
    margin: 0;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3870;
}

form p input {
    border: 0;
    border-bottom: 2px solid gray;
    text-align: center;
    width: 150px;
}

form p input:focus {
    text-align: center;
    border: none;
    border-radius: 20px;
    background-color: rgb(238, 238, 253);
    height: 30px;
}

.button {
    height: 40px;
    width: 120px;
    background-color: #2c3870;
    color: white;
    font-family: 'sans-bold';
    border: 0;
    border-radius: 20px;
    position: relative;
    left: 80px;
    text-align: center;
}

.button:hover {
    transform: scale(1.05);
}

.remember {
    margin-left: 70px;
}

.remember a {
    text-decoration: none;
    color: #2c3870;
}

.remember a:hover {
    text-decoration:underline;
}

@media screen and (max-width: 620px) {
    .bt1, .bt2 {
        font-size: 10px;
        width: 80px;
        height: 50px;
    }
    .start {
        width: 30%;
    }
    .contain {
        width: 70%;
    }
    .tlsmall {
        font-size: 1.5rem;
    }
    form p label {
        font-size: 0.8rem;
        width: 80px;
        margin-right: 10px;
    }
    form p input {
        width: 80px;
    }
    form p {
        width: 100%;
        margin-left: 0px;
    }
    .button {
        left: 30px;
    }
    .remember {
        margin-left: 0px;
        font-size: 1rem;
        text-align: center;
    }
}

/* Header */

.logo-admin {
    background-image: url("images/COOVITEL.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100px;
}

.menu {
    height: 35px;
    width: 100%;
    background-color: #2c3870;
    display: flex;
    justify-content: center;
    margin: 0;
    border-bottom: 2px solid #000000;
    border-top: 2px solid #000000;
}

.menu-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: auto;
    padding: 0;
}

.link {
    list-style: none;
}


.link a {
    cursor: pointer;
    color: white;
    list-style: none;
    font-size: 1.3rem;
    margin: 0px 50px;
    text-decoration: none;
}

.link:hover {
    transform: scale(1.05);
}

.menu-btn, .menu-icon {
    display: none;
}

.menu-icon .navicon {
    background: white;
    display: block;
    width: 1.5rem;
    height: .15rem;
    position: relative;
    top: 16px;
    transition: background .2s ease-in-out;
}

.menu-icon .navicon::before,
.menu-icon .navicon::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: white;
    transition: all .2s ease-out;
}

.menu-icon .navicon::before {
    top: -7px;
}

.menu-icon .navicon::after {
    top: 7px;
}

.menu-btn:checked ~ .menu-links {
    display: block;
}

.menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

.menu-btn:checked ~ .menu-icon .navicon::after {
    transform: rotate(45deg);
    top: 0px;
}

.menu-btn:checked ~ .menu-icon .navicon::before {
    transform: rotate(-45deg);
    top: 0px;
}

.menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}


@media screen and (max-width: 930px) {
    .menu-icon {
        display: block;
        position: relative;
        right: 9rem;
    }
    .menu-btn:checked ~ .menu-icon {
        right: 2.3rem;
    }
    .menu-links {
        display: none;
        flex-direction: column;
        background-color: #2c3870;
        border-radius: 20px;
    }
    .menu {
        flex-wrap: wrap;
    }
    .link a {
        color: white;
    }
    .link {
        margin: 10px 0px;
    }
    .contain-admin, .cdats {
        position: relative;
        top: 150px;
    }
}

/* Admin Options Page */

.contain-admin {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 45%;
    height: 300px;
}

.options {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

}

.links-admin {
    text-align: center;
    text-decoration: none;
    background-color: #2c3870;
    color: white;
    margin: 10px;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    -moz-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
}

.links-admin:hover {
    transform: scale(1.05);
}

/* CDATS */

.cdats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

table {
    padding: 30px;
    margin: 10px;
    border: 2px solid #2c3870;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    -moz-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
}

td {
    border-bottom: 1px solid #2c3870;
    height: 50px;
}

.ttb {
    color: #2c3870;
    font-size: 1.7rem;
    font-family: 'sans-bold';
    width: 11rem;
    text-align: center;
}

.icon {
    width: 4rem;
    text-align: center;
}

.image {
    color: #2c3870;
}

.tb {
    text-align: center;
}

.data {
    font-size: 1.1rem;
}

.create {
    margin: 20px;
}

.cont-back {
    width: 100%;
    height: 50px;
}
.back {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #2c3870;
    margin-left: 20px;
    margin-bottom: 50px;
}
.back h5 {
    margin-bottom: 20px;
}

@media screen and (max-width:500px) {
    .data {
        font-size: 0.9rem;
    }
    table {
        width: 350px;
        padding: 15px;
    }
    .ttb {
        font-size: 1.3rem;
    }
}

@media screen and (max-width:400px) {
    .data {
        font-size: 0.8rem;
    }
    table {
        width: 220px;
        padding: 15px;
    }
    .ttb {
        font-size: 1rem;
    }
}

/* Formularios */

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #2c3870;
    padding: 20px;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    -moz-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
}

.types {
    text-align: center;
    min-width: 200px;
    height: 25px;
    border: 2px solid #2c3870;
    border-radius: 20px;
    margin: 10px;
}

.input-datas {
    padding: 20px;
    border-bottom: 1px solid #2c38703f;
}

.form label {
    color: #2c3870;
    font-size: 1.5rem;
}

.down {
    border: 0;
}

.input {
    height: 20px;
    border: 0;
    border-bottom: 1px solid #2c3870;
    font-size: 1.2rem;
    text-align: center;
}

.create {
    background-color: #2c3870;
    height: 40px;
    width: 90px;
    margin: 0;
    border: 0;
    color: white;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    -moz-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
    box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.45);
}

.create:hover {
    transform: scale(1.05);
    -webkit-box-shadow: 0px 0px 4px 3px rgba(1, 96, 160, 0.45);
    -moz-box-shadow: 0px 0px 4px 3px rgba(3, 126, 163, 0.45);
    box-shadow: 0px 0px 4px 3px rgba(2, 163, 168, 0.45);
}

.title-sm {
    margin:0;
    color: #2c3870;
}

.modal {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    background-color: #d3d3d3;
}

.scores {
    display: flex;
    flex-direction: column;
}
