@import "https://fonts.googleapis.com/css?family=Concert One:100,200,300,400,500,600,700,800,900&display=swap";
@import "https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900&display=swap";
@import "https://fonts.googleapis.com/css?family=IBM Plex Serif:100,200,300,400,500,600,700,800,900&display=swap";
@import "https://kit.fontawesome.com/a076d05399.js";
* {
  margin: 0;
  padding: 0;
  font-family: "Concert One";
  font-weight: 300;
}
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-x: hidden;
  position: relative;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.ibm-font {
  font-family: "IBM Plex Serif";
}
.m-font {
  font-family: "Montserrat";
}
.lh-25 {
  line-height: 30px;
  margin: 0;
}
.title {
  font-size: 50px;
  padding-bottom: 15px;
}
.bg-modal {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  justify-content: center;
  align-items: center;
  z-index: 100;
  display: none;
}
.modal-container {
  position: relative;
  width: 600px;
  max-width: 600px;
  background-color: white;
  border-radius: 4px;
  padding: 20px;
}
.modal-container * {
  font-family: "Montserrat";
}
.modal-container .close {
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 45px;
  transform: rotate(45deg);
  cursor: pointer;
}
.modal-container .text {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  background: -webkit-linear-gradient(
    right,
    #56d8e4,
    #9f01ea,
    #56d8e4,
    #9f01ea
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-container form {
  padding: 30px 0 0 0 0;
}
.modal-container form .form-row {
  display: flex;
  margin: 32px 0;
}
.modal-container form .form-row .input-data {
  width: 100%;
  height: 40px;
  margin: 0 20px;
  position: relative;
}
.modal-container form .form-row .textarea {
  height: 70px;
}
.modal-container .input-data input,
.modal-container .textarea textarea {
  display: block;
  height: 100%;
  width: 100%;
  border: none;
  font-size: 17px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}
.modal-container .textarea textarea {
  resize: none;
}
.modal-container .input-data .underline {
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
}
.modal-container .input-data input:focus,
.modal-container .textarea textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}
.modal-container .input-data .underline:before,
.modal-container .input-data .underline:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #3498db;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.modal-container .input-data input:focus ~ .underline:before,
.underline:after,
.modal-container .textarea textarea:focus ~ .underline:before,
.underline:after,
.modal-container .input-data input:valid ~ .underline:before,
.underline:after,
.modal-container .textarea textarea:valid ~ .underline:before,
.underline:after {
  transform: scaleX(1);
}

.modal-container .input-data input:focus ~ label,
.modal-container .textarea textarea:focus ~ label,
.modal-container .input-data input:valid ~ label,
.modal-container .textarea textarea:valid ~ label {
  transform: translateY(-20px);
  color: #3498db;
  font-size: 14px;
}
.modal-container .input-data label {
  position: absolute;
  bottom: 10px;
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
}
.modal-container .textarea label {
  width: 100%;
  bottom: 30px;
  background: #fff;
}
.modal-container .submit-btn input {
  border: 1px solid;
  border-color: #000;
  background-color: #fff;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.modal-container .submit-btn input:hover {
  background-color: #627bffcc;
  color: #fff;
}
.modal-container #my-form-status {
  text-align: center;
  font-weight: 500;
}
.modal-container #my-form-status.success {
  color: #000;
  animation: status 4s ease forwards;
}
.modal-container #my-form-status.error {
  color: red;
  animation: status 4s ease forwards;
}

.logo {
  padding: 30px 50px;
  font-size: 30px;
  display: inline-block;
  border-right: solid #ccc;
  border-width: 0.5px;
  text-decoration: none;
  color: #000;
}
.logo:hover {
  color: #000;
  opacity: 0.5;
}
.navbar {
  position: relative;
  padding: 0;
  /* box-shadow: 4px 5px 4px #aaa; */
  width: 100%;
  background: #fff;
  z-index: 1;
}
.navbar ul li {
  list-style: none;
  display: inline-block;
  margin: 0 20px;
}
.navbar ul li a {
  color: #000;
  font-family: "Montserrat";
  text-decoration: none;
}
.navbar-collapse {
  text-align: center;
}
.nav-links {
  margin-left: 10em;
  display: inline-block;
  flex: 1;
  text-align: left;
}
.nav-link:hover {
  opacity: 0.5;
}
.menu-container {
  display: flex;
  align-items: center;
}
.container-fluid {
  box-shadow: 4px 5px 4px #aaa;
}
.social {
  display: flex;
  justify-content: center;
}
.social #contactMe {
  font-family: "Montserrat";
  text-decoration: none;
}
.social #linkedin-container {
  padding: 30px 0;
  border-right: solid #ccc;
  border-width: 0.5px;
}
.social li {
  list-style: none;
}
.social #linkedin, 
.social #tel,
.social #contactMe {
  margin: 0 10px;
}
.social .contact {
  padding: 10px;
  background-color: #000;
  color: #fff;
  border-radius: 4px;
  white-space: nowrap;
}
.right-border {
  flex: 1;
  border-right: solid #ccc;
  border-width: 0.5px;
}
.flex-container {
  position: relative;
  display: flex;
  flex: auto;
}
#liz-main {
  margin-top: -4vh;
  height: 700px;
  overflow: hidden;
  z-index: -1;
}
#vector1 {
  height: 400px;
  margin-top: 200px;
}
.back-lettering {
  position: absolute;
  color: #d4a2eb2e;
  font-size: 150px;
  letter-spacing: 15px;
}
#name-lizell {
  top: 15vh;
  left: 166px;
  z-index: -1;
}
.main-div {
  min-width: 600px;
}
.about-me {
  margin-top: 220px;
  margin-left: 80px;
}
#hi {
  font-size: 80px;
}
#uiux {
  font-size: 50px;
  color: #627bffcc;
  margin: 10px;
}
.description {
  color: #4d4c4e;
  margin: 10px;
  line-height: 25px;
  font-weight: 400;
}
.about-me img {
  position: absolute;
}
#circles1 {
  left: 0;
  top: 70vh;
  animation: float 4s ease-in-out infinite;
}
#circles2 {
  position: absolute;
  top: 5vh;
  animation: float 3s ease-in-out infinite;
}
#vector2 {
  position: absolute;
  top: 90vh;
  left: 600px;
}
#hire-me {
  margin-top: 40px;
  cursor: pointer;
}
#hire-me i {
  height: 3px;
  color: #fff;
  text-align: center;
}
.main-div a {
  text-decoration: none;
  padding: 15px 35px;
  background: #627bffcc;
  color: #fff;
  margin-left: 10px;
  margin-top: 300px;
  border: solid 2px;
  border-radius: 6px;
  transition: ease 0.5s;
}
.main-div a:hover {
  opacity: 0.8;
}
.checkboxes {
  margin: 100px 0;
}
.checkboxes-container {
  display: flex;
  justify-content: space-around;
}
.checkboxes-container .columns {
  position: relative;
  /* flex: 1; */
  display: flex;
  align-items: center;
  background: #FFFFFF;
  box-shadow: 0px 4px 4px 3px rgb(0 0 0 / 25%);
  border-radius: 3px;
  padding: 10px 20px;
}
.columns {
  cursor: default;
  transition: transform 1s;
}
.columns:hover {
  transform: translateY(-15%);
}

.column-content {
  padding-left: 20px;
  /* position: absolute; */
  top: 20px;
  left: 80px;
}
.column-content h3 {
  color: #2d2d2d;
}
.column-content p {
  color: #2d2d2d;
  font-size: 12px;
}
.second {
  position: relative;
}
#circle3 {
  position: absolute;
  top: -10vh;
  animation: float 4s ease-in-out infinite;
}
.need-a-creative-design {
  overflow-x: hidden;
}
#liz-image {
  height: 600px;
}
.col-1 {
  margin-right: 30px;
  padding-right: 20px;
  flex-grow: 1;
}
.col-2 {
  padding: 30px;
  width: 40%;
  animation: polygon-in-opposing-corners 3s forwards;
}
.col-2 h3 {
  font-size: 30px;
  line-height: 50px;
}
.third {
  position: relative;
  width: 100%;
  padding-top: 150px;
}
#vector3 {
  position: absolute;
  width: 200px;
  z-index: -1;
}
#vector4 {
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  height: 1500px;
  z-index: -1;
}
.skills-container {
  align-items: center;
}
.icons {
  display: flex;
  justify-content: center;
}
.icons img {
  flex: 1;
  width: 100%;
}
.info {
  margin-left: 50px;
  max-width: 50%;
  padding: 0 100px;
}
.info h1 {
  letter-spacing: 5px;
}
.info h3 {
  padding-left: 50px;
  line-height: 35px;
  font-size: 25px;
  letter-spacing: 2px;
  margin-top: 25px;
}
.icons-container {
  align-items: center;
  text-align: center;
  position: static;
  padding: 0 20px;
  min-width: 500px;
  padding-top: 50px;
}
.icon-box {
  background: #fff;
  padding: 0;
  text-align: center;
  width: 100px;
  border-radius: 18px;
  box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.25);
  display: inline-block;
  margin: 10px;
}
.icon-box:nth-child(odd) {
  animation: float 3s ease-in-out infinite;
}
.icon-box:nth-child(even) {
  animation: float 4s ease-in-out infinite;
}
.progress-line {
  position: relative;
  height: 7px;
  width: 100%;
  border-radius: 5px;
  background: #a8a8a8;
}
.progress {
  position: absolute;
  margin-top: -2px;
  height: 10px;
  border-radius: 5px;
}
.p-80 {
  background: #a5f7fc;
}
.p-80.scrolled {
  animation: p-80 2s forwards 1.5s;
}
.p-60 {
  background: #acb9ff;
}
.p-60.scrolled {
  animation: p-60 2s forwards 1.5s;
}
.p-20 {
  background: #d4a2eb;
}
.p-20.scrolled {
  animation: p-20 2s forwards 1.5s;
}

.percentage {
  text-align: right;
  padding-bottom: 10px;
}
.feedback {
  background-image: url("../src/images/feedback.png");
  background-repeat: no-repeat;
  background-position-x: center;
  /* height: 300px; */
  margin-top: 150px;
  max-width: 60%;
  height: 250px;
  transform: translateX(40%);
  display: flex;
  align-items: center;
}
.customers-container {
  /* padding: 100px;
  margin: 10px 50px; */
}
.customers-container h1 {
  color: #fff;
  font-size: 35px;
}
.customers-container p {
  color: #fff;
  font-size: 15px;
}
.customers {
  text-align: center;
  flex: 1;
}
.fifth {
  position: relative;
}
.introducing {
  display: inline-block;
  margin: 90px 150px;
}
#lettering {
  align-items: center;
  justify-items: center;
  transform: rotate(-11.32deg);
}
.ux-lettering {
  text-align: center;
  right: 250px;
  color: rgba(212, 162, 235, 0.56);
  transform: rotate(-11.32deg);

  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 0.1em solid rgba(212, 162, 235, 0.56); /* The typwriter cursor */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: 0.1em; /* Adjust as needed */
  animation: typing-short 1s steps(5, end) forwards,
    blink-caret 0.75s step-end infinite;
}
.project-lettering {
  text-align: center;
  top: 145px;
  right: 20px;
  color: rgba(212, 162, 235, 0.56);
  transform: rotate(-11.32deg);
  visibility: hidden;
  opacity: 0;

  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 0.1em solid rgba(212, 162, 235, 0.56); /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: 0.1em; /* Adjust as needed */
  animation: typing 3.5s steps(20, end) forwards 1s,
    blink-caret 0.75s step-end infinite;
}
.projects {
  /* display: grid;
  grid-template-columns: auto auto auto; */

  --gap: 16px;
  --num-cols: 3;
  --row-height: 400px;

  box-sizing: border-box;
  padding: var(--gap);

  display: grid;
  grid-template-columns: repeat(var(--num-cols), 1fr);
  grid-auto-rows: var(--row-height);
  gap: var(--gap);


  position: relative;
  padding: 50px 30px;
  /* top: 250px; */
}
.project-card {
  text-align: center;
  margin: 10px;
}
.project-card a {
  text-decoration: none;
  color: var(--bs-heading-color);
}
.project-card:hover .imgBx img {
  margin-top: -20px;
  cursor: pointer;
}
.project-card .imgBx img {
  transition: 0.3s ease-in-out;
  width: 100%;
  height: 300px;
  object-fit: contain;
}
.project-card .content .title {
  padding: 0;
}
.other-projects {
  position: absolute;
}
.other-lettering {
  position: absolute;
  bottom: -100px;
  color: #c6cfff66;
  font-size: 150px;
  letter-spacing: 15px;
  z-index: -1;
  transform: rotate(11.32deg);
}
.projects-lettering2 {
  position: absolute;
  bottom: -200px;
  color: #c6cfff66;
  font-size: 150px;
  letter-spacing: 15px;
  z-index: -1;
  transform: rotate(11.32deg);
}

.popup {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 100;
}
.popup-content {
  height: 250px;
  width: 500px;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  position: relative;
}
.popup-content p {
  margin: 0;
  padding: 0;
}
.popup-content img {
  width: 50px;
  margin: 10px;
}
.popup-content input {
  font-family: monospace;
  margin: 20px auto;
  display: block;
  width: 50%;
  padding: 3px;
  border: 1px solid grey;
}
.popup-content .button {
  background: rgb(129, 81, 206);
  border: 1px solid grey;
  border-radius: 3px;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  cursor: pointer;
}
.popup-content .button:hover {
  background: black;
  transition: 0.3s;
}

.popup-content .close {
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 45px;
  transform: rotate(45deg);
  cursor: pointer;
}

.popup-content #sorry {
  color: red;
  display: none;
}
@keyframes p-80 {
  0% {
    width: 0%;
  }
  100% {
    width: 80%;
  }
}

@keyframes p-60 {
  0% {
    width: 0%;
  }
  100% {
    width: 60%;
  }
}

@keyframes p-20 {
  0% {
    width: 0%;
  }
  100% {
    width: 20%;
  }
}
@keyframes typing-short {
  from {
    width: 0;
  }
  to {
    width: 20%;
    border-right: none;
  }
}

@keyframes typing {
  from {
    width: 0;
    visibility: visible;
    opacity: 1;
  }
  to {
    width: 50%;
    visibility: visible;
    opacity: 1;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: rgba(212, 162, 235, 0.56);
  }
}
@keyframes float {
  0% {
    transform: translate(0%, 6%);
  }
  50% {
    transform: translate(0%, 14%);
  }
  100% {
    transform: translate(0%, 6%);
  }
}
@keyframes polygon-in-opposing-corners {
  from {
    clip-path: polygon(0 0, 50% 50%, 100% 100%, 50% 50%);
  }
  to {
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);
  }
}

[transition-style="in:polygon:opposing-corners"] {
  animation: 1.5s cubic-bezier(0.25, 1, 0.3, 1) polygon-in-opposing-corners both;
}
@keyframes status {
  0% {
    opacity: 1;
    pointer-events: all;
  }
  90% {
    opacity: 1;
    pointer-events: all;
  }
  100% {
    opacity: 0;
    pointer-events: none;
  }
}

@media only screen and (max-width: 1000px){
  /* General  */
  .logo {
    padding: 30px 30px;
  }
  #hi {
    font-size: 70px;
  }
  .title {
    font-size: 40px;
  }

  #liz-main {
    position: absolute;
    right: 0;
    height: 70%;
  }
  #name-lizell {
    top: 18vh;
    left: 23px;
    z-index: -1;
  }
  .about-me {
    margin-top: 229px;
    margin-left: 30px;
    width: 50%;
  }
  .about-me #uiux {
    font-size: 45px;
  }
  /* Absolute position vectors */
  #circles1 {
    left: auto;
    right: 0;
    top: 523px;
  }
  #circles2 {
    left: 27%;
  }
  #circle3 {
    top: -10vh;
    left: 5%;
    z-index: 1;
  }
  #vector1 {
    display: none;
  }
  #vector2 {
    display: none;
  }
  .flex-container {
    /* flex-direction: column-reverse; */
  }
  .main-div-photo {
    order: 1;
  }
  .navbar-collapse {
    order: 1;
  }
  .social #linkedin-container {
    border-right: none;
  }
  /* UI/UX Designer Graphics Designer Frontend Developer */
  .column-content h3 {
      color: #2d2d2d;
      font-size: 1.2em;
  }

  .need-a-creative-design {
    flex-flow: column;
  }
  .need-a-creative-design .col-1 {
    width: 100%;
    text-align: center;
    padding-left: 50px;
  }
  .need-a-creative-design .col-2 {
    width: 100%;
  }
  #liz-image {
    position: relative;
    text-align: center;
  } 
  .skills-container {
    flex-direction: column;
  }
  .skills-container .info {
    margin: 0;
    max-width: 100%;
    padding: 30px;
  }
  .skills-container .info .progress-container {
    padding: 0 100px;
  }
  .feedback {
    width: 100%;
    max-width: 100%;
    transform: none;
  }


  /* Projects */
  .introducing {
    margin: 30px;
  }
  .project-lettering {
    top: auto;
    transform: none;
    overflow: visible;
    right: auto;
    font-size: 5em;
    position: relative;
    animation: none;
    opacity: 1;
    visibility: visible;
    border-right: none;
  }
  .projects {
    top: auto;

    --gap: 16px;
    --num-cols: 2;
    --row-height: 400px;
  
    box-sizing: border-box;
    padding: var(--gap);
  
    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: var(--row-height);
    gap: var(--gap);

  }
}

@media only screen and (max-width: 800px) {
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-x: hidden;
    position: relative;
  }
  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  .logo {
    padding: 10px 15px;
  }
  .main-container {
    flex-direction: column-reverse;
  }
  .main-div {
    position: relative;
    max-width: 100%;
    min-width: auto;
    margin-top: 80px;
  }
  .about-me {
    margin: 30px;
    width: auto;
  }
  #liz-main {
    position: relative;
    width: 100%;
  }
  #name-lizell {
    top: -95px;
    left: 0;
    z-index: -1;
  }
  #circles1, #circle3, #vector3, #vector4 {
    display: none;
  }
  #circles2 {
    left: 0;
    top: 15%;
    width: 40%;
  }
  #circle3 {
    display: none;
  }
  #vector2 {
    display: block;
    position: absolute;
    top: 1360px;
    left: -76px;
  }
  .checkboxes-container {
    justify-content: space-around;
    flex-direction: column;
    margin: 0 10%;
  }
  .checkboxes-container .columns {
    margin: 15px;
  }
  .need-a-creative-design {
    top: 50px;
  }
  .need-a-creative-design .col-1 {
    padding-left: 0;
  }
  .need-a-creative-design #liz-image {
    height: 500px;
    margin: -40px;
  }
  .skills-container .info .progress-container {
    padding: 0;
  }
  .icons-container {
    padding: 0;
    width: auto;
  }
  .projects {
    --row-height: 300px;
  }
  .project-card .imgBx img {
    height: 200px;
  }
  .project-card .content .title {
    font-size: 2em;
  }
  .navbar-collapse {
    order: 1;
  }
  .container .text {
    font-size: 30px;
  }

  .container form {
    padding: 10px 0 0 0 0;
  }
  .container form .form-row {
    display: block;
  }
  form .form-row .input-data {
    margin: 35px 0 !important;
  }
}
