@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: #F5C7C7;
  padding-bottom: 1em;
}

.menu {
  background-color: white;
  margin: 0;
  padding: 0;

}

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

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

#aboutme {
  justify-self: center;
}

#aboutmetwo {
  display: flex;
  padding-top: .7em;
  text-align: center;
}

#picofme {
  border-radius: 10px;
  margin-left: 2em;
  height: 500px;
}

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

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

}

#examplepic 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;
  background-color: lightgray;
  font-size: 20px;

}

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

  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #adeb95;
    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;
}

#aboutme {
  justify-self: center;
}

#aboutmetwo {
  display: flex;
  padding-top: .7em;
  text-align: center;
}

#picofme {
  border-radius: 10px;
  margin-left: 2em;
  height: 500px;
}

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

#examplepic {
  display: flex;
  flex-direction: row;
  gap: 1em;
  grid-template-columns: 1fr 1fr;
  padding-top: 3em;
  padding-left: 4em;
  padding-right: 4em;
  padding-bottom: 5em;

}

#examplepic img {
  width: 100%;
  border-radius: 5px;
}

}

@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;
}
#start {
  display: flex;
  flex-direction: column-reverse;
  padding: 2em;
  padding-top: 3em;
  margin: 0;
  font-size: 25px;
}

#aboutme {
  display: flex;
  justify-self: center;
  margin:0em;
}

#aboutmetwo {
  display: flex;
  padding-top: .7em;
  text-align: center;
}

#picofme {
  justify-self: center;
  margin-bottom: 1em;
  border-radius: 10px;
}

#picofme img {
  width: 100%;
}

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

#examplepic {
  display: flex;
  flex-direction: row;

  padding-top: 3em;
  padding-left: 2em;
  padding-right: 2em;
  padding-bottom: 5em;

}

#examplepic img {
  width: 100%;
  border-radius: 5px;
}

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

#socialicon {
  height: 80px;
  padding-top: 2em;
  text-decoration: none;
}

#socialicon img {
  height: 100%;
  border-radius: 5px;
}

}
  

@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;
}

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

#aboutme {
  display: flex;
  justify-self: center;
  margin:0em;
}

#aboutmetwo {
  display: flex;
  padding-top: .7em;
  text-align: center;
}

#picofme {
  justify-self: center;
  margin-bottom: 1em;
  border-radius: 10px;
}

#picofme img {
  width: 100%;
}

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

#examplepic {
  display: flex;
  flex-direction: column;

  padding-top: 3em;
  padding-left: 2em;
  padding-right: 2em;
  padding-bottom: 5em;

}

#examplepic img {
  width: 100%;
  border-radius: 5px;
}

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

#socialicon {
  height: 80px;
  padding-top: 2em;
  text-decoration: none;
}

#socialicon img {
  height: 100%;
  border-radius: 5px;
}
}

