/*--------> This is the CSS to the FLEXBOX LAYOUT only <--------*/

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-top: 40px;
}

.notes {
  width: 15%;
  height: auto;
  margin-right: 2%;
  margin-top: 1%;
}

.notes > h6 {
  font-size: 14px;
  background-color: yellow;
  font-weight: bold;
  text-align: left;
}

.main-text {
  width: 65%;
  height: auto;
  margin-left: 10%;
}

.square {
  width: 31%;
  height: 31%;
  margin: 12px; 
}

.rectangle {
  width: 100%;
  height: auto;
}

.centered {
  display: block;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  
}

.centered-small {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  
}

.smallest{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
}

.icon-small{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 5%;
  justify-content: left;
}


.flex-square-img {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap; 
}

pre {
  font-style: italic;
  font-size: 14px;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: lightgrey;
  width: 100%;
  height: auto;
}

/* .code {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
} */

.videoWrapper {
  width: 100%;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video {
  width: 100%;
  height: 100%;
}

/*mobile size*/
@media only screen and (max-width: 600px) {
  .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .main-text {
    width: 90%;
    height: auto;
    margin-left: 0%;
    word-wrap: normal;
  }

  p {
    word-wrap: normal;
    width: 100%;
  }

  .notes {
    width: 90%;
    height: auto;
    margin-right: 0%;
    margin-top: 0%;
  }
}
