* {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

header {
  background-color: #eef0f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  margin-bottom: 1.3em; }
  header img {
    width: 13em;
    height: auto;
    padding: 0.6em 0.8em 0.4em 0.5em; }
  header .dropdown {
    display: inline-block;
    position: relative;
    margin-right: 0.5em;}
    header .dropdown button {
      font-size: 0.7em;
      background-color: #eef0f7;
      padding: 0.2em 0.8em;
      font-weight: 600;
      border-radius: 0.5em;
      border: 3px solid #2E5DE5; }
      header .dropdown button span {
        padding: 0 0 0 0.3em; }
    header .dropdown button:hover {
      background-color: #2E5DE5;
      color: white; }
    header .dropdown .dropdown-content {
      display: none;
      box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
      border: 1px solid black;
      border-radius: 0.2em;
      position: absolute;
     /* width: 140%;*/
      right: 0.4em;
      background-color: white;
      font-weight: 500;
      text-align: center;
      height: 60vh;
      overflow-x: auto;
      overscroll-behavior-inline: contain;
    }
      header .dropdown .dropdown-content a {
        text-decoration: none;
        display: block;
        color: black;
        font-size: 1em;
        padding-bottom: 0.2em;
        border-bottom: 2px solid black; }
      header .dropdown .dropdown-content a:hover {
        background-color: #eef0f7;
      }
  header .dropdown:hover .dropdown-content {
    display: block; }

@media (min-width: 400px) {
  header img {
    width: 17em; }
  header .dropdown button {
    font-size: 1em; }
  header .dropdown .dropdown-content a {
    font-size: 1.1em; } }
main {
  padding-top: 0.7em; }
  main nav ul {
    list-style: none;
    display: flex;
    justify-content: center; }
    main nav ul li a {
      text-decoration: none;
      border: 2px solid black;
      border-radius: 0.5em;
      padding: 0 0.6rem;
      font-size: 1rem;
      color: black;
      font-weight: 700;
      background-color: #dce3ff; }
    main nav ul a:hover {
      background-color: white;
      color: #6378d9; }
  main h1 {
    margin-top: 0.6em;
    text-align: center;
    margin-bottom: 0.2em; }
  main p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0.2em; }
  main img {
    width: 6em;
    height: auto;
    display: block;
    margin: auto;
    margin-top: 1.3em;
    margin-bottom: 1.3em; }
  main .img-preview {
    margin: auto;
    max-width: 830px;
    padding: 1.5em 0 1.5em 0;
    gap: 0.5rem;
    grid-auto-columns: 62%;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain; }

form {
  display: flex;
  justify-content: center;
  margin: 0.5em 0; }
  form label {
    border: 4px solid #6378d9;
    border-radius: 0.8em;
    font-size: 1.3rem;
    padding: 0.2em 1em;
    font-weight: 500; }
  form label:hover {
    background-color: #6378d9;
    color: white; }

.app {
  border: 3px dashed black;
  border-radius: 1em;
  width: 90%;
  max-width: 950px;
  margin: auto;
  margin-bottom: 1em;
  padding: 0.4em;
  background-color: #dce3ff; }

.img-preview-child {
  border-radius: 0.5em;
  border: 1px solid black;
  background: #1d2b35;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; }
  .img-preview-child .close-btn {
    cursor: pointer;
    align-self: flex-end;
    color: white;
    font-size: 0.7em;
    margin: 0.2em;
    border-radius: 50%; }
  .img-preview-child .icon-img {
    position: relative;
    bottom: 0.5em;
    left: 0;
    margin: auto;
    width: 6em; }
  .img-preview-child .progress-bar {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid white;
    height: 1.6em;
    width: 95%;
    border-radius: 0.2em;
    position: relative;
    bottom: 0.2em;
    margin-top: auto; }
    .img-preview-child .progress-bar .progress-bar-fill {
      position: absolute;
      background: #2E5DE5;
      width: 0%;
      height: 100%; }
    .img-preview-child .progress-bar .progress-bar-text {
      color: white;
      position: absolute;
      text-align: center;
      top: 0.3em;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto; }

.download-btn {
  text-decoration: none;
  list-style: none;
  color: white;
  cursor: pointer; }

.progress-bar-text {
  margin-top: 1em; }

#img-text {
  color: white;
  margin-top: auto; }

.active {
  background-color: white;
  color: #6378d9; }

@media (min-width: 350px) {
  main div nav ul li a {
    font-size: 1.2rem; } }  

@media (min-width: 452px) {
  main div nav ul li a {
    padding: 0 1.7rem; } }
@media (min-width: 550px) {
  main .img-preview {
    grid-auto-columns: 28%; }
    main .img-preview div {
      height: 150px; }

  .app {
    width: 80%; } }
article section {
  max-width: 900px;
  margin: auto; }
  article section img {
    width: 14em;
    height: auto;
    border: 4px solid grey;
    border-radius: 0.3em; }
  article section h2 {
    text-align: center;
    margin: 0.5em 0.5em 0 0.5em;
    padding-top: 0.5em;
    font-size: 1.8rem; }
  article section h3 {
    text-align: center;
    font-size: 1.45rem;
    margin: 0.5em;
    margin-bottom: 0; }
  article section p {
    text-align: start;
    padding: 1em;
    font-size: 1.3rem;
    line-height: 1.5;
    margin: auto; }
    article section p a {
      text-decoration: none;
      color: #bb4a03; }

section:nth-child(even) {
  background: #f8f8f8; }

@media (min-width: 375px) {
  article section img {
    width: 16em; } }
footer {
  text-align: center;
  margin-top: 0.3em;
  background: #eef0f7; }
  footer img {
    width: 13em;
    height: auto;
    padding: 1em 0.8em 0.3em 0.8em; }
  footer p {
    color: white;
    padding: 0.5em 0.8em 0.3em 0.8em;
    font-size: 1.1em; }

.homepage-div {
  margin-top: -5em;
  background: #eef0f7;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px; }

  .homepage-div h1 {
    padding-top: 1.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    font-size: 2.1rem; }
  .homepage-div span {
    color: #2E5DE5; }
  .homepage-div img {
    width: 12em;
    height: auto;
    margin-bottom: -0.1em; }

.products {
  width: 90%;
  margin: auto; }
  .products h2 {
    text-align: center;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    font-size: 1.9rem; }
  .products .products-showcase {
    display: grid;
    gap: 0.2em;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.5em; }
    .products .container {
      border-radius: 0.3em;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      border: 1px solid black;
      background: #eef0f7;
      padding: 0.2em 0.3em 1em 0.3em; }
      .products div div img {
        align-items: flex-start;
        margin: 0.3em 0.3em 0.9em 0.3em; }
      .products div div h3 {
        margin: 0.3em 0.3em 0.5em 0.3em;
        font-size: 1.2em; }
      .products div div p {
        margin: 0.3em;
        text-align: start;
        font-size: 1em;
        line-height: 1.3; }
      .products div a {
        font-weight: 500;
        padding-top: 0.7em;
        font-size: 0.8em;
        text-decoration: none;
        text-align: center;
        background: #2E5DE5;
        color: white;
        width: 98%;
        height: 2.7em;
        margin: 0.5em auto 0 auto;
        border-radius: 0.3em; }
      .products div a:hover {
        background: #30e697; }

        .products-scroll{
          display: grid;
          gap: 0.5rem;
          grid-auto-flow: column;
          overflow-x: auto;
          overscroll-behavior-inline: contain;
          grid-auto-columns: 60%;
      }

      .input-code {
        display: flex;
        flex-direction: column;
        margin: 1rem 0 2rem 0; }
        .input-code label {
          margin-left: 1.1rem;
          font-size: 1.1rem; }
      
      .input-textarea {
        margin: 0.5rem 1rem;
        border: 0.5px solid gray;
        border-radius: 0.3rem;
        font-size: 1rem;
        padding: 0.3rem; }
      
      .input-textarea:hover {
        border: 1px solid black; }
      
      .btn-div {
        display: flex; }
      
      .code-btn {
        width: 100%;
        padding: 0.5rem;
        font-size: 1rem;
        margin: 0.3rem 1rem;
        color: white;
        background-color: #6378d9;
        border: 1px solid transparent;
        border-radius: 0.3rem;
        cursor: pointer; }
      
      .code-btn:hover {
        border: 1px solid black; }

@media (min-width: 552px) {
  .products .products-showcase {
    grid-template-columns: repeat(3, 1fr); 
  } 
  .products-scroll{
   grid-auto-columns: 28%;   
  }
}
.all-tools{
  border: 1px solid black;
  border-radius: 0.7em;
  width: 90%;
  max-width: 860px;
  margin: auto;
  margin-bottom: 1em;
  padding: 0.4em;
  margin-top: 1.5em;
}
.all-tools-header{
  text-align: center;
  margin: 0.2em 0 0.5em 0;
}
.all-tools-ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 1rem;
}
.all-tools-li{
  margin: 0.7em 0.4em;
}
.all-tools-a{
  text-decoration: none;
  border: 1px solid black;
  border-radius: 0.3em;
  font-size: 0.9em;
  margin-bottom: 5rem;
  padding: 0.3em;
  color: black;
  cursor: pointer;
}
.all-tools-a:hover{
background: #eef0f7;
}
@media (min-width: 552px) {
  .all-tools-a{
    font-size: 1rem;

  }
}

/* Styling for Header Navigation*/

.display-logo{
  color: black;
  text-decoration: none;
  font-size: 1.1em;
}

.header-top-nav ul li .drop-menu{
  position: absolute;
  background: #242526;
  top: calc(130%);
  right: 0;
  width: 150px;
  width: 25vw;
  display: flex;
  flex-direction: column;
  border-radius: 0.3em;
  justify-content: flex-start;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  max-height: 70vh;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  background-color: #f9f9f9;
  z-index: 11;
}

.header-top-nav ul li .lang-btn + .drop-menu{
  width: 150px;
}
.header-top-nav ul li .lang-btn + .drop-menu li a{
  padding: 0.1em 0 0.1em 1em;
}

.header-top-nav ul li:hover ul{
  transition: all 0.3s ease;
  top: calc(100%);
  opacity: 1;
  visibility: visible;
}

.header-top-nav ul li .drop-menu li {
  width: 100%;
  border-radius: 0.5em;
  padding: 0;
}
.header-top-nav ul li .drop-menu li:hover a{
  background: #ddd;

}
.header-top-nav ul li .drop-menu li a{
  color: black;
  padding: 0 0 0 15px;
  display: block;
  padding: 0.3em 0 0.3em 1em;
}

.header-top-nav ul{
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 0.3em;
}
.header-top-nav ul li{
  position: relative;
  padding: 0.5em 0em;

}
.header-top-nav ul li > a, button {
  border: 3px solid transparent;
  padding: 1em;
  font-size: 1.1em;
  text-decoration: none;
  color: black;
  background: none;
  cursor: pointer;
  padding: 0.3em 0.6em;
  border-radius: 0.3em;
  margin: 0 0.1em;
}
.header-top-nav ul li > a:hover, button:hover {
  background: #3A3B3C;
  color: white;  
}
.lang-btn{
  border: 3px solid #1cd283;
  border-radius: 0.5em;
}
.lang-btn:hover{
  background-color: #1cd283;
}

#mobile-menu{
  display: none;
}

@media screen and (min-width: 1024px){
  .header-top-nav ul li .drop-menu{
      width: 20vw;
  }
}

@media screen and (max-width: 760px){
  #mobile-menu{
      display: block;
  }
  #mobile-menu:hover + .header-top-nav, .header-top-nav:hover{
      width: 250px;
  }

  .header-top-nav{
      position: fixed;
      top: 0;
      right: 0;
      height: 100%;
      width: 0;
      background-color: #111;
      z-index: 12;
      overflow-x: hidden;
      padding-top: 60px;
      transition: 0.5s;
  }

  .header-top-nav ul{
      flex-direction: column;
      align-items: flex-start;
  }

  .header-top-nav ul li > a, button {
      color: #818181;
      margin: 0;
      font-size: 1.3em;
      border: none;
      margin: 0;
      padding: 18px 8px 18px 22px;
      padding: 0 8px 0 22px;
  }
  .header-top-nav ul li > button {
      padding: 0px 8px 0 22px;
  }
  .header-top-nav ul li > a:hover, button:hover {
      background: none;
      color: white;
  }

  .lang-btn{
      border: none;
  }
  .lang-btn:hover{
      background: none;
  }

  .header-top-nav ul li .drop-menu{
      z-index: 12;
      top: calc(70%);
      left: calc(10%);
      width: 190px;
      font-size: 0.8rem;
      border-radius: 0.4em;
      background: #242526;
      opacity: 0;
      visibility: hidden;
      overflow-y: auto;
      max-height: 70vh;
  }
  .header-top-nav ul li:hover .drop-menu{
      top: calc(100%);
  }
  .header-top-nav ul li .drop-menu li {
      border-radius: 0;
      padding: 0;
  }

  .header-top-nav ul li .drop-menu li a{
      color: #818181;
      display: block;
      padding: 0.5em 0 0.5em 1em;
  }

  .header-top-nav ul li .lang-btn + .drop-menu li a{
      padding: 0.4em 0 0.4em 1em;
  }
  .header-top-nav ul li .drop-menu li:hover a{
      background: #3A3B3C;
      color: white;
  }
}

#mobile-menu{
  margin-right: 1.5rem;
  width: 1.3rem;

}
#mobile-menu path {
  fill: black;
}

#caret{
  width: 0.5rem;
  height: auto;
  fill: currentColor;
  margin-left: 0.05em;
}

footer {
  text-align: center;
  margin-top: 0.3em;
}
  footer img {
    width: 13em;
    height: auto;
    padding: 1em 0.8em 0.3em 0.8em;
  }
  footer p {
    color: white;
    padding: 0.5em 0.8em 0.3em 0.8em;
    font-size: 1.1em; 
  }

.footer-nav{
  padding-bottom: 0.5em; 
}
  
.footer-links{
  padding: 0 1em;
  color: black;
  text-decoration: none;
}
.footer-links:hover{
  color: gray;
}