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

/* *, *:before, *:after {
    box-sizing: inherit;
} */

html {
    position: relative;
    width: 100%;
    height: 100vh;
}

body{
    font-family: 'Francois One', sans-serif;
}

.form-group{
    font-family: 'Francois One', sans-serif;
}

html::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /*background-image: url(../img/img_escuela.jpg);*/
    background-image: url(../img/tv.jpg);
    background-size: cover;
    /*background-repeat: repeat-y;*/
    /*background-position: top;*/
    /*background-size: 1366px 768px;*/
    /*HD*/
    /*background-size: 1920px 1080px;*/
    /*Full HD*/
    /*background-size: 3840px 2160px; /*4K*/
    opacity: 0.2;
}

.header {
    /*background-color: #ddd;*/
    text-align: center;
    width: 100%;
    /*border-top: 2px solid black;*/
    position: relative;
    border-bottom: 2px solid black;
}

.encabezado-main {
    list-style-type: none;
    width: 100%;
    overflow: hidden;
}

.encabezado-main .logo-uvigo {
    float: left;
    width: 25%;
}

.encabezado-main .logo-teleco {
    float: right;
    /*margin-top: -10px;*/
    width: 25%;
}

.encabezado-main li a {
    text-decoration: none;
}

.header .titulo {
    font-family: 'Francois One', sans-serif;
    width: 100%;
    /*background-color: #ddd;*/
    border-top: 2px solid black;
}

.header .titulo h1 {
    margin: 0 auto;
}

@media screen and (max-device-width: 1200px) {
    .header .titulo {
        width: 100%;
        margin-top: 0;
    }
    .header .titulo h1 {
        font-size: 2em;
    }
    .encabezado-main .logo-uvigo {
        float: left;
        width: 50%;
    }
    .encabezado-main .logo-teleco {
        float: right;
        width: 50%;
    }
}

@media screen and (max-device-width: 625px) {
    .header .titulo h1 {
        font-size: 1.3em;
    }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/*Formulario*/

input[type=text],input[type=password]{
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

label {
    padding: 0 12px 12px 0;
    display: inline-block;
}


input[type=submit] {
    /*background-color: #4CAF50;*/
    background-color: #0DC8EE;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

input[type=submit]:hover {
    /*background-color: #45a049;*/
    background-color: #0E7185;
}

.main-content {
    position: relative;
    margin: 20px auto;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
    width:80%;
}

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */

.row::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout */
@media screen and (max-width: 600px) {
    .main-content{
        width: 90%;
    }
    .col-25, .col-75, input[type=submit] {
      width: 100%;
      margin-top: 0;
    }
    input[type=submit]{
        margin-top: 10px;
    }

    .row:nth-child(2) label {
        /*background-color:yellow;*/
        padding: 12px 12px 12px 0;
    }
  }
