@font-face {
    font-family: 'Ananda';
    src: url('assets/Ananda.ttf');
  }
body {
    font-family: "Times New Roman", Times, serif;
    color: #303832;
    margin: 0;
    padding-top: 4px;
    padding-bottom:4px;
    padding-left: 24px;
    padding-right: 24px;
    word-wrap: break-word;
    background-color: #879c8d;
    /*overflow-x: hidden;*/
  }
.navbar {
    background-color: #303832;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 100px;
    padding-right: 100px;
    margin: -10px -24px;
}
.navbar a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}
.navbar a:hover{
  color: #879c8d;
}
.intro-img {
  padding-top: 50px;
  padding-left: 100px;
}
.text-content {
  margin-left: 450px;
  margin-top: -540px;
  margin-right: 100px;
}
.text-content h1 {
  margin-bottom: -15px;
}
.text-content p {
  font-size: 18px;
  margin-bottom: -20px;
}
.text-content a {
  color: #303832;
}
.resume {
  padding-top: 50px;
  padding-left: 150px;
}
.skills-interest {
  margin-left: 780px;
  margin-top: -720px;
  margin-right: 100px;
  margin-bottom: 50px;
}
.skills-interest h1 {
  margin-left: -70px;
  margin-bottom: -15px;
}
.skills-interest p {
  font-size: 18px;
}
.skills-interest a {
  color: #303832;
}

.allservice {
  padding-left: 200px;
  padding-right: 150px;
  padding-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 20px;
}
.service {
  width: 30%;
  margin: 10px;
  position: relative;
  overflow: hidden;
}
.service img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.service p {
  position: absolute;
  bottom: 50px;
  left: -5px;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  transform: scaleY(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}
.service:hover img {
  transform: scale(1);
}
.service:hover p {
  transform: scaleY(1);
}
.service a {
  color: white;
}
/*.service-header h1{
  writing-mode: vertical-lr;
  rotate: 180deg;
  margin-top: -800px;
  padding-bottom: 300px;
}*/
.service-header {
  writing-mode: vertical-lr;
  rotate: 180deg;
  margin-bottom: -250px;
  position: absolute;
  bottom: 450px;
}
.service-footer {
  clear: both;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  color: white;
}
.service-footer a {
  color: white;
}

.project {
  padding-left: 100px;
  padding-right: 100px;
  margin: 20px;
  position: relative;
  border-left: 10px solid  #303832;
  padding-left: 20px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
}
.project h2 {
  color: #303832;
  margin-top: 10px;
}
.project p {
  margin-bottom: 10px;
}
.project .project-pic {
  display: flex;
}
.project .project-pic img{
  width: 30%;
  margin-bottom: 10px;
  margin-right: 10px;
  flex: 1;
  height: auto;
  max-width: 400px;
}
.project .project-pic .hidden-pic {
  display: flex;
}
.project .project-pic .hidden-pic img{
  width: 30%;
  margin-bottom: 10px;
  margin-right: 10px;
  flex: 1;
  height: auto;
  max-width: 400px;
}
.project a {
    color: #303832;
}

.toggle {
  text-align: right;
  padding-right: 80px;
  margin-bottom: -30px;
  margin-top: 20px;
}
.title {
  display: none;
}

h1 {
    font-family: Ananda;
    font-size: 50px;
}
.p {
    font-size: 24px;
}
.footer {
  clear: both;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  margin-top: 100px;
  color: white;
}
.footer a {
  color: white;
}




.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: grey;
}
input:focus + .slider {
  box-shadow: 0 0 1px grey;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}