@import url("https://fonts.googleapis.com/css2?family=Alata&family=Comfortaa&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  background-color: #1a1330;
}

body.hide-scrolling {
  overflow-y: hidden;
}

/*----------------------
  Custom Scrollbar 
  ------------------------*/
::-webkit-scrollbar {
  width: 5px;
}

body.hide-scrolling {
  overflow-y: hidden;
}

/*----------------------
  Custom Scrollbar 
  ------------------------*/
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: rgb(4, 4, 4);
}

::-webkit-scrollbar-thumb {
  background-color: rgb(156, 122, 242);
}

::-webkit-scrollbar-track {
  background-color: rgb(4, 4, 4);
}

::-webkit-scrollbar-thumb {
  background-color: rgb(156, 122, 242);
}

button {
  border: none;
  background-color: transparent;
  outline: 0;
  cursor: pointer;
  font-family: inherit;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* navbar start */
.navbar {
  background-color: rgba(8, 7, 7, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 2% 0px 2%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 70px;
}

.navbar-brand-text {
  color: #fff;
  font-weight: 600;
  font-family: "Comfortaa", cursive;
}

.navbar-brand-icon {
  width: 65px;
  margin-right: 6px;
  opacity: 1.2;
  box-shadow: 0 2px 4px rgba(90, 123, 128, 0.3);
  border-radius: 50%;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  width: 20%;
}

.profile-pic {
  margin-left: 50px;
  border-radius: 50%;
  background-color: #dde6ed;
  width: 55px;
  height: 55px;
}

/* about-sc section */
#about-sc {
  padding: 20px 0;
}

.accordion-heading {
  background-color: rgb(190, 166, 244);
  border-radius: 5px;
  box-shadow: 1px 3px 4px rgba(11, 11, 11, 0.6);
  padding: 0.8rem 1.6rem;
  margin-bottom: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-heading h3 {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.7rem;
  cursor: pointer;
}

.cv-form-row {
  padding: 3rem 2rem 0 2rem;
  border: 1px solid rgba(123, 18, 220, 0.31);
  margin-bottom: 1rem;
  position: relative;
}

.accordion-content {
  display: none;
  animation: animate 0.2s linear backwards;
  line-height: 2;
  transform-origin: top;
}

.accordion.active .accordion-heading h3 {
  color: #fff;
}

.accordion.active .accordion-heading i {
  color: #fff;
  transform: rotate(180deg);
  transition: transform 0.2s 0.1s;
}

.accordion.active .accordion-content {
  display: block;
}

.form-elem {
  margin-bottom: 3rem;
  position: relative;
}

.form-label {
  color: #fff;
}

.form-label1 {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 0.5rem;
}

.form-control {
  border-radius: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  padding: 0.8rem 1.6rem;
  font-family: inherit;
  width: 100%;
  outline: 0;
  transition: all 300ms ease-in-out;
  color: #000;
}

.form-control:focus {
  border-color: rgba(0, 0, 0, 0.3);
}

.form-text {
  color: #ca0b00;
  font-size: 12px;
  position: absolute;
  letter-spacing: 0.5px;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
}

.cols-3,
.cols-2 {
  display: grid;
}

.repeater-add-btn {
  width: 25px;
  height: 25px;
  background-color: rgb(185, 143, 252);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  font-size: 1.6rem;
  color: #000;
  margin: 1rem 0;
}

.repeater-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgb(185, 143, 252);
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.6rem;
}

@keyframes animate {
  0% {
    transform: scaleY(0);
  }
}

@media screen and (min-width: 768px) {
  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }

  .cols-2 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
}

@media screen and (min-width: 992px) {
  .cv-form-row {
    padding: 3rem 3rem 0rem 3rem;
  }

  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* print section starts*/
.print-btn-sc {
  margin: 9rem 0 1rem 0;
  display: flex;
  justify-content: space-between;
}

.print-btn-sc button{
  margin: 0 4rem;
}

.print-btn-sc div {
  margin-right: 6rem;
}

/* @media print {
  body * {
    visibility: hidden;
  }

  .non_print_area {
    display: none;
  }

  .print_area,
  .print_area * {
    visibility: visible;
  }

  .print_area {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
  }
} */
/* @media print {
  body *:not(.preview-section):not(.preview-section *) {
    visibility: hidden;
  }
  .preview-section {
    position: absolute;
    top: 0;
    left: 0;
  }
} */
/* This CSS is for printing only */
@media print {
  body * {
    display: none;
  }

  .preview-section,
  .preview-section * {
    display: block;
  }
}

.btn {
  font-size: 14.5px;
  font-weight: 600;
  padding: 1rem 1.6rem;
  border-radius: 1rem;
  display: inline-block;
  box-shadow: 0 0 5px #b567b8;
}

.btn-secondary {
  background-color: #ffffff;
  border-radius: 1px;
  color: #1e2532;
  border: 1px solid #656e83;
  transition: .3s;
  margin-bottom: 2rem;
}

.btn-secondary:hover {
  background-color: rgb(185, 143, 252);
  color: #fff;
}

/* print-section ends */
/* modal starts */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  /* Adjust the maximum width as needed */
  max-height: 90vh;
  padding: 10px;
  overflow-y: auto;
  background-color: #000;
}

.extra {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-close {
  position: absolute;
  right: 20px;
  font-size: 3rem;
  cursor: pointer;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in;
  color: #fff;
  border-radius: 50%;
}

#template-content {
  box-shadow: 4px 1px 4px 4px rgba(0, 0, 0, 0.25);
  width: 90%;
}

.btn-close:hover {
  opacity: 0.9;
  /* background-color: rgb(175, 117, 247); */
  box-shadow: 0 0 6px rgba(35, 173, 278, 1);
  color: #fff;
}

/* modal ends */
/* tab box starts */
.tab_box {
  display: flex;
  flex-direction: row;
  margin: 40px 10px;
  list-style-type: none;
}

.tab_btn {
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #fff;
  margin: 0px 20px;
}

.tab_btn:hover {
  text-decoration: underline;
  transition: 0.3s ease-in;
}

.content_box {
  padding: 15px;
  margin: 15px 20px;
}

.content_box .content {
  display: none;
  animation: moving 0.5s ease;
}

@keyframes moving {
  from {
    transform: translateX(50px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.content_box .content.active {
  display: block;
}

.tab_box .tab_btn.active {
  color: #dde6ed;
}

/* tab box ends */

.split-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.form-column {
  width: 80%;
  margin: 10px;
  padding: 5px;
  border-right: 2px solid #fdfdfd;
  color: #fff;
}

/* Add these styles to your existing CSS */
.preview-column {
  width: 50%;
  /* Adjust the width as needed */
  margin-top: 11rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-column img {
  transform: scale(.65, .65);
  transform-origin: top;
}
.preview-btn{
  margin-top: -18rem;
  width: 12rem;

}