/* common style goes here*/

* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: verdana_font;
  src: url("../font/Verdana.ttf");
}

body {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  font-family: verdana_font;
  font-size: 16px;
  box-sizing: border-box;
}

/* header */

li {
  list-style: none;
}

li a {
  text-decoration: none;
}

.header {

  .topHeader {
    background-color: black;
    text-align: center;
    color: white;
    padding-block: 5px;
  }

  .navBar {
    height: 80px;
    padding-inline: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .menuIcon {
      display: none;
      width: 40px;
      cursor: pointer;
    }

    .closeIcon {
      color: red;
      display: none;
      width: 30px;
      cursor: pointer;

    }

    .logo {
      width: 150px;
    }

    ul {
      display: flex;
      align-items: center;      

      li {
        border-right: 1.6px solid black;
        padding-inline: 16px;
        font-size: 16px;

        a {
          color: black;

          &:focus {
            background-color: #EEEEEE;
          }
        }

        &:hover a {
          color: gray;
        }

        .dropdown-menu {
          top: 80px;
          transition: ease-in-out;
          transition-duration: 0.5s;
          display: none;
          position: absolute;
          z-index: 30;
          background-color: #D6D6D6;
          padding: 10px;

          .navHover {
            position: relative;
          }

          li {
            border-right: none;
            margin-top: 10px;
            padding-block: 5px;
            width: 100%;

            a {
              color: black;
            }

            &:hover a {
              color: gray;
            }

            .dropdown-menu {
              display: none;
              position: absolute;
              top: 200px;
              left: 90px;

            }
          }
        }
      }

      .navHover:hover .dropdown-menu {
        display: block;
        transition: ease-in-out;
        transition-duration: 0.5s;
      }

      &>:last-child {
        border-right: none;
      }
    }


  }

  .bottomHeader {
    background-color: black;
    text-align: center;
    color: white;
    padding-block: 10px;
  }

}
.layoutContainer {
  max-width: 1260px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px; 
  padding-right: 20px;
}
/* footer */


.footer {
  background-color: #D6D6D6;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  .layout1 {
    max-width: 1260px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px; 
    padding-right: 20px;
  p {
      margin:0;
    a {

      text-decoration: none;
      color: rgb(120, 120, 245);
    }
  }
}
}


@media screen and (max-width: 768px) {

  .header {
    .navBar {
      padding-inline: 20px;

      .menuIcon {
        display: block;
        width: 40px;
        cursor: pointer;
      }


      ul {
        display: none;
        width: 100%;
        background-color: #EEEEEE;
        border-radius: 5px;
        position: absolute;
        z-index: 100;
        right: 0px;
        top: 40px;

        li {
          border-right: none;
          border-bottom: 1.8px dotted #d5d3d3;

          /* &:hover {
            background-color: #EEEEEE;
          } */

          a:focus {
            outline: none;
            background-color: transparent;
          }
          .dropdown-menu {
            width: 100%;
            display: block;
            background-color: #EEEEEE;
            position: relative;
            top: 0;
            padding-top: 0;
            margin-top: -12px;
          }

        }
      }

      .activeMenu {
        position: absolute;
        top: 100px;
        right: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 0px;

        li {
          width: 100%;          
          cursor: pointer;         

          &:last-child {
            border-bottom: none;
          }

          a {
            display: block;
            color: black;
            padding-block: 10px;

            &:hover {
              background-color: none;
            }
          }
        }

      }

    }
  }

}

@media screen and (max-width:425px) {
  .footer {
    background-color: #D6D6D6;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;

    p {
      a {

        text-decoration: none;
        color: rgb(120, 120, 245);
      }
    }
  }
}