* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
    
}
 /* style for mobile */

 body {
    background-color: rgb(186, 157, 186);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
 }
.container {
   padding: 12px;
}

 header {
    text-align: center;
    color: rgb(75, 50, 87);
    font-family: "Bebas Neue", sans-serif;
    font-size: larger;
    margin-top: 20px;
    margin-bottom: 10px;
 }

 h1 {
    text-align: center;
    color: black;
    font-family: "Bebas Neue", sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: capitalize;
    font-size: 40pt
 }

 .firstnav{
   margin-bottom: 20px;
   display: flex;
   flex-flow: row nowrap;
   gap: 4px;
   justify-content: space-evenly;
 }

 .firstnav a {
   border: 2px solid black;
    color: black;
    border-radius: 4px;
    flex-basis: 30%;
    text-decoration: none;
    background-color: rgb(164, 121, 164);
    padding: 2px;
    text-align: center;
    font-size: 10pt;
    font-weight: bold;
 }

 .hero {
    min-height: 100px;
   
 }

 .hero_image {
    background-image: url(../images/selfie.jpg);
    background-size: cover;
    min-height: 300px;
    background-position: 10% 55%;
    border-radius: 8px;;
    border: 2px solid rgb(75, 50, 87);
    box-shadow: 0px 0px 20px rgb(75, 50, 87);
    margin: 10px;
 }

 

 h2 {
    font-family: "Bebas Neue", sans-serif;

    
 }

 .introduction {
    border: 1px solid black;
    border-radius: 8px;
    padding:10px;
    background-color: rgb(189, 168, 189);
    margin: 10px;
    

 }

 li {
    margin-left: 10pt;
 }

#Participation {
    border: 1px solid black;
    border-radius: 8px;
    padding:10px;
    background-color: rgb(189, 168, 189);
    margin: 10px
    

}
   
 div.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 4px;
    padding: 6px;
 }

 div.nav > a {
    border: 2px solid black;
    color: black;
    border-radius: 4px;
    aspect-ratio: 2/1;
    flex-basis: 23%;
    text-decoration: none;
    background-color: rgb(164, 121, 164);
    padding: 2px;

 }

 a:hover {
    box-shadow: 0px 0px 20px rgb(75, 50, 87);
 }


 #Hobbies {
    border: 1px solid black;
    border-radius: 8px;
    padding:10px;
    background-color: rgb(189, 168, 189);
    margin: 10px

 }

 li a {
   text-decoration: none;
 }
.img1 {
    background-image: url(../images/waterfall-big.jpg);
    background-size: cover;
    min-height: 300px;
    background-position: 10% 90%;
    margin-bottom: 20px;
    border-radius: 8px;;
    border: 2px solid rgb(75, 50, 87);
    box-shadow: 0px 0px 20px rgb(75, 50, 87); 
    margin-top: 20px;
}
.img2 {
    background-image: url(../images/greenlakes-big.jpg);
    background-size: cover;
    min-height: 300px;
    background-position: 5% 50%;
    margin-bottom: 20px;
    border-radius: 8px;;
    border: 2px solid rgb(75, 50, 87);
    box-shadow: 0px 0px 20px rgb(75, 50, 87); 
}
 
nav.back {
    margin-bottom: 20px;
    text-align: right;
    margin-right: 8px;
     }

nav.back a {
    border: 2px solid black;
    color: black;
    border-radius: 4px;
    aspect-ratio: 2/1;
    flex-basis: 23%;
    text-decoration: none;
    background-color: rgb(164, 121, 164);
    padding: 4px;
}
footer {
    height: auto;
    background-color: rgb(162, 161, 161);
    padding-top: 30px;
    text-align: center;
}

 /*style for tablets and bigger */
 @media (min-width: 768px) {
   
     .hero_image {
        min-height: 400px;
        margin: 10px 10px 20px 10px;
     }
    div.nav {
        padding: 2px;

    }
}



 /*style for desktops */
@media (min-width: 1024px) {
   
    .introduction {
        max-width: 70%;
        margin-top: 10px;
        max-height: 400px;
    }

    .hero_image {
    aspect-ratio: 1;
    max-width: 400px;
}

 .hero {
    display: flex;
    flex-direction: row-reverse;
}
div.nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 4px;
    padding: 6px;
    margin: 8px

}

div.nav > a {
    aspect-ratio: 0;
    flex-basis: 30%;
 }

 .images {
    display: flex;
    flex-wrap: row wrap;
    justify-content: space-around;
    gap: 8px;
 }

 .img2, .img1 {
    aspect-ratio: 2/1;
    width: 600px;
 }

}
