@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=DM+Sans:wght@500;700&display=swap");

:root {
  --primary: #be6361;
  --secondary: #fff2dd;
  --third: #333333;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
}

/* navigation bar style :start */

nav {
   background-color: #FF8482;
 /* background-color: #2874A6;*/
  position: fixed;
  z-index: 9999;
  width: 100%;
}

.nav-wrapper {
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: right;
  width: 85vw;
  margin: auto;
}

.logo img {
  width: 200px;
  height: 50px;
  object-fit: cover;
  border-radius: 35px 0px;
  cursor: pointer;
}

.nav-links-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: right;
  /*height: 52px; */
  height: 50px;
  width: 50vw;
  background: linear-gradient(89.97deg, #fdc068 1.14%, #fff2dd 98.23%); 
/* background: linear-gradient(89.97deg, #AED6F1 1.14%, #fff2dd 98.23%); */
  border-radius: 0px 55px;
}

.nav-links {
  width: 70%;
  /*font-family: DM Sans; */
   font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: right;
  color: #333333;  /* font color in menue bar */
}

.nav-links ul {
  display: flex;
  justify-content: space-evenly;
  align-items: right;
  list-style: none;
  transition: all 0.5s ease-in-out;
}

.nav-links li {
  transition: all 0.5s ease-in-out;
}

.nav-links ul li:hover {
  cursor: pointer;
}

.nav-links span {
  transform: rotate(90deg);
  display: inline-block;
}

.nav-links ul li {
  display: inline-block;
}

.nav-links ul li::after {
  content: "";
  width: 0px;
  height: 3px;
  display: block;
  background: #C6B6A7;  /* Change color under text in menu bar */
/*  background: #5DADE2; */
  transition: 300ms;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.nav-link {
  border: 2px solid var(--third);
/*  padding: 8px; */
  padding: 12px;
  border-radius: 25px 0px;
}
.nav-cta {
  width: 180px;
 /* height: 35px; */
  height: 49px; 
  text-align: center;
  border: 3px solid black;
  background-color: #ff8482;
/* background-color: #5DADE2; */  /* Book free demo background color*/ 
 /* border-radius: 0px 20px;*/
  border-radius: 16px 0px;
  cursor: pointer;
  padding-top: 3px;
}

.nav-cta h3 {
 /* font-family: "DM Sans", sans-serif;*/
   font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: white;  /* font color of Book Free Demo color*/
  margin-top: 1px;
  cursor: pointer;
}

.burger-menu {
  display: none;
}

.drop {
  cursor: pointer;
}

.temp {
  height: 5vh;
  width: 7vw;
  position: absolute;
}

.drop-down {
  position: absolute;
  top: 5vh;
  flex-direction: column;
  display: none;
  justify-content: space-evenly;
  background: var(--secondary);
  border-radius: 10px;
  /* min-height: 10vh; */ /* increase space between cousesin drop down menu-courses list */ 
  min-height: 20vh;
  min-width: 100px;
  padding-left: 10px;
  padding-right: 10px;
  /* border-radius: 6px; */
  border: 2px solid #131313;
  transition: all 0.2s ease-in-out;
}

.drop-down a {
  color: #333333;  /* color font in courses*/ 
/*  color: white; */
/*  font-family: "DM Sans", sans-serif; */
 font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-top: 5px;
  text-align: left;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.drop-down a:hover {
  min-width: 40%;
  background-color: #ff8482;  /* background of courses drop down menu */ /* when hover over courses highlight the course */
/* background-color: white;  */  /* then the color change to secondary color  */
  color: var(--secondary);
  border-radius: 5px;
  padding: 1vh 1vw;
  animation: drop-down-animation 0.5s ease-in forwards 1s;
}

.drop:hover .nav-links span {
  transform: rotate(270deg);
}

.drop:hover .drop-down {
  display: flex;
}

.drop-down:hover {
  display: flex;
}

@keyframes drop-down-animation {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media all and (max-width: 1300px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .heading h2 {
    font-size: 40px;
  }

  .logo {
    padding-left: 10vw;
  }

  .burger-menu {
    display: block;
    padding-right: 10vw;
  }

  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .nav-links-wrapper {
    flex-direction: column;
  }

  .nav-links ul {
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
  }

  .nav-links {
    height: 60%;
  }

  .nav-links-wrapper {
    height: 85vh;
    position: absolute;
    top: 10vh;
    right: 0;
    transform: translateX(100%);
    transition: transform 1s ease-in-out;
  }

  .nav-links-active {
    transform: translateX(0);
  }

  .nav-divider {
    transform: rotate(90deg);
  }

  @keyframes navFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
  }

  .drop-down a {
   /* display: none;*/
  }
}

/*edit small screen menu*/
@media all and (max-width: 1300px) and (min-width: 1000px){ 
  
  /*edit for mobile menu 24-11   @media all and (max-width: 1300px) and (min-width: 800px){ } */
    .drop-down {
	  position: static;  
    height: auto; /*try to put width also 90% of screen*/
	width: 320px; 
	/*margin-top: 45px; */
	opacity:1;
  }
  .drop-down:hover {
  display: flex;
  margin-top: 250px; 
}  /* this for editing menu in small screen I need to adjust margin to start from the top of the window */
}
@media all and (max-width: 990px) and (min-width: 800px){ 
  
  /*edit for mobile menu 24-11   @media all and (max-width: 1300px) and (min-width: 800px){ } */
    .drop-down {
	  position: static;  
    height: auto; /*try to put width also 90% of screen*/
	width: 320px; 
	/*margin-top: 45px; */
	opacity:1;
  }
  .drop-down:hover {
  display: flex;
  margin-top: 250px; 
}  /* this for editing menu in small screen I need to adjust margin to start from the top of the window */
} 
@media all and (max-width: 790px) and (min-width: 250px){
    .drop-down {
	  position: static;  
    height: 83vh; /*try to put width also 90% of screen*/
	width: 90vw; 
	/*margin-top: 45px; */
	opacity:1;
  }
  .drop-down:hover {
  display: flex;
  margin-top: 200px; 
}	
}
/* navigation bar style :end */

/* contact style :start */

.contact {
  background-color: #f88382;
  min-height: 100vh;
  padding-top: 10vh;
}

.contact-form {
  padding-left: 5vw;
}

.contact-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.contact .sub {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
}

.contact h2 {
  font-family: "Alfa slab one", cursive;
  font-weight: 400;
  font-size: 56px;
  color: white;
}

.contact span {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #1b1b1b;
}

.contact svg {
  transform: translateY(4px);
}

.contact-form input {
  background-color: white;
  width: 367px;
  height: 58px;
  font-size: 20px;
  border-style: none;
}

.contact-form textarea {
  background-color: white;
  font-size: 20px;
  border-style: none;
}

.contact-form input::placeholder,
textarea::placeholder {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: grey;
  font-size: 20px;
  padding-left: 10px;
}

.contact-form input[type="submit"] {
  height: 58px;
  width: 138px;
  cursor: pointer;
  background-color: white;
  border: 3px solid black;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.contact-illustration img {
  height: 728px;
  width: 912px;
  position: relative;
  z-index: 99;
}

.blob1 img {
  position: absolute;
  right: 0;
  top: 0;
}

.blob2 img {
  position: absolute;
  transform: translateY(32px);
}

.contact h3 {
  font-family: "Alfa slab one", cursive;
  font-weight: 400;
  font-size: 36px;
  color: #f88382;
}

.contact-details-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.contact-details {
  position: relative;
  z-index: 10;
}
/* media queries */

@media all and (max-width: 450px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* nav bar style :end */
  .blob1,
  .blob2 {
    display: none;
  }

  .contact {
    padding-top: 20vh;
  }
  .contact-illustration img {
    width: 400px;
    height: 400px;
    object-fit: cover;
  }
  .contact-details {
    transform: translateX(-60px);
  }
  .contact-details-map iframe {
    transform: translateX(-200px);
    height: 400px;
    width: 400px;
  }
  .located-text {
    transform: translateX(-600px);
    width: 100%;
  }

  .contact h3 {
    color: var(--secondary);
    font-size: 24px;
  }
  .contact-form input,
  textarea {
    width: 80%;
  }
  .located-text,
  .contact-details-wrapper {
    padding: 2vh 3vw;
  }
}

@media all and (max-width: 1280px) and (min-width: 451px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .blob1,
  .blob2 {
    display: none;
  }

  .contact-form {
    padding-top: 10vh;
  }

  .located-text {
    width: 100%;
    transform: translateX(-550px);
  }

  .contact h3 {
    color: var(--secondary);
  }
}

@media all and (max-width: 1638px) and (min-width: 1281px) {
  .blob1 {
    display: none;
  }
}
