:root {
    --bg-black: #000000;
    --bg-white: #ffffff;
    --bg-section1: #f8efe1;
    --bg-section2: #f1f1f1;
    --bg-button: #f4a524;
    --bg-footer: #f8efe1;
    --text-white: #ffffff;
    --text-black: #000000;
    --text-grey: #908f8f;
    --text-orange: #f4a524;

    --bar-gray: #bbb9b9;

    --width-total: 79%;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--text-black);
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: var(--bg-black);
}

header {
    background-color: var(--bg-white);
    width: var(--width-total);
    margin: auto;
    padding: 20px;

    display: grid;
    grid-template-columns: 2fr 6fr 1fr;
    align-items: center;
    justify-items: center;
}

header>div:first-child {
    width: 100%;
}

header>div:first-child>img {
    width: 90px;
    object-fit: fill;

}

header>nav {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    list-style: none;
}

header>div:last-child span {
    color: var(--text-orange);

}

main {
    width: var(--width-total);
    margin: auto;
}

main>section:nth-child(1) {
    background-color: var(--bg-section1);
    padding: 0 60px 15px;
    height: 54vh;

}

main>section:nth-child(1)>.contenedor1 {
    width: 100%;
    height: 99%;
    font-family: Arial, Helvetica, sans-serif;


    display: grid;
    grid-template-columns: 1fr 4fr 4fr 1fr;
    align-items: center;
    justify-items: center;

}

main>section:nth-child(1)>.contenedor1>div:first-child button,
main>section:nth-child(1)>.contenedor1>div:last-child button {
    background-color: var(--bg-white);
    border: 0px;
    padding: 2px 8px;
    font-size: 2em;
    border-radius: 50px;
}

main>section:nth-child(1)>.contenedor1>div:first-child {
    justify-self: left;
}

main>section:nth-child(1)>.contenedor1>div:last-child {
    justify-self: right;
}

main>section:nth-child(1)>.contenedor1>div>h3 {
    margin-bottom: 30px;
    font-size: 1.3em;
}

main>section:nth-child(1)>.contenedor1>div>ul>li {
    font-size: 1.1em;
    margin: 0 0 8px 1em;
}

main>section:nth-child(1)>.contenedor1>div:nth-child(2)>button {
    margin-top: 50px;
    font-family: Arial, Helvetica, sans-serif;
}

main>section:nth-child(1)>.contenedor1>div:nth-child(3)>img {
    width: 100%;
}

main>section:nth-child(1)>ul {
    width: 24%;
    list-style: none;

    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    align-self: center;
    justify-self: center;


}

main>section:nth-child(1)>ul>li {
    background-color: var(--bar-gray);
}


main>section:nth-child(1)>ul>li:nth-child(3) {
    background-color: var(--text-orange);
    height: 5px;
}

main>section:nth-child(2) {
    background-color: var(--bg-white);
    height: 38vh;
    align-content: center;
    justify-items: center;

}

main>section:nth-child(2)>h3 {
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 20px;
    color: var(--text-black);
}

main>section:nth-child(2) p {
    color: var(--text-grey);
    font-size: 1.1em;

}

main>section:nth-child(2)>ul {
    width: 70%;
    margin: auto;
    list-style: none;
    margin: 40px 0px 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 50px;
}

main>section:nth-child(2)>ul>li {
    display: grid;
    grid-template-columns: 1fr 5fr;
    gap: 30px;

}

main>section:nth-child(2)>ul>li>img {
    display: block;
    align-self: center;
}


main>section:nth-child(2)>button {
    display: block;
}

main>section:nth-child(3) {
    height: 75vh;
    background-color: var(--bg-section2);
    align-content: center;
}

main>section:nth-child(3)>h3 {
    align-self: center;
    justify-self: center;
    font-size: 1.9em;
    font-weight: 100;

    margin-bottom: 30px;
}

main>section:nth-child(3)>div {
    width: 75%;
    margin: auto;
    align-self: center;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

main>section:nth-child(3)>div>article {
    background-color: var(--bg-white);
}

main>section:nth-child(3)>div>article>div:last-child {
    align-self: center;
    padding: 35px;
}

main>section:nth-child(3)>div>article>div:last-child>p:first-child {
    font-weight: 900;
}

main>section:nth-child(3)>div>article>div:last-child>p {
    margin-bottom: 35px;
}

main>section:nth-child(3)>div>article:last-child {
    box-shadow: 0px 0px 11px 2px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 11px 2px rgba(0, 0, 0, 0.15);
}


main>section:nth-child(3)>div>article>div>img {
    width: 100%;
}

main>section:nth-child(3)>div>article>div>button {
    margin-top: 30px;
    background-color: var(--bg-white);
    color: var(--text-grey);
    border: 0px;
    font-size: 1em;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
}


main>section:nth-child(4) {
    background-color: var(--bg-white);
    padding: 50px 0px 30px;

}

main>section:nth-child(4)>div {

    width: 85%;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    justify-items: center;
    justify-content: center;
}

main>section:nth-child(4)>div>div:first-child {
    width: 75%;
    justify-self: center;
}

main>section:nth-child(4)>div>div:first-child>h3 {
    font-size: 1.8em;
    font-weight: 100;
}

main>section:nth-child(4)>div>div:first-child>p {
    font-size: 1.2em;
    font-weight: 100;
    color: var(--text-grey);
    margin: 30px 0;
}

main>section:nth-child(4)>div>div:last-child {
    margin-left: 50px;
}

main>section:nth-child(4)>div>div:last-child>img {
    display: block;
    width: 70%;
    justify-self: center;
}

main>section:nth-child(5) {
    padding: 80px 0px 40px;

    background-color: var(--bg-section2);
    align-content: center;
    justify-items: center;
}

main>section:nth-child(5)>h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.2em;
    font-weight: 100;
}

main>section:nth-child(5)>p {
    width: 80%;
    margin: 40px auto 25px;
    line-height: 2em;
    color: var(--text-grey);


}

main>section:nth-child(5)>button {
    display: block;

}


body>div {
    margin: auto;
    background-color: var(--bg-white);
    width: var(--width-total);
    height: 70px;
}



footer {
    font-family: Arial, Helvetica, sans-serif;
    padding: 25px;
    width: var(--width-total);
    background-color: var(--bg-footer);
    margin: auto;
}

footer ul {
    list-style: none
}

footer>div {
    width: 80%;
    align-self: center;
    justify-self: center;

    display: grid;
    grid-template-columns: 2fr 7fr;
    gap: 40px;
}

footer>div>div:first-child {
    justify-self: right;
    width: 50%;
}

footer>div>div:first-child>img {
    width: 100%;
}

footer>div>div:last-child>ul {
    border-bottom: var(--bg-black) 1px solid;
    margin-bottom: 10px;
    font-size: 0.9em;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

footer>div>div:last-child>ul>li {
    margin-bottom: 30px;
}

footer>div>div:last-child>ul>ul>li {
    margin-bottom: 10px;
    color: var(--text-grey);
    font-size: 0.9em;
}



footer>div>div:last-child>div>ul>li>strong {

    color: var(--text-grey);
    font-size: 1em;
}


footer>div>div:last-child>div>p {
    font-size: 0.9em;
    margin-bottom: 20px;
}


footer>div>div:last-child>div>ul {
    font-size: 0.9em;

    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

footer>div>div:last-child>div>ul>li {
    color: var(--text-grey);
    font-size: 0.9em;
}






/* CLASSES */

.buttonOrange1 {
    color: var(--text-white);
    background-color: var(--bg-button);
    padding: 7px 10px;
    border: 0px;
    border-radius: 1px;
    font-family: 'Times New Roman', Times, serif;
}

.buttonOrange2 {
    color: orange;
    border: 1px solid orange;
    background-color: white;
    padding: 7px 10px;
    font-size: 1em;
    font-family: 'Times New Roman', Times, serif;
}