@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sansita+Swashed&display=swap');

body {
    margin: 0;
    font-family: "Barlow", sans-serif;
}

h1 {
    font-size: 1.5em;
}

header {
    background-color: maroon;
    color: white;

}

header h1 {
    font-family: "Sansita Swashed";
    font-size: 2em;
    background-image: url(mountains_logo.png);
    background-size: auto 80px;
    background-repeat: no-repeat;
    background-position: left top;
    padding: 25px 0px 0px 70px;
    text-align: left;
}

nav {
    display: flex;
    flex-direction: row;
}

@media (max-width: 640px) {
    nav {
        flex-direction: column;
        margin: 10px;
    }

    nav a {
        border: 2px solid white;
        border-radius: 8px;
        padding: 5px 10rem;
    }
}

nav a {
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    padding: 10px 25px 0px 25px;
    background-size: auto 0%;
    background-position: center bottom;
    background-repeat: no-repeat;
}

nav a.actual {
    background-image: url(mountains_logo.png);
    background-position: left top;
    background-size: auto 90%;
    background-repeat: no-repeat;
}

nav a:hover {
    background-image: url(mountains_logo.png);
    background-position: left top;
    background-size: auto 90%;
    transition: 1s;
}

header div.img-text {
    font-size: 1.5em;
    color: white;
    background-image: url(mountains.jpg);
    background-size: cover;
    background-position: center center;
    padding: 6% 15% 26% 15%;
    border-bottom: 3px ridge white;
}

@media (max-width: 640px) {
    header div.img-text {
        display: none;
    }
}

div.top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 2px solid white;
}

div.name {
    display: flex;
    flex-direction: row;
    align-items: center;
}

div.name img {
    width: 100px;
}

@media (max-width: 640px) {
    div.top {
        flex-direction: column;
    }
}

header img {
    max-width: max-content;
    width: 100%;
    border: 3px 0px 3px 0px solid white;
}

@media (max-width: 640px) {
    header img {
        display: none;
    }

    header div.name img {
        display: flex;
    }
}

main{
    background-color: #660000;
}

section{
    display: flex;
    flex-direction: row;
    padding: 1.5% 10% 0% 10%;
}

@media (max-width: 1000px) {
    section {
        display: flex;
        flex-direction: column;
        padding: 1.5% 2.5% 0% 2.5%;
    }
    section.foto {
        display: flex;
        flex-direction: column;
    }
}

section.foto article {
    margin: 5px;
}

section.bottom {
    padding: 0% 10% 1.5% 10%;
}

@media (max-width: 1000px) {
    section.bottom {
        display: flex;
        flex-direction: column;
        padding: 1.5% 2.5% 0% 2.5%;
    }
}

div.bottom {
    flex: 1;
    display: flex;
    flex-direction: row;
}

@media (max-width: 1000px) {
    div.bottom {
        display: flex;
        flex-direction: column;
    }
}

div.bottom article {
    flex: 1;
}

article{
    background-color: white;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
    margin: 15px;
}

article h1{
    align-self: left;
    font-family: 'Barlow', sans-serif;
}

article p{
    font-family: 'Barlow', sans-serif;
}

article section{
    flex-direction: row;
    padding: 0;
}

article section article{
    padding: 0;
}

article section img{
    width: 100%;
    margin: 0;
}

ul{
    font-family: 'Barlow', sans-serif;
}

ol{
    font-family: 'Barlow', sans-serif;
}
.flex2{
    display: flex;
    flex: 2;
}

nav a:hover{
    background-image: url(mountains_logo.png);
    background-position: left top;
    background-size: auto 90%;
    transition: 1s;
    background-repeat: no-repeat; 
    background-position: left top;
}

.flex3{
    flex: 3;
}

.flex4{
    flex: 4;
}

.flex1{
    display: flex;
    flex: 1;
    flex-direction: column;
}

footer {
    background-color: black;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0px 20%;
}

@media (max-width: 1000px) {
    footer {
        padding: 0;
    }
}

footer article {
    background-color: black;
    color: white;
    text-align: center;
}