﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #703a00;
    font-family: Arial;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: white;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    margin: auto;
}

header {
    padding: 5px 5px;
}

hr {
    margin-bottom: 20px;
}

.menu-btn {
    position: absolute;
    cursor: pointer;
    font-weight: bold;
    top: 40px;
    right: 10%;
    color: white;
    display: none;
    z-index: 2;
}

.nav-main {
    font-size: 19px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 20px 0px;
    background-color: black;
}

.nav-main img {
    margin: 0px 10px;
}

.nav-main a {
    flex: 1;
    margin: 0px 10px;
}

.nav-main ul {
    display: flex;
}

.nav-main ul li {
    padding: 10px;
}

.nav-main ul li a:hover {
    border-bottom: 2px solid white;
}

.bloque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.texto {
    margin: auto auto;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-gap: 10px;
    align-items: center;
    background-color: red;
}

.texto h3 {
    margin: 10px auto;
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.texto p {
    margin: 5px 20px;
    text-align: left;
    color: white;
    font-size: 17px;
}

.botones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 10px;
}

.botones ul {
    display: flex;
    margin: auto;
}

.botones ul li {
    margin: auto 30px;
    text-align:center;
}

.botones ul li a {
    margin: auto;
}

.imagen {
    margin: 0px auto;
}

.btn {
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    padding: 10px 20px;
    background-color: forestgreen;
    color: white;
    font-size: 15px;
    margin: 10px 0px;
    border: 1px solid white;
}

.btn:hover {
    opacity: .5;
}

@media only screen and (max-width: 950px) {
    .bloque {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 830px) {
    .nav-main ul.nav-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-color:firebrick;
        height: 100%;
        padding: 30px;
        opacity: .8;
        transform: translateX(-300px);
        transition: transform .5s ease-in-out;
    }

    .nav-main ul.nav-menu.show {
        transform: translateX(0px);
    }

    .menu-btn {
        display: block;
    }
}