@import url('<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100..900&display=swap" rel="stylesheet">');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f5f5f5;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 1000px;
  background: #fff;
  margin: 50px;
  box-shadow: 0 35px 55px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.top {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(45deg, #231fbf, #5b1769);
  padding: 50px;
  border-radius: 5px;
}

h2 {
  font-size: 3em;
  color: #fff;
  text-transform: uppercase;
  line-height: 0.7em;
  letter-spacing: 0.1em;
}

h2 span {
  font-size: 0.4em;
  font-weight: 300;
}

.group {
  position: relative;
  display: grid;
  gap: 40px;
  width: 100%;
  grid-template-columns: 2fr 3fr;
  margin-top: 20px;
}

.group .imgBx {
  position: relative;
  width: 100%;
}
.group .imgBx img {
  width: 100%;
  border-radius: 4px;
}

.group p {
  color: #fff;
  font-size: 1.05em;
}

.bottom {
  position: relative;
  display: grid;
  margin: 50px 50px 0;
  gap: 40px;
  grid-template-columns: 2fr 3fr;
}

.bottom .left_side {
  margin-top: 50px;
}

h4 {
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #fff;
  background: #231fbf;
  font-weight: 600;
  padding: 0 15px;
  margin-top: 40px;
  display: inline-flex;
  border-radius: 4px;
}

.contactInfo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.contactInfo li {
  list-style: none;
  display: flex;
  gap: 10px;
}

.contactInfo li .icon {
  color: #231fbf;
}

.contactInfo li .text {
  color: #555;
}

.contactInfo li span a {
  text-decoration: none;
}

a:visited {
  background-color: none;
}

.skills {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.skills .skillsBox {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 2fr 3fr;
}

.skills .skillsBox p {
  color: #333;
}

.skills .skillsBox .value {
  position: relative;
  width: 100%;
  height: 10px;
  background: #eee;
  border-radius: 2px;
}

.skills .skillsBox .value::before {
  content: "";
  position: absolute;
  width: var(--i);
  height: 100%;
  background: #231fbf;
  border-radius: 2px;
}

.adjstMargin {
  margin-top: -10px;
}

.edu_group {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.edu_groupBx {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.edu_groupBx p:nth-child(1) {
  font-weight: 500;
}

.edu_groupBx b {
  font-weight: 600;
  color: #231fbf;
}

.edu_groupBx b span {
  position: relative;
  top: -2px;
  font-size: 0.8em;
  color: #666;
}

.hobbies {
  margin: 0 50px 50px;
}

.hobbies ul {
  display: flex;
  margin-top: 30px;
  gap: 20px;
  justify-content: space-between;
}

.hobbies ul li {
  list-style: none;
  color: #333;
  width: calc(100% / 6);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #f3f3f3;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
}

.hobbies ul li:hover {
  color: #fff;
  background: #231fbf;
}

.hobbies ul li i {
  font-size: 2em;
}

/* TOGGLE BUTTON */
.switch {
  font-size: 0.875rem;
  position: absolute;
  right: 0;
  z-index: 10;
  display: inline-block;
  width: 10em;
  height: 2.6em;
  margin: 10px 10px 0 0;
}

.switch input {
  display: none;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch input:checked + .slider .ball {
  box-shadow: 10px 10px 100px #7f8996;
}

.switch input:checked + .slider .title {
  left: 50%;
}

.switch input:checked + .slider {
  background-color: #231fbf;
}

.switch input:focus + .slider {
  box-shadow: 10px 10px 100px #7f8996;
}

.switch input:checked + .slider .ball {
  left: 72%;
  transform: rotate(360deg);
  box-shadow: none;
  outline: 6px solid rgba(255, 255, 255, 0.278);
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #231fbf;
  transition: all 0.4s;
  border-radius: 30px;
}

.switch .slider .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  transition: all 0.4s;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #fff;
}

.switch .slider .ball {
  background-color: #fff;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  position: absolute;
  left: -1px;
  transition: 0.4s;
}

.switch .slider .ball .icon {
  position: absolute;
  top: 58%;
  left: 53%;
  transform: translate(-50%, -50%);
  color: #313033;
  font-size: 12px;
}



@media (max-width: 1000px) {
  .container {
    margin: 10px;
  }

  .top {
    height: 500px;
  }

  .group {
    display: flex;
    gap: 0px;
  }

  .imgBx {
    display: none;
  }

  h2 {
    line-height: 0.8em;
  }

  .bottom {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .bottom .left_side {
    margin-top: 0px;
  }

  .hobbies ul {
    flex-direction: column;
  }

  .hobbies ul li {
    width: 100%;
  }

  .adjstMargin {
    margin-top: 40px;
  }
}


@media (max-width: 600px) {
  .top {
    height: 600px;
  }
}