@media screen and (max-width: 768px) {
  mobile-first approach body {
    overflow-x: hidden;
    margin: 10px;
  }
  html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 2em;
    color: #333;
    letter-spacing: 0rem;
    word-spacing: 0rem;
    overflow-x: hidden;
  }
  body {
    overflow-x: hidden;
    font-size: 12px;
    color: lightgray;
    line-height: 0.5rem;
    overflow-x: hidden;
    background: #333;
    line-height: 15px;
  }
  .navigation {
    border: 3rem solidgrey;
    background-color: rgb(60, 62, 63);
    height: 5vh;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    align-content: flex-start;
    color: #333;
    opacity: 0.8;
    flex-wrap: nowrap;
    margin-left: 0.2rem;
  }
  .nav {
    width: 12rem;
    font-size: 9.5px;
    font-weight: bold;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    text-decoration: none;
    align-items: center;
    margin: 1rem 0 1rem 0;
    border: 1rem 0.15rem;
    flex-wrap: nowrap;
    color: lightskyblue;
  }
  .myimg {
    width: 2.5rem;
    border-radius: 5rem;
    position: absolute;
    margin: 0.1rem 1rem 4rem 0.2rem;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: left;
    margin-bottom: 1px;
  }
  .box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 60vw;
    height: auto;
    margin: 1rem 1rem;
    text-align: left;
  }
  .box-scraping {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 60vw;
    height: auto;
    margin: 1rem 1rem;
  }
  .box-aboutme {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 60vw;
    height: auto;
    margin: 1.7rem 1rem 1rem 1rem;
  }
  .box-science {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 60vw;
    height: auto;
    margin: 1rem 1rem;
  }
  .mta_certificate {
    align-self: flex-start;
  }
  .powerbi_certificate {
    align-self: flex-start;
  }
  .badge {
    width: 20%;
    align-self: flex-end;
  }
  .badge-excel {
    max-width: 20%;
    align-self: flex-end;
  }
  .badge_aws {
    width: 22%;
    align-items: stretch;
    margin: -1.2rem -1rem 0rem 1rem;
  }
  .badge_powerbi {
    width: 20%;
    align-self: flex-end;
  }
  .last_link {
    margin-right: 40rem;
  }
  .e {
    font-size: 1rem;
    font-style: italic;
    font-weight: bold;
  }
  span:before {
    content: "";
    width: 100%;
    height: 21m;
    display: inline-block; /* to insert line break between subheading and article lines */
  }
  .frame {
    margin: 2vh 2vh;
    width: 50vw;
    height: 30vh;
    border: 0%;
    border-radius: 5%;
    flex-shrink: 1;
    flex-grow: 1;
  }
  .body_images {
    margin: 2vh 2vh;
    width: 100%;
    height: 30vh;
    border-radius: 5%;
    object-fit: cover;
    flex-shrink: 1;
  }
  a {
    color: lightskyblue;
    font-weight: 600;
  }
  a:hover {
    color: rgb(10, 174, 185);
  }
  a:visited {
    color: rgb(10, 174, 185);
  }
}

/*iPAD Version------------------------------------------------------------------------------------------------*/

@media screen and (min-width: 768px) {
  /*desktop screens*/
  html {
    font-size: 62.5%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    color: white;
    letter-spacing: 0px;
    word-spacing: 0px;
    background-color: #333;
  }
  body {
    overflow-x: hidden;
    margin: 10px;
    font-size: 18px;
    background: #333;
    color: lightgray;
    line-height: 25px;
    padding-bottom: 10px;
  }
  .navigation {
    border: 3px light grey;
    background-color: rgb(60, 62, 63);
    height: 4rem;
    width: 98vw;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    align-content: flex-start;
    opacity: 0.8;
    color: lightskyblue;
  }
  .nav {
    width: 8rem;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-left: 3rem;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    text-decoration: none;
    align-items: center;
    font-style: normal;
    color: lightskyblue;
  }
  .myimg {
    width: 15vw;
    border-radius: 30rem;
    position: absolute;
    margin: 1rem 1rem 4rem 2rem;
    float: left;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: left;
    margin-bottom: 2rem;
  }
  .box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40vw;
    height: auto;
    margin: 3rem 1rem;
    background-color: #333;
  }
  .box-science {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40vw;
    height: auto;
    margin: 5rem 1rem 1rem 1rem;
    position: relative;
    background-color: #333;
  }
  .box-scraping {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 3rem 1rem;
    width: 40vw;
    height: auto;
    background-color: #333;
  }
  .box-aboutme {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40vw;
    height: auto;
    margin: 3rem 1rem 1rem 1rem;
    background-color: #333;
  }
  .mta_certificate {
    align-self: flex-start;
  }
  .powerbi_certificate {
    align-self: flex-start;
    margin-top: -2rem;
  }
  .badge {
    width: 20%;
    align-self: flex-end;
  }
  .badge_aws {
    width: 22%;
    align-items: stretch;
    margin: -7rem 1rem 0rem 10rem;
  }
  .badge_powerbi {
    width: 20%;
    align-self: flex-end;
  }
  .badge-excel {
    max-width: 20%;
    align-self: flex-end;
  }
  .e {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: bold;
  }
  span:before {
    content: "";
    width: 100%;
    height: 21m;
    display: inline-block; /* to insert line break between subheading and article lines */
  }
  .body_images {
    margin: 7vh 5vh 2vh 5vh;
    width: 35vw;
    height: 30rem;
    border-radius: 5%;
    object-fit: cover;
  }
  .frame {
    margin: 5vh 5vh;
    width: 35vw;
    height: 54vh;
    border: 0%;
    border-radius: 5%;
    flex-shrink: 1;
    flex-grow: 1;
  }
  .last_link {
    margin: 2rem 40rem 0 0;
  }
  a {
    color: lightskyblue;
    font-weight: 600;
  }
  a:visited {
    color: rgb(10, 174, 185);
  }
  a:hover {
    color: rgb(10, 174, 185);
  }
}
/*WIDE Scren Version-------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1490px) {
  /*desktop screens*/
  html {
    font-size: 62.5%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    color: white;
    letter-spacing: 0px;
    word-spacing: 0px;
    background-color: #333;
  }
  body {
    overflow-x: hidden;
    margin: 10px;
    font-size: 18px;
    background: #333;
    color: lightgray;
    line-height: 25px;
    padding-bottom: 10px;
  }
  .navigation {
    border: 3px light grey;
    background-color: rgb(60, 62, 63);
    height: 4rem;
    width: 98vw;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    align-content: flex-start;
    opacity: 0.8;
    color: lightskyblue;
  }
  .nav {
    width: 8rem;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-left: 5rem;
    margin-right: 0.5rem;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    text-decoration: none;
    align-items: center;
    font-style: normal;
    color: lightskyblue;
  }
  .myimg {
    width: 15vw;
    border-radius: 30rem;
    position: absolute;
    margin: 1rem 1rem 4rem 2rem;
    float: left;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: left;
    margin-bottom: 1rem;
  }
  .box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40vw;
    height: auto;
    margin: 3rem 1rem 1rem;
    background-color: #333;
  }
  .box-science {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40vw;
    height: auto;
    margin: 3rem 1rem 1rem;
    background-color: #333;
  }
  .box-scraping {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 7rem;
    width: 40vw;
    height: auto;
    background-color: #333;
  }
  .box-one {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 40vw;
    height: auto;
    margin: 3rem 1rem 1rem;
    background-color: #333;
  }
  .mta_certificate {
    align-self: flex-start;
  }
  .powerbi_certificate {
    align-self: flex-start;
  }
  .badge {
    width: 20%;
    align-self: flex-end;
  }
  .badge-excel {
    max-width: 20%;
    align-self: flex-end;
  }
  .powerbi_certificate {
    align-self: flex-start;
    margin-top: -2rem;
  }
  .badge_aws {
    width: 22%;
    align-items: stretch;
    margin: -10rem 1rem 0rem 15rem;
  }
  .badge_powerbi {
    width: 20%;
    align-self: flex-end;
  }
  .e {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: bold;
  }
  span:before {
    content: "";
    width: 100%;
    height: 21m;
    display: inline-block; /* to insert line break between subheading and article lines */
  }
  .body_images {
    margin: 7vh 5vh 2vh 5vh;
    width: 35vw;
    height: 30rem;
    border-radius: 5%;
    object-fit: cover;
  }
  .frame {
    margin: 5vh 5vh;
    width: 35vw;
    height: 54vh;
    border: 0%;
    border-radius: 5%;
    flex-shrink: 1;
    flex-grow: 1;
  }
  .last_link {
    margin: 3rem 40rem 0 0;
  }
  a {
    color: lightskyblue;
    font-weight: 600;
  }
  a:visited {
    color: rgb(10, 174, 185);
  }
  a:hover {
    color: rgb(10, 174, 185);
  }
}
