html {
  background-color: #ffcbcb;
  margin: 0px 30px;
}

body {
  background-color: white;
  height: 100%vh;
  margin: 0;
  padding: 0;
}

/*I was hoping to change the style to make the nav bar to reach screen width but couldn't do it */
.navdiv {
  /*position: fixed;*/
  background-color: #ffb5b5;
  overflow: hidden;
  display: flex;
  justify-content: center;
  column-gap: 10px;
  margin: 0;
  padding: 10px;
}

/* style dropdown button */
.dropdown .dropbtn {
  border: none;
  outline: none;
  background-color: #ffb5b5;
  font-family: inherit;
  color: blue;
  font-size: inherit;
  margin: 0;
}

/* add background-color when nav bar links on horver */
.navdiv a:hover,
.dropdown:hover .dropbtn {
  background-color: whitesmoke;
}

/* hide dropdown content by default*/
.dropdown-content {
  display: none;
  position: absolute;
  z-index: 1;
}

/* show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* block display the link inside dropdown*/
.dropdown-content a {
  float: none;
  display: block;
}

/* add background color to dropdown links on hover*/
.dropdown-content a:hover {
  background-color: #ddd;
}

footer {
  display: flex;
  justify-content: center;
  padding: 5px;
  background-color: #ffb5b5;
  color: #fff;
}

.profile-image {
  width: 150px;
  height: auto;
  border-radius: 50%;
  text-align: center;
  margin-top: 30px;
}

.item-image {
  width: 300px;
  height: auto;
}

h1 {
  font-family: 'Alice', serif;
  font-style: normal;
  color: #132743;
}

h2 {
  font-family: 'Alice', serif;
  color: #132743;
}

p {
  color: #407088;
  font-weight: bold;
  font-size: 1rem;
}

/* forming grid when screen width larger than 680px */
@media (min-width: 680px) {
  .container {
    text-align: center;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .item-1 {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }

  .item-2 {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }

  .item-3 {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }

  /*emotional intelligence styling*/
  .eq-blog {
    display: flex;
    justify-content: center;
    text-align: center;
  }
}

/* Forning inline-block when smaller than 680px */
@media (max-width: 680px) {
  .container {
    text-align: center;
  }

  .item {
    display: inline-block;
    text-align: center;
  }

  .image {
    max-width: 100%;
    height: auto;
  }

  /*emotional intelligence styling*/
  .eq-blog {
    display: inline-block;
    justify-content: center;
    text-align: center;
  }
  .eq-container {
    margin: 15px 15px;
  }
  .iq-container {
    margin: 15px 15px;
  }
}

/*javascript-dom styling*/
#loop-image {
  width: 250px;
  height: auto;
}

/*emotional intelligence styling*/
.eq-container,
.iq-container {
  border-style: double;
}
.eq-container {
  margin: 0px 15px;
}
.iq-container {
  margin: 0px 15px;
}
.item-eq-blog {
  text-align: left;
}

/*cultural blog styling*/
.blog-table {
  display: flex;
  justify-content: center;
}

table {
  border: #132743 solid 1px;
  border-style: double;
  border-collapse: collapse;
  font-size: 17px;
}

th,
td {
  padding-top: 15px;
  padding-bottom: 15px;
  border: #132743 solid 1px;
}

th {
  background-color: #407088;
}
