* {
    box-sizing: border-box;
}

:root {
    --fondo: #000000;
    --texto-claro: #ffffff;
    --texto-oscuro: #000000;
    --contraste: rgb(54,108,185);
    --boton: rgb(54,108,185);
    --familia-principal: 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--familia-principal);
    background-color: var(--fondo);
    color: var(--texto-claro);
}

h1 {
    font-size: 3em;
    margin: 0;
}

h2 {
    font-size: 2em;
    margin: 5px 0;
}

.logo .info h2{
    font-size: 1.6em;
}

h3 {
    font-size: 2em;
}

p {
    font-size: 1em;
}

ul {
    list-style: none;
}

a {
    color: var(--contraste);
    text-decoration: none;
}

a:hover {
    color: var(--rosa);
}

button,
input[type=submit],
input[type=button] {
    padding: 10px 30px;
    background-color: var(--boton);
    color: #ffffff;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .5);
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .5);
    transition: .5s;
    margin: 5px auto;
    font-size: 1em;
    font-weight: bold;
    width: fit-content;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=password]:focus {
    background-color: #edd599;
}

button:hover,
input[type=submit]:hover,
input[type=button]:hover {
    background-color: var(--texto-claro);
    color: var(--contraste);
    transform: translateY(-2px);
    cursor: pointer;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    text-align: center;
}

header{
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 4px solid var(--contraste);
    border-radius: 4px;
    margin: 10px auto;
    padding: 10px 0;
}

header .container nav a {
    display: inline-block;
    background-color: var(--contraste);
    color: var(--texto-claro);
    border-radius: 4px;
    transition: all 0.4s linear;
    font-size: 1.2em;
    padding: 5px 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

header .container nav a:hover {
    background: var(--texto-claro);
    color: var(--contraste);
}

main {
    max-width: 1200px;
    border: 4px solid var(--contraste);
    border-radius: 4px;
    margin: 30px auto;
    padding: 10px 0;
}

main .banner{
    width: 80%;
    margin: auto;
}

main .banner img{
    width: 100%;
    border-radius: 4px;
}

footer {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    border: 4px solid var(--contraste);
    border-radius: 4px;
    margin: 10px auto;
}

/*cpanel*/

.container_login {
    max-width: 400px;
    background-color: var(--fondo);
    border: 4px solid var(--contraste);
    border-radius: 4px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 50px 40px;
}

.container_login h1 {
    margin-bottom: 20px;
    font-size: 2em;
}

main .box_log .form_log_in{
    border: none;
    display: flex;
    flex-direction: column;
}

main .box_log .form_log_in input[type="text"],
main .box_log .form_log_in input[type="password"] {
    width: 200px;
    text-align: center;
    margin: 5px auto;
    padding: 14px 10px;
    border: 2px solid #9893D8;
    border-radius: 24px;
    transition: 0.25s;
}

/*Register*/
.principal h1 {
    text-align: center;
}
.principal .customer{
    width: 600px;
    margin: 0 auto;
}

.principal .table_format_customer {
    margin: 20px 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.principal .table_format_customer .izq {
    width: 150px;
}

.principal .table_format_customer .der {
    width: 300px;
}

.principal .table_format_customer input[type=text],
.principal .table_format_customer input[type=email],
.principal .table_format_customer input[type=tel],
.principal .table_format_customer input[type=password],
.principal .table_format_customer select{
    width: 230px;
}

.principal .table_format_customer .cbot {
    text-align: center;
}

.principal .table_format_customer .click {
    text-align: right;
}

.principal .table_format_customer fieldset {
    margin-top: 10px;
    margin-bottom: 10px;
}

.principal .table_format_customer fieldset legend {
    font-weight: bold;
    color: var(--contraste);
}

.principal .table_format_customer .bold {
    font-weight: lighter;
}

.principal .table_format_customer fieldset label {
    display: inline-block;
    width: 130px;
}

.principal .table_format_customer fieldset input[type=text] {
    width: 230px;
}

.principal .table_format_customer fieldset .bold {
    padding-top: 3px;
    padding-bottom: 3px;
}


/*responsive*/

@media only screen and (max-width: 720px) {
    footer .widget1 .w1-about{
        width: 50%;
    }

    footer .widget1 .w1-social{
        width: 50%;
    }

    footer .container {
        display: grid;
        grid-template-areas: "wid1"
                            "wid2"
                            "wid3"
                            "copy";
    }
}

@media only screen and (min-width: 721px) and (max-width: 900px) {
    footer .container {
        display: grid;
        grid-template-areas: "wid1 wid2"
                            "wid3 wid3"
                            "copy copy";
    }

    footer .widget1 {
        display: flex;
        flex-direction: column;
        grid-area: wid1;
    }

    footer .w1-social {
        padding-left: 10px;
    }

    footer .widget2 {
        grid-area: wid2;
    }

    footer .widget3 {
        grid-area: wid3;
    }

    footer .copyright {
        grid-area: copy;
    }

}

@media only screen and (min-width: 901px) {
    footer .container {
        display: grid;
        grid-template-areas: "wid1 wid2 wid3"
                            "copy copy copy";
    }

    footer .widget1 {
        display: flex;
        flex-direction: column;
        grid-area: wid1;
    }

    footer .w1-social {
        padding-left: 10px;
    }

    footer .widget2 {
        grid-area: wid2;
    }

    footer .widget3 {
        grid-area: wid3;
    }

    footer .copyright {
        grid-area: copy;
    }

}