/* ----- HEADINGS FONT SIZES ----- */
/* 
h1 > 48px
h2 > 44px
h3 > 32px
h4 > 24px

paragraph:
big > 32px
medium > 22px
small > 18px
*/

.h1 {
  font-size: 3rem;
  font-weight: 600;
}

.h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
}
/* Extra size for headings inside containers */
.heading-inner {
  font-size: 2.2rem;
}
.typing-effect {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.h3 {
  font-size: 1.75vw;
  font-weight: 400;
}

.h4 {
  font-size: 1.5vw;
  font-weight: 300;
}

.p-font-big {
  font-size: 1.8vw;
  font-weight: 400;
}

.p-font-medium {
  font-size: 1.5vw;
  font-weight: 300;
  text-decoration: none;
}

.p-font-small {
  font-size: 1.25vw;
  font-weight: 300;
}

@media (max-width: 768px) {
  .h1 {
    font-size: 2.2rem;
  }
  .h2 {
    font-size: 34px;
  }
  .h3 {
    font-size: 1.5rem;
  }
  .h4 {
    font-size: 24px;
  }
  .p-font-big {
    font-size: 20px;
  }
  .p-font-medium {
    font-size: 24px;
  }
  .p-font-small {
    font-size: 3.25vw;
  }
}

@media (max-width: 480px) {
  .h1 {
    font-size: 30px;
  }
  .h2 {
    font-size: 26px;
  }
  .h3 {
    font-size: 22px;
  }
  .h4 {
    font-size: 18px;
  }
  .p-font-big {
    font-size: 20px;
  }
  .p-font-medium {
    font-size: 20px;
    font-weight: 400;
  }
  .p-font-small {
    font-size: 1rem;
    font-weight: 300;
  }
}

/* ------------------------- START - BUTTONS ------------------------- */
/* This section provides styling for all types of buttons in the document. 
    -- TYPES INCLUDE:
    .button-1-purple,
    .button-1-transparent-purple-borders,
    .button-1-pink,
    .button-1-transparent-pink-borders,
    .button-1-white,
    .button-1-blue,
    .button-1-transparent-blue-borders,
    .button-1-transparent,  
    .button-hirenow,
    .button-downloadcv -- 
  */
.button {
  min-width: 10vw;
  /* height: 6.5vh; */
  padding: 0.8rem 1.2em;
  border-radius: 30px;
  border: none;
  transition: all ease 0.35s;
  color: white;
  font-size: 0.95rem;
  font-weight: 400;
}

.button-purple {
  background-color: #7202ff;
  width: 14vw;
}

.button-pink {
  background-color: #f42a8b;
}

.button-white {
  background-color: white;
  color: #191919;
}

.button-blue {
  background-color: #00b9de;
}

.button-transparent {
  background-color: transparent;
}

.button-transparent-purple-borders {
  border: 1px solid #7202ff;
  background-color: transparent;
}

.button-transparent-pink-borders {
  border: 1px solid #f42a8b;
  background-color: transparent;
}

.button-transparent-blue-borders {
  border: 1px solid #00b9de;
  background-color: transparent;
  z-index: 999;
}

.button-hirenow,
.button-downloadcv {
  width: 14vw;
  height: 8vh;
  padding: 2% 0%;
  background-color: white;
  border-radius: 2vw;
  border: none;
  color: #191919;
  font-weight: 600;
  font-size: 1.35vw;
}

.button:hover {
  scale: 1.075;
}

@media (max-width: 768px) {
  .button,
  .button-hirenow,
  .button-downloadcv {
    min-width: 144px;
    height: auto;
    padding: 0.75rem 0;
    font-size: 0.88rem;
    border-radius: 100px;
  }
}

@media (max-width: 480px) {
  .button,
  .button-hirenow,
  .button-downloadcv {
    min-width: 34vw;
    height: 2.2rem;
    padding: 8px 2%;
    font-size: 0.8rem;
    border-radius: 100px;
  }
}
/* Styles for product div */
.product {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
}

/* Styles for modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Allow modal content to be scrolled */
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 600px;
}

.close {
  color: white;
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Modal responsiveness */
@media (max-width: 768px) {
  /* Styles for modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Allow modal content to be scrolled */
    background-color: rgba(0, 0, 0, 0.9);
  }

  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
  }

  .close {
    color: white;
    position: absolute;
    width: 40px;
    height: auto;
    background-color: #00b9de;
    top: 15px;
    right: 35px;
    margin: 0;
    text-align: center;
    font-size: 4vh;
    font-weight: bold;
    cursor: pointer;
  }
}

/* LOADING SCREEN */
/* Styles for the loading screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #191919;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99;
  color: white;
  font-family: jost;
  font-size: 50px;
  /* display: none; */
}

.loading-text {
  font-size: 50px;
  margin-top: 10px;
  color: white;
  font-family: jost;
}

/* for screens smaller than 768px */
@media (max-width: 768px) {
  .loading-text {
    font-size: 8vw;
  }
  .loading-screen {
    font-size: 8vw;
  }
}

/* for screens smaller than 480px */
@media (max-width: 480px) {
  .loading-text {
    font-size: 10vw;
  }

  .loading-screen {
    font-size: 10vw;
  }
}

/* Fix for locomotive scroll issues */
html.has-scroll-smooth {
  overflow: hidden;
}

html.has-scroll-dragging {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.has-scroll-smooth body {
  overflow: hidden;
}

.has-scroll-smooth #main {
  min-height: 100vh;
}

/* Fix for blank screen on scroll */
[data-scroll-container] {
  min-height: 100vh;
  perspective: 1px; /* Prevents blank screen in WebKit browsers */
  transform-style: preserve-3d;
}

/* Prevent transform issues on mobile */
@media (max-width: 768px) {
  [data-scroll-container] {
    transform: none !important;
  }

  .c-scrollbar {
    display: none !important;
  }
}
