@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  color: #edf0f1;
  font-family: Montserrat;
}

header {
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0px;
  padding: 18px 10%;
  background-color: #24252a;
  z-index: 1000;
}

.logo {
  font-weight: 600;
  font-size: 20px;
  margin-right: auto;
  cursor: pointer;
  padding-top: 10px;
}

a {
  text-decoration: none;
  color: #edf0f1;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  display: inline-block;
  padding: 0px 20px;
}

.nav-links li a {
  transition: all 0.4s ease 0s;
  font-weight: 500;
  font-size: 18px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #0088a9;
}

.btn {
  padding: 10px;
  font-size: 18px;
  font-family: Montserrat;
  font-weight: 600;
  color: #edf0f1;
  background: none;
  border: 1px solid #0088a9;
  cursor: pointer;
  transition: 0.8s;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  color: #0088a9;
}

.btn::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 180%;
  background: #0088a9;
  z-index: -1;
  transition: 0.8s;
  top: 0;
  border-radius: 0 0 50% 50%;
}

.btn:hover::before {
  height: 0%;
}

footer {
  display: flex;
  justify-content: flex-end;
  padding: 30px 10%;
  background-color: #24252a;
}

footer td {
  padding: 0px 10px;
  font-size: 14px;
  text-align: center;
}

.icons {
  display: flex;
  justify-content: space-between;
}

.icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #0088a9;
  background: transparent;
  border-radius: 50%;
  font-size: 15px;
  margin-left: 5px;
  margin-right: 5px;
  color: #0088a9;
}

.icons a:hover {
  color: #edf0f1;
  border-color: #edf0f1;
  transition: 0.3s;
}

/*Home page*/
.home {
  height: 100vh;
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
  background-color: #24252a;
  padding-bottom: 100px;
}

.home-content {
  display: inline-block;
  margin: auto;
  max-width: 600px;
}

.home-content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
}

.home-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: #0088a9;
}

.home-content p {
  font-size: 16px;
  margin: 20px 0 40px;
}

/* heading*/
.heading {
  padding-top: 50px;
  text-align: center;
  color: #edf0f1;
  font-size: 53px;
  position: relative;
}

.heading span {
  color: #24252a;
}

/*transition*/
.anchor {
  display: block;
  position: relative;
  top: -60px;
  /* Adjust the offset based on the navbar height */
  visibility: hidden;
}

/*about*/
.about {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.flip-container {
  perspective: 1000px;
  position: relative;
  width: 60%;
  height: 100%;
}

.flip-container:hover .flipper {
  transform: rotateY(180deg);
}

.flipper {
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
  position: absolute;
  width: 100%;
  height: 100%;
}

.back {
  transform: rotateY(180deg);
}

.front,
.back {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  margin-top: 25px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgb(0, 0, 0.2);
  background-color: rgba(36, 37, 42, 0.97);
}

/*front*/
.more {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 4%;
}

.more .more-content .title {
  padding-bottom: 20%;
}

.more .more-content h3 {
  font-size: 30px;
  color: #0088a9;
}

.more .more-content .more-info {
  list-style-type: square;
  list-style: none;
}

.more .more-info li {
  padding-bottom: 5%;
  text-align: justify;
}

.more .more-info li h4 {
  padding-bottom: 5px;
}

.more img {
  box-shadow: 0 5px 10px rgb(0, 0, 0.2);
}

/*back*/
.about .academic {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
}

.about .first,
.about .half {
  padding: 3%;
  width: 50%;
  height: 50%;
}

.about .back h3 {
  text-align: center;
  font-size: 40px;
  color: #0088a9;
  text-transform: capitalize;
}

.about .back h3 span {
  color: #edf0f1;
}

.about .skill {
  padding: 6%;
  width: 100%;
}

.about .skill-name {
  display: block;
  text-transform: uppercase;
}

.about .skill-bar {
  width: 100%;
  height: 8px;
  margin: 5px;
  margin-left: 0;
  background-color: #edf0f1;
  border-radius: 10px;
}

.about .skill-level {
  width: 90%;
  height: 100%;
  background-color: #0088a9;
  display: block;
  position: relative;
  border-radius: 10px;
}

.about #css {
  width: 60%;
}

.about #c {
  width: 70%;
}

.about #js {
  width: 50%;
}

.about #tm {
  width: 80%;
}

.about #tl {
  width: 70%;
}

.about #ps {
  width: 85%;
}

.about #ex {
  width: 70%;
}

.about #canva {
  width: 70%;
}

.contact,
.about {
  background-color: #0088a9;
  padding-bottom: 100px;
  height: 100vh;
}

/*contact*/
form {
  width: 80%;
  max-width: 600px;
  margin: 50px auto;
  margin-top: 25px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgb(0, 0, 0.2);
  background-color: rgba(36, 37, 42, 0.97);
}

.contact .input-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.contact .input-box input {
  width: 274px;
  height: 40px;
  background-color: #24252a;
}

.contact .textarea-field {
  display: flex;
  justify-content: center;
}

.contact textarea {
  resize: none;
  width: 100%;
  height: 300px;
  max-width: 100%;
  max-height: 50%;
  font-family: montserrat;
  background-color: #24252a;
}

.contact textarea,
.contact .input-box input {
  padding: 20px;
  border: 3px solid #0088a9;
  border-radius: 5px;
  margin: 3px;
  color: #edf0f1;
}

.contact .box-btn {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.contact .btn {
  z-index: 1;
  border-radius: 5px;
  width: 120px;
}
