/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/

/* 
    Created on : 27/08/2017, 21:44:09
    Author     : bruno

color amarillo #FFCD0E
*/

html h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td {
    font-family: "Roboto Regular", sans-serif;
}

a:hover {
    text-decoration: none;
}

body {
    background-color: #bbbab3;
    background-color: #262a38;
    background-color: #d6b019;

    height: 100vh;
}

header,
footer {
    background-color: #262a38;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

header h1 {
    color: #f0f0f0;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}

footer {
    height: 5%;
    bottom: 0;
}

.main {
    /*
    background-color: #788591;
    background-color: rgb(184, 160, 94);
    background-color: #ffcf0ed0;*/
    /*background-color: #4297e7;*/
    display: flex;
    /*
    justify-content: center;
    align-items: center;*/
    padding: 0 25px 0 25px;
    width: 100%;
    height: 100vh;
}

.sections {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

img {
    width: 100%;
}

.web-1 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.web-2 {
    margin-bottom: 50px;
}

.button {
    display: block;
    width: 80%;
}

.button .button-body {
    display: block;
    background-color: #ecd586;
    background-color: #ecd486;
    background-color: #c7b989;
    background-color: #ffffff;
    box-shadow: 0 5px 20px 5px #1c1d1f;
    height: 100%;
    position: relative;
    transform: scale(1);
    transition: all 0.5s ease;
}

.button .button-body .bg-t {
    display: block;
    background-color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.button-body:hover {

    transform: scale(1.05) perspective(1px)
}

.button .button-body:hover .bg-t {
    /*
    background-color: #e2d5ab;
    background-color: #fff4c2;*/
    display: none;
}

.button .button-body:hover .title {
    background-color: #43505f;
}

.button .button-body:hover .title h2 {
    color: #f1e759;
}

.button .button-body .img {
    padding: 30px;
}

.button .button-body .title {
    background-color: #ecd586;
    background-color: #334050;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    width: 100%;
    min-height: 120px;
}

h2 {
    color: #eeeeee;
    font-weight: bold;
    text-align: center;
    margin: 0;
    font-size: 1.2rem;
}

@media screen and (min-width: 576px) {

    .main {
        justify-content: center;
        align-items: center;
    }

    @media screen and (max-height: 576px) {

        /*HORIZONTAL*/
        header,
        footer {
            height: 2.5rem;
        }

        h2 {
            font-size: 1.25rem;
        }

        .sections {
            display: flex;
            flex-direction: unset;
            justify-content: center;
            align-items: unset;
        }

        .button {
            width: 45%;
        }

        .button .button-body {
            height: 100%;
        }

        .web-1 {
            margin-right: 20px;
            margin-top: 3.5rem;
            margin-bottom: 4rem;
        }

        .web-2 {
            margin-left: 20px;
            margin-top: 3.5rem;
            margin-bottom: 4rem;
        }
    }

    @media screen and (min-height: 577px) {

        /*VERTICAL*/
        header,
        footer {
            height: 5rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        .sections {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .button {
            width: 75%;
        }

        .button .button-body {
            height: auto;
        }

        .web-1 {
            margin-top: 6.5rem;
            margin-bottom: 50px;
        }

        .web-2 {
            margin-bottom: 6.5rem;
        }
    }
}

@media screen and (min-width: 768px) {

    header {
        height: 5%;
    }

    header h1 {
        font-size: 2.5rem;
    }

    @media screen and (max-height: 768px) {

        /*HORIZONTAL*/
        header,
        footer {
            height: 3.5rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        .sections {
            display: flex;
            flex-direction: unset;
            justify-content: center;
            align-items: unset;
        }

        .button {
            width: 45%;
        }

        .button .button-body {
            height: 100%;
        }

        .web-1 {
            margin-right: 20px;
            margin-top: 4.5rem;
            margin-bottom: 5rem;
        }

        .web-2 {
            margin-left: 20px;
            margin-top: 4.5rem;
            margin-bottom: 5rem;
        }
    }

    @media screen and (min-height: 769px) {

        /*VERTICAL*/
        header,
        footer {
            height: 6rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        .sections {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .button {
            width: 75%;
        }

        .button .button-body {
            height: auto;
        }

        .web-1 {
            margin-top: 7.5rem;
            margin-bottom: 50px;
        }

        .web-2 {
            margin-bottom: 7.5rem;
        }
    }
}

@media screen and (min-width: 992px) {

    @media screen and (max-height: 992px) {

        /*HORIZONTAL*/
        header,
        footer {
            height: 5rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        .sections {
            display: flex;
            flex-direction: unset;
            justify-content: center;
            align-items: unset;
        }

        .button {
            width: 40%;
        }

        .button .button-body {
            height: 100%;
        }

        .web-1 {
            margin-right: 25px;
            margin-top: 6rem;
            margin-bottom: 6.5rem;
        }

        .web-2 {
            margin-left: 25px;
            margin-top: 6rem;
            margin-bottom: 6.5rem;
        }
    }

    @media screen and (min-height: 993px) {

        /*VERTICAL*/
        header,
        footer {
            height: 6rem;
        }

        h2 {
            font-size: 1.75rem;
        }

        .sections {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .button {
            width: 70%;
        }

        .button .button-body {
            height: auto;
        }

        .web-1 {
            margin-top: 7.5rem;
            margin-bottom: 50px;
        }

        .web-2 {
            margin-bottom: 7.5rem;
        }
    }
}

@media screen and (min-width: 1200px) {

    .button {
        width: 30%;
    }

    h2 {
        font-size: 1.5vw;
    }

    .button .button-body {
        height: 100%;
    }

    .button .button-body .title {
        height: 25%;
    }

    .sections {
        display: flex;
        flex-direction: unset;
        justify-content: center;
        align-items: unset;
    }

    .web-1 {
        margin-right: 40px;
        margin-top: 6rem;
        margin-bottom: 6.5rem;
    }

    .web-2 {
        margin-left: 40px;
        margin-top: 6rem;
        margin-bottom: 6.5rem;
    }
}