body{
    background-color: rgb(241, 247, 252);
}
/* nav_bar styles*/
.nav_bar{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 125%;
    color: black;
    text-decoration: none;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    margin-top: 2%;
}
.nav_link{
    margin: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    text-align: center;
    width: 50px;
    height: 50px;
}

a{
    color: black;
    text-decoration: none;
}
a:hover{
    color: grey;
}
/* block styles */
.beginning_block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    font-size: 130%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}


/* image styles */

.lesson1_image{
    width: 40%;
    border-radius: 5%;
    margin-bottom: 5%;
    
}

.theory-text{
    width: 40%;
}

@media (max-width: 600px) { 
    .theory-text {
      flex-direction: column; 
    }
    .theory-text{
        width: 80%;
    }
    img{
        display: none;
    }
    
    
}

/* footer */
.footer{
    padding: 20px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal; 
    background-color: rgb(156, 255, 214);
    width: auto;
    height: max-content;
    margin: -7px;
  }

  /* heading style */
.heading{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5%;
    font-size: 72px;
    background-color: red;
  
    /* Create the gradient. */
    background-image: linear-gradient(45deg, rgb(9, 0, 159), rgb(0, 255, 149));
  
    /* Set the background size and repeat properties. */
    background-size: 100%;
    background-repeat: repeat;

    /* Use the text as a mask for the background. */
    /* This will show the gradient as a text color rather than element bg. */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

.block-text{
    font-size: 130%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    text-align: left;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 5%;
}

.demand_curve{
    width: 40%;
    border-radius: 5%;
    margin-bottom: 5%; 
    margin-left: 10%;
}


.double_images{
    display:flex;
    justify-content: space-around;
    margin-right: 10%;
}

