@font-face {
  font-family: PearSoda ;
  src: url(PearSoda.ttf);
}
body {
  --nav-height: 50px;

  padding-top: var(--nav-height);
}

body {
  --nav-height: 50px;

  padding-top: var(--nav-height);
}

.nav {
  width: 100%;
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  background: yellow;
  display: flex;
  justify-content: center;
  transition: transform 0.2s;
  z-index: +1;

}

.nav--hidden {
  transform: translateY(calc(-1 * var(--nav-height)));
  box-shadow: none;
}

.nav__link {
  padding-top: .3em;
  color: #3813c8;
  margin: 0 1em;
  font-weight: bold;
  font-family: PearSoda ;
  font-size: 30px;

}

h1{
  background-color: white;
  padding: 1em;
  margin: 0;
  display: block;
  top:0;
  font-family: PearSoda ;
  font-size: 35px;

}

p{
  padding-left: 1em;
  display: block;
  top:0;
  font-size: 30px;
}

#contact{
  padding-top: 1em;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: PearSoda ;
  color: #553131;
}

html,
body {
  height: 100%;
}
#menu {
  display: flex;
  justify-content: left;
  align-items: start;
  margin-left: 1em;
}

#menu > a > div {
  padding: 1em;
  padding-left: 2em;
  padding-right: 2em;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 25px;
  text-decoration: none;
}
#one {
  background: #F5C7C7;
}
#two {
  background: #C1E0B6;
}
#three {
  background: #A0D9C5;
}




#content {
  background: #C1E0B6;
  padding-bottom: 2em;
}
.menu{
  background-color: white;
  margin: 0;
  padding: 0;

}
#menu a{
  text-decoration: none;
  padding-left: .5em;
}

#start{
  display:flex;
  flex-direction: row;
  padding: 5em;
  padding-top: 3em;
  margin:0;
  font-size: 25px;
}

#buton  {
  text-decoration: none;
  padding: 2em;
  /* padding-left: 2em;
  padding-right: 2em; */
  border-radius: 20px;
  font-size: 25px;
  background: #F5C7C7
}


#desc{
  margin-top: 1em;
  margin-left: 3em;
}

#exampletxt{
  display:flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 30px;
  padding-top: 2em;
}

#courses{
  display: flex;
  justify-content: center;
  gap:2em;
  padding-top: 3em;
  padding-left: 6em;
  padding-right: 6em;
  padding-bottom: 5em;
}

#courses p{
  width: 100%;
  border-radius: 5px;
}

#pic{
  display: grid;
  gap:2em;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 3em;
  padding-left: 4em;
  padding-right: 4em;
  padding-bottom: 5em;
  
}

#pic img{
  width: 100%;
  border-radius: 5px;
}
hr{
  margin-top: 10em;
  color: #553131;
}


.bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 2em;  
}

#socialicon {
  height: 100px;
  padding-top: 2em;
  text-decoration: none;
}
#socialicon img {
  height: 100%;
  border-radius: 5px;
}



.dropbtn {
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

.dropdown {
  display: block;
  position: fixed;
  right: 1em;
  top: 1em;
  z-index: +1;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
  margin-left: -5em ;
  border-radius: 10px;
  font-size: 20px;
  background-color: lightgray;
}

.dropdown-content a {
  color: black;
  padding: 10px ;

  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #A0D9C5;
    border-radius: 10px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  fill: #C1E0B6;
}



@media (max-width: 1150px ) {
 #menu {
  display: flex;
  justify-content: left;
  align-items: start;
  margin-left: 0px;
}

#menu > a > div {
  padding: 1em;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 30px;
  text-decoration: none;
}
#one {
  background: #F5C7C7;

}
#two {
  background: #C1E0B6;
}
#three {
  background: #A0D9C5;
}

#courses{
  display: flex;
   flex-direction: column;
  justify-content: center;
  gap:1em;
  padding-top: 1em;
  padding-left: 3em;
  padding-right: 3em;
  padding-bottom: 1em;
}

#courses p{
  width: 100%;
  border-radius: 5px;
}

#buton  {
  text-decoration: none;
  padding-top: 1em;
  border-radius: 20px;
  font-size: 30px;
  background: #F5C7C7;
  text-align: center;
}
}

@media (max-width: 900px ) {
 #menu {
  display: flex;
  justify-content: left;
  align-items: start;
  margin-left: 0px;
}

#menu > a > div {
  padding: 1em;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 30px;
  text-decoration: none;
}
#one {
  background: #F5C7C7;

}
#two {
  background: #C1E0B6;
}
#three {
  background: #A0D9C5;
}


#courses{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap:0.5em;
  padding-top: 1em;
  padding-left: 2em;
  padding-right: 2em;
  padding-bottom: 2em;
}

#courses p{
  width: 100%;
  border-radius: 5px;
}

#buton  {
  text-decoration: none;
  padding: 1em;
  /* padding-left: 2em;
  padding-right: 2em; */
  border-radius: 20px;
  font-size: 25px;
  background: #F5C7C7
}
  
}

@media (max-width: 600px ) {
  #menu {
  display: flex;
  justify-content: left;
  align-items: start;
  margin-left: 0px;
}

#menu > a > div {
  padding: 0.6em;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 25px;
  text-decoration: none;
}
#one {
  background: #F5C7C7;

}
#two {
  background: #C1E0B6;
}
#three {
  background: #A0D9C5;
}

#courses{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap:0.5em;
  padding-top: 1em;
  padding-left: 2em;
  padding-right: 2em;
  padding-bottom: 2em;
}

#courses p{
  width: 100%;
  border-radius: 5px;
}

#buton  {
  text-decoration: none;
  padding: 1em;
  border-radius: 20px;
  font-size: 25px;
  background: #F5C7C7
}
}

