* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #fffafa;
  background: linear-gradient(
    156deg,
    rgb(245, 216, 216) 0%,
    rgba(252, 235, 235, 1) 48%,
    rgba(230, 230, 230, 1) 100%
  );
}
/* -------------------------------------------------------- */
.maincontainer {
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 1000px;
  margin: 50px;
  box-shadow: 0 35px 55px rgba(0, 0, 0, 0.1);
  background-color: #ffcaca;
}
.top {
  background: linear-gradient(to right, #1a2b4c, #2e2e2e);
  position: relative;
  width: 100%;
  height: 470px;
  grid-template-columns: 2fr 3fr;
}
/* -------------------------------------------------------- */
.top h2 {
  color: rgba(250, 255, 240, 0.929);
  font-size: 68px;
  margin-left: 40px;
  padding-top: 40px;
}
.top span {
  color: rgba(250, 255, 240, 0.929);
  font-size: 37px;
  font-weight: 90;
}
/* -------------------------------------------------------- */
.hdr {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 12px;
}
.leftside img {
  width: 300px;
  height: 300px;
  margin-left: 3vh;
  margin-top: 2vh;
}
/* -------------------------------------------------------- */
.about {
  color: rgb(223, 224, 223);
  font-size: 21px;
  padding: 10px;
  margin-bottom: 70px;
  line-height: 30px;
}
/* -------------------------------------------------------- */
/* ---------------------Middle/Contacts-------------------- */
/* -------------------------------------------------------- */
.middle {
  position: relative;
  display: grid;
  margin: 50px 30px 0;
  gap: 40px;
  /* ---------------------------------- */
  grid-template-columns: 2fr 3fr;
  /* ------------------------------- */
}
h4 {
  background-color: #1a2b4c;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #fffafa;
  font-weight: 600;
  padding: 0 15px;
  display: inline-flex;
  margin-top: 30px;
}
.contactInfo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}
.contactInfo li {
  list-style: none;
  display: flex;
  gap: 6px;
}
.contactInfo li .icon {
  color: #341861e2;
}
button {
  all: unset;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}
button:hover {
  color: #852f2f;
  transform: scale(1.05);
}
/* -------------------------------------------------------- */
/* ----------------------Languages------------------------- */
/* -------------------------------------------------------- */
.languages .languagesbox {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 2fr 3fr;
  margin: 20px;
  margin-left: 0;
}
.languages .languagesbox p {
  color: #333;
}
.languages .languagesbox .value {
  position: relative;
  width: 100%;
  height: 12px;
  background-color: #eee;
}
.languages .languagesbox .value::before {
  content: "";
  position: absolute;
  width: var(--i);
  height: 100%;
  background: #0867c6;
}
.arrow {
  margin-left: 1px;
  margin-right: 1px;
}
.parag {
  margin: 0;
}
.langmargin {
  margin-top: 17px;
}
/* -------------------------------------------------------- */
/* ------------------Volunteer Experience------------------ */
/* -------------------------------------------------------- */
#Volunteer {
  font-size: 17px;
}
#volsize1 {
  font-weight: bold;
  font-size: 17px;
}
#volsize2 {
  font-weight: bold;
  font-size: 17px;
}
.vole {
  margin-left: 15px;
}
/* -------------------------------------------------------- */
/* ------------------------Hobbies------------------------- */
/* -------------------------------------------------------- */
.interests {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}
.hobby {
  display: flex;
  justify-content: center;
}
.back {
  color: #2e1935;
}
.interests i {
  position: relative;
  right: 8px;
}
/* -------------------------------------------------------- */
/* -----------------------Education------------------------ */
/* -------------------------------------------------------- */
.educ {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  margin-top: 20px;
}
.educ .date {
  font-weight: bold;
  margin-top: 15px;
}
.educ h5 {
  font-weight: 600;
  color: #6e00c3;
  font-size: 20px;
  margin-bottom: 5px;
}
.educfix {
  font-style: italic;
}
/* -------------------------------------------------------- */
/* ---------------------Work-Experience-------------------- */
/* -------------------------------------------------------- */
.value span {
  position: relative;
  top: -2px;
  font-size: 15px;
  font-weight: 200;
  color: #666;
}
.companyname {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
}
#aboutwork {
  font-size: 15px;
  font-style: italic;
}
.icon4mobile {
  display: none;
}
/* -------------------------------------------------------- */
/* ---------------------Right-Side-FIXING----------------- */
/* -------------------------------------------------------- */
.rightside {
  position: relative;
  top: -20px;
}
/* -------------------------------------------------------- */
/* -------------------------Media-------------------------- */
/* -------------------------------------------------------- */
@media (max-width: 1024px) {
  h4 {
    font-size: 1em;
  }
  #Volunteer {
    font-size: 15px;
  }
  .rghtfix {
    margin-left: 20px;
  }
  .interests p {
    margin-bottom: 17px;
  }
}
/* ----------------------Tablet-------------------------- */
@media (max-width: 1023px) {
  .about {
    color: rgb(223, 224, 223);
    font-size: 16px;
    padding: 1px;
    margin-bottom: 70px;
    line-height: 25px;
    padding-top: 10px;
  }
  .leftside img {
    width: 230px;
    height: 230px;
    margin-left: 2vh;
    margin-top: 4vh;
  }
  .top {
    height: 425px;
  }
  .maincontainer {
    margin: 10px;
  }
  .languages .languagesbox {
    grid-template-columns: 2fr 2fr;
    margin: 20px;
    margin-left: 0;
  }
  .contactInfo {
    font-size: 15x;
  }
  #Volunteer {
    font-size: 14px;
  }
  h4 {
    font-size: 0.9em;
  }
  .educ h5 {
    font-weight: 600;
    color: #6e00c3;
    font-size: 16px;
    margin-bottom: 5px;
  }
  .companyname {
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    margin-right: 20px;
  }
  .workexp {
    font-size: 13px;
  }
  #aboutwork {
    font-size: 11px;
    font-style: italic;
  }
  .vole {
    margin-left: 10px;
  }
  .educ {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin-top: 20px;
  }
  .educfix {
    font-size: 13px;
    font-style: italic;
  }
  .interests p {
    margin-bottom: 2px;
    display: flex;
    justify-content: left;
    margin-left: 0;
  }
  .interests i {
    position: relative;
    right: 8px;
    top: 3px;
  }
  .value span {
    font-size: 14px;
  }
  .value p {
    font-size: 14px;
  }
}
/* ---------------------Mobile-L++-------------------------- */
@media (max-width: 714px) {
  .about {
    color: rgb(223, 224, 223);
    font-size: 16px;
    padding: 1px;
    margin-bottom: 70px;
    line-height: 25px;
    padding-top: 10px;
  }
  .leftside img {
    width: 230px;
    height: 230px;
    margin-left: 2vh;
    margin-top: 0vh;
  }
  .top {
    height: 425px;
  }
  .maincontainer {
    margin: 10px;
  }
  .languages .languagesbox {
    grid-template-columns: 2fr 2fr;
    margin: 20px;
    margin-left: 0;
  }
  .contactInfo {
    font-size: 15x;
  }
  #Volunteer {
    font-size: 14px;
  }
  h4 {
    font-size: 0.9em;
  }
  .educ h5 {
    font-weight: 600;
    color: #6e00c3;
    font-size: 16px;
    margin-bottom: 5px;
  }
  .companyname {
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    margin-right: 20px;
  }
  .workexp {
    font-size: 12px;
  }
  #aboutwork {
    font-size: 11px;
    font-style: italic;
  }
  .vole {
    margin-left: 10px;
  }
  .educ {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin-top: 20px;
  }
  .educfix {
    font-size: 13px;
    font-style: italic;
  }
  .interests p {
    margin-bottom: 2px;
    display: flex;
    justify-content: left;
    margin-left: 0;
  }
  .interests i {
    position: relative;
    right: 8px;
    top: 3px;
  }
  .value span {
    font-size: 13px;
  }
  .value p {
    font-size: 14px;
  }
  .rightside {
    top: 0;
  }
}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
@media (max-width: 560px) {
  * {
    font-family: "Poppins", sans-serif;
    margin: unset;
    padding: unset;
    box-sizing: border-box;
  }
  html {
    height: -webkit-fill-available;
  }
  body {
    transform: scale(0.9);
    transform-origin: top center;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
  }
  .maincontainer {
    margin: 5px;
    width: 200%;
    /* lsadnbsaljdhaskhdbaskhdshkfahfvsgdhjasjdas */
  }
  .leftside img {
    width: 145px;
    height: 145px;
    margin-left: 3vh;
    margin-bottom: 4vh;
  }
  .top {
    height: 235px;
    width: 100%;
  }
  .middle {
    margin: 25px 25px 0;
  }

  .top h2 {
    font-size: 32px;
    margin-left: 25px;
    padding-top: 20px;
  }

  .top span {
    font-size: 24px;
  }

  .about {
    color: rgb(223, 224, 223);
    font-size: 9px;
    margin-top: 5px;
    line-height: 16px;
  }
  h4 {
    font-size: 13px;
    text-align: center;
  }
  #Volunteer {
    text-align: center;
  }
  #volsize1 {
    font-size: 13px;
    margin: 3px;
    margin-bottom: 8px;
  }
  #volsize2 {
    font-size: 13px;
    margin: 3px;
    margin-bottom: 8px;
  }
  #aboutwork {
    font-size: 8px;
  }
  .educ {
    display: inherit;
  }
  .educationfix {
    display: grid;
    grid-template-columns: 2fr 5fr;
  }

  .middle {
    grid-template-columns: 1fr 4fr;
    display: grid;
  }
  .languages .languagesbox {
    grid-template-columns: 4fr 6fr;
    margin: 10px 0;
    display: grid;
  }
  .educ .companyname {
    font-size: 13.5px;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 5px;
  }
  .contactInfo {
    font-size: 12px;
  }
  .rightside {
    top: 0;
  }
  .value p {
    font-size: 10.5px;
    line-height: 1.3;
  }
  .languages p {
    font-size: 13px;
  }
  .languages .languagesbox .value {
    height: 10px;
  }
  .languages .languagesbox {
    grid-template-columns: 1fr 1fr;
    line-height: 1.8;
  }
  .educ h5 {
    font-size: 12px;
  }
  .educ .date {
    font-size: 13px;
  }
  .workexp {
    font-size: 10px;
  }
  .icon4mobile {
    display: inline;
    margin-right: 5px;
  }
  .interests {
    margin-top: 15px;
  }
  .value span {
    font-size: 11px;
  }
}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* -----------------------Mobile-M-------------------------- */
@media (max-width: 376px) {
  * {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    transform: scale(0.95);
    transform-origin: top center;
    margin: 0;
    width: 150%;
    overflow-x: hidden;
  }
  .maincontainer {
    margin: 10px;
    width: 100%;
    /* lsadnbsaljdhaskhdbaskhdshkfahfvsgdhjasjdas */
  }
  .leftside img {
    width: 145px;
    height: 145px;
    margin-left: 3vh;
    margin-bottom: 4vh;
  }
  .top {
    height: 235px;
    width: 100%;
  }
  .middle {
    margin: 25px 25px 0;
  }
  /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXDebug-CheckXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
  /* .maincontainer, .top, .middle { max-width: 100%; }* { outline: 1px solid rgba(255,0,0,0.2); } */
  /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
}
