html {
    background-color: #FFF9B2;
}

.index_link {
    text-decoration: none;
}
.index_heading {
    cursor: pointer;
}

h1, h2, p {
    color: #111;
}

ion-icon, .fa-envelope, .fa-wordpress-simple, .fa-medium {
    color: #111;
}

.topnav a {
    color: #111;
}

.dropbtn {
    color: #111;
}

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #d2d0db;
    color: #fff;
}
.dropdown-content a:hover {
    background-color: #d2d0db;
    color: black;
  }
 

h2, h3, p {
    font-family: 'Poppins';
    text-align: center;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.1rem;
}

p {
    font-size: 1.6rem;
}

.about_container{
    display: flex;
    flex-direction: column; 
    /*
    by default, it's set to row. 
    for MOBILE, set direction to column.
    then use media queries to see if screen is wider than ~500px and set flex-direction: row; so that boxes will appear next to each other
    */
}

.about_pic {
    width: 100%;
    border-radius: 10px;
}

.about_box{
    border-radius: 10px;
    padding: 2rem;
}
.about_box:nth-of-type(2){ /*this will target the second occurence of an element with the class of about box*/
    background-color: #fff;
    opacity: 0.6;
    padding: 5rem;
    line-height: 2;
}

@media screen and (min-width: 768px){ /*see if screen is wider than 600px*/
    /* define new rules to override previous rules */
    .about_container{
        flex-direction: row;
    }
}