* {
  background-color: rgb(255, 234, 164);
  font-family: "Space Mono", monospace;
  scroll-behavior: smooth;
  color: #333;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

#navbar {
  position: absolute;
  top: 10px;
  width: 95%;
  display: flex;
  justify-content: space-between;
  border-radius: 5px;
  align-items: center;
  padding: 10px;
  margin: 0 5px 0 10px;
  background-color: rgb(255, 234, 164);
  color: #333;
  z-index: 100;
  animation: fadeIn .5s ease-in forwards;
}

#navbar a {
  color: black;
  text-decoration: none;
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 5px;
  transition: ease .3s;
  font-weight: bold; 
}

#navbar a:hover {
  background-color: #71726e;
  color: rgb(255, 234, 164);
}

.logo h1 {
  margin: 0;
  color: black;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: #333;
  text-decoration: none;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 15px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #333;
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    left: -90%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: transparent;
    width: 95%;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
    z-index: 101;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    padding: 16px 0;
  }

  .hamburger {
    display: block;
    z-index: 102;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  
}

.row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-col-1 {
  padding: 20px;
  text-align: left;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeIn 0.5s ease-in forwards;
  width: 30%;
  position: relative;
  z-index: 1;
}

.about-col-1 img {
  max-width: 100%;
  border-radius: 50%;
  margin-left: 15px;
  margin-top: 6rem;
  position: relative;
  z-index: 1;
}

.about-col-2 {
  padding: 20px;
  opacity: 0;
  width: 50%;
  transform: translateX(50px);
  animation: fadeIn 0.5s ease-in forwards;
  text-align: left;
  font-size: 24px;
  margin-top: 7%;
  position: relative;
  z-index: 2;
  margin-left: 10px;
}
.about-col-2 h1{
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  padding: 0;

}
.about-col-2 h3{
  font-size: 36px;

  margin: 0;
  padding: 0;
}

.about-col-2 p {
  width: 100%;
  border-radius: 10px;
  font-size: 24px;
  margin: 0;
  padding: 0;
}

.btn-box a{
  display: flex;
  justify-content: start;
  margin-top: 20px;
  animation: fadeIn 0.5s ease-in forwards;
}

.about-col-2 a {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #333;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid #333;
  margin: 0 10px 10px 0;
  transition: background-color 0.5s ease-in;
  vertical-align: middle;
}
.btn-box a:hover{
  background-color: #333;
  color:rgb(255, 234, 164);
  transition: .5s ease-in;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .about-col-1,
  .about-col-2 {
    width: 100%;
    text-align: center;
  }

  .about-col-1 {
    z-index: 2;
  }

  .about-col-1 img {
    margin: 2.5rem 1.5rem;
  }

  .about-col-2 {
    z-index: 1;
  }

  .btn-box {
    justify-content: center;
  }

  .btn-box a {
    margin: 10px;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes itemFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Style the tab */
.tab {
  overflow: hidden;
  width: 40%;
  margin: 2rem .5rem .5rem 30rem;
  justify-content: space-evenly;
  border-radius: 20px;
  animation: fadeIn 0.5s ease-in forwards;
  align-items: center;
}

/* Style the buttons inside the tab */
.tab button {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  text-align: center;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #333;
  color: white;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #333;
  color: white;
  transition: fadeIn 0.5s ease-in forwards;
}

/* Style the tab content */
.tabcontent {
  display: flex;
  flex-wrap: wrap;
  padding: 6px 12px;
  width: 80%;
  height: auto;
  justify-content: space-between;
  margin: 1rem 1rem 1rem 5rem ;
  animation: fadeIn 0.5s ease-in forwards;
  box-shadow: 5px 7px 10px 5px rgba(0, 0, 0, 0.5);
}
.tabcontent img{
  width: 17%;
  height: 5rem;
  justify-content: space-evenly;
  margin: 1.5rem .5rem 1rem 5rem;
  transition: transform 0.3s ease-in-out;
  

}

.tabcontent img:hover {
  transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 768px) {
  .tab {
    width: 100%;
    margin: 2rem 2rem;
  }

  .tabcontent {
    width: 100%;
    margin: 1rem 1rem;
    justify-content: center;
    flex-direction: column;
  }

  .tabcontent img {
    width: 100%;
    height: auto;
    margin: 2rem 2rem;
  }
}

@media (max-width: 480px) {
  .tabcontent {
    flex-direction: column;
    align-items: center;
  }

  .tabcontent img {
    width: 80%;
    height: auto;
    margin: 1rem 0;
  }
}
#project {
  background-color: transparent;
  text-align: center;
  width: 95%;
  margin: 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.5s ease-in forwards;
}

#project h1 {
  font-size: 36px;
  margin-bottom: 2rem;
  text-align: center;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 95%;
}

.card {
  width: 100%;
  height: 360px;
  border-radius: 10px;
  padding: 1rem;
  background-color: #272727;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: 0.4s ease-out;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.5);
  justify-content: space-evenly;
  margin: 5px;
  font-size: 1.5rem;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.card .info {
  position: relative;
  z-index: 1;
  color: #333;
  background-color: rgb(255, 234, 164);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s;
  border-radius: 10px;
}

.card:hover .info {
  opacity: 1;
  transform: translateY(0);
}

.card .info h1 {
  margin: 0;
  color: #333;
  border-radius: 10px;
}

.card .info p {
  letter-spacing: 1px;
  font-size: 15px;
  margin-top: 8px;
  color: #333;
  border-radius: 10px;
}
.card .info a {
  letter-spacing: 1px;
  font-size: 15px;
  margin-top: 8px;
  color: #333;
  text-decoration: none;
  padding: 5px;
  border-radius: 5px;

}
.card .info a:hover {
  background: #333;
  color: rgb(255, 234, 164);
}

.card .info button {
  padding: 0.6rem 1.2rem;
  background: transparent;
  margin-bottom: 5px;
  border: none;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s ease;
  border-radius: 5px;
}

@media (min-width: 768px) {
  .card {
    width: 45%;
  }
}

@media (min-width: 1200px) {
  .card {
    width: 30%;
  }
}

/* Educational styling */
.timeline-container {
  position: relative;
  width: 90%;
  margin:3%;
  padding: 20px 20px;
  animation: fadeIn 0.5s ease-in forwards;
  justify-content: center;
}
.timeline-container h1 {
  text-align: center;
  font-size: 2.5rem;
}

.timeline-line {
  position: absolute;
  width: 4px;
  background-color: #333;
  top: 0;
  bottom: 0;
  left: 20px;
}

.timeline-item {
  padding: 1% 10px;
  position: relative;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.5s, transform 0.5s;
  display: flex;
  align-items: center;
}

.timeline-item.active {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid #333;
  border-radius: 50%;
  left: 10px;
  margin: 0 0 0 5px;
  z-index: 1;
}

.timeline-date {
  width: 250px;
  text-align: right;
  padding-right: 5px;
  font-size: 14px;
  font-weight: bold;
  background-color: rgb(255, 234, 164);
  color: #333;
  border: 2px solid #333;
  border-radius: 5px;
  padding: 5px;
  line-height: 1.5rem;

}

.timeline-content {
  padding: 20px 30px;
  background-color: rgb(255, 234, 164);
  border: 2px solid #333;
  position: relative;
  border-radius: 6px;
  width: 80%;
  margin-left: 60px;
}

@media (max-width: 768px) {
  .timeline-container {
    padding: 20px;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
    padding-right: 0;
  }

  .timeline-item::before {
    left: 10px;
  }

  .timeline-date {
    width: auto;
    text-align: center;
    padding: 3px;
    font-size: 12px;
    font-weight: normal;
  }

  .timeline-content {
    width: auto;
    margin-left: 40px;
  }
}



.scroll-to-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 5px;
  width: 40px;
  height: 40px;
  background-color: transparent;
  color: #333;
  border: none;
  border-radius: 50%;
  border: 2px solid #333;
  cursor: pointer;
  z-index: 100;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
  opacity: 1;
}

.scroll-to-top i {
  font-size: 24px;
  line-height: 20px;
}

@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
.container {
  display: block;
  justify-content: center;
  align-items: center;
  width: 90%;
  transform: translateY(50px);
  animation: fadeIn 0.5s ease-in forwards;
  border-radius: 10px;
  padding: 5px 5px 5px 20px;
  margin: .5rem .5rem 1.5rem 3rem;
}
.container .text{
  text-align: center;
  font-size: 41px;
  font-weight: 600;
  background: #333;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.container form{
  width: 100%;
  height: 23rem;
}
.container form h2{
  text-align: center;
}
.container form .form-row{
  display: flex;
  margin: 10px 0;
}
form .form-row .input-data{
  width: 100%;
  height: 50px;
  margin: 0 20px;
  position: relative;
}
form .form-row .textarea{
  height: 50px;
}
.input-data input,
.textarea textarea{
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  font-size: 17px;
  border-bottom: 2px solid rgba(0,0,0, 0.12);
}
.input-data input:focus ~ label, .textarea textarea:focus ~ label,
.input-data input:valid ~ label, .textarea textarea:valid ~ label{
  transform: translateY(-20px);
  font-size: 14px;
  color: #333;
}
.textarea textarea{
  resize: both;

}
.input-data label{
  position: absolute;
  pointer-events: nones;
  bottom: 20px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.textarea label{
  width: 100%;
  bottom: 10px;

}
.input-data .underline{
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
}
.input-data .underline:before{
  position: absolute;
  content: "";
  height: 2px;
  width: 100%;
  background: #333;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before,
.textarea textarea:focus ~ .underline:before,
.textarea textarea:valid ~ .underline:before{
  transform: scale(1);
}
.submit-btn .input-data{
  overflow: hidden;
  height: 45px!important;
  width: 25%!important;
}

.submit-btn .input-data .inner{
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  background: transparent;
  color: #333;
  transition: all 0.4s;
  border: 2px solid #333;
}
.submit-btn .input-data input{
  background: none;
  border: 2px solid #333;
  color: #333;
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  
}
@media (max-width: 768px) {
  .container .text{
    font-size: 30px;
  }
  .container form{
    padding: 10px 0 0 0;
    height: 95vh;
  }
  .container form .form-row{
    display: block;
  }
  form .form-row .input-data{
    margin: 35px 0!important;
  }
  .submit-btn .input-data{
    width: 40%!important;
  }
}
.contact-info{
  width: 100%;
  text-align: center;
  display: block;
  box-shadow: 5px 7px 10px 5px rgba(0, 0, 0, 0.5);
}
.contact-info a i{
  border: 2px solid #333;
  border-radius: 50%;
  padding: 5px 5px;
  justify-content: center;
  color: #333;
}
.contact-info a i:hover{
  transition: .5s ease-in;
  background-color: #333;
  color: rgb(255, 234, 164);
}
