@import url('https://fonts.googleapis.com/css2?family=Crete+Round&family=Inter:wght@400;500&family=Poppins&family=Roboto:wght@700&display=swap');
/* stylelint-disable  no-descending-specificity */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: 'sora', serif; /* stylelint-disable-line */
  background: #fff;
  color: #000;
  margin: 0;
  overflow-x: hidden !important;
}

.main {
  display: flex;
  flex-direction: column;
}

.wrapper {
  max-width: 90%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

input:hover {
  transform: translate(5px, 5px);
}

input[type=submit] {
  border: none;
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  letter-spacing: 0.03em;
}

input[type=submit]:enabled {
  color: #f4f1f0;
  background: #f55800;
}

input[type=submit]:hover {
  background: #fff5e1;
  border: 1px solid #f55800;
  color: #f55800;
}

input[type=submit]:active {
  border: none;
  background: #e05304;
  color: #f4f1f0;
}

input[type=submit]:disabled {
  background: #f4f1f0;
  color: #5b5957;
}

textarea {
  background: #fbf8f7;
  border: none;
  padding: 12px 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 30px 30px;
}

/* top navigation */
header {
  background: #3e3c3c;
}

.top-navigation {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  background: #3e3c3c;
  color: #fff;
  z-index: 100;
}

.top-navigation ul {
  list-style: none;
  display: flex;
  text-transform: capitalize;
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  line-height: 20px;
}

.top-navigation ul a {
  color: inherit;
  text-decoration: none;
}

.top-navigation li {
  padding: 4px;
  flex: 1;
  font-weight: 600;
  font-size: 15px;
}

.top-navigation .name {
  flex: 9;
  display: flex;
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
}

.top-navigation .name i {
  margin-right: 0;
  margin-left: auto;
}

.menu {
  display: block;
}

.mobile-menu,
.hide {
  display: none;
}

/* headline section */
.headline-section {
  background: #1c1a19;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 10px 10px;
  background-image: url("img/Illustration-header@2x.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.headline-section .social-icons {
  display: flex;
  flex-direction: column;
  flex-basis: 10%;
  color: #cfcfcf;
}

.headline-section .social-icons i {
  margin: 10px 10px;
}

.headline-section .blank {
  flex-basis: 50%;
}

.headline-section .headline {
  margin: 20px 10px;
}

.headline-section .primary-text {
  font-family: 'Crete Round'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 82px;
  color: #f55800;
}

.headline-section .support-text {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 44px;
  padding: 10px 0;
  color: #fff;
}

.headline-section .description {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  padding: 10px 0;
  color: #f4f5f7;
  width: 70%;
}

/* Works */
.works .content {
  display: flex;
  flex-direction: column;
}

.works .title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 2em 0;
}

.works .title h2 {
  font-family: 'Crete Round'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 52px;
  flex: 1;
  flex-basis: 20%;
  white-space: nowrap;
}

.works .title span {
  flex: 1;
  flex-basis: 80%;
  text-decoration: line-through;
  border-bottom: #000 solid 1px;
}

.works .card-works {
  display: flex;
  flex-direction: row;
}

.works .card-works .card-left {
  flex-basis: 60%;
  height: 568px;
}

.works .card-works .card-left img {
  width: 100%;
  height: 100%;
  padding: 5px;
}

.works .card-works .card-left img:hover {
  transform: scale(0.98);
}

.works .card-works .card-right {
  flex-basis: 40%;
  padding-left: 30px;
}

.works .card-works .card-right h3 {
  font-family: 'Crete Round'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 52px;
  color: #091e42;
}

.works .card-works .card-right > p {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #091e42;
}

.works .card-works .card-right > div ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 12px;
}

.works .card-works .card-right > div li {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #8993a4;
}

.works .card-works .card-right input[type=submit] {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  gap: 10px;
  width: 124px;
  height: 48px;
}

.works .card-works ul {
  list-style: none;
  margin-top: 24px;
}

.works .card-works li div {
  height: 435px;
  filter: drop-shadow(0 48px 48px rgba(37, 47, 137, 0.08));
}

.works .card-works li .prj-01:hover {
  transform: scale(0.98);
}

.works .card-works li:first-child .prj-01 {
  background-repeat: no-repeat;
}

.works .card-works li:nth-child(2) .prj-01,
.works .card-works li:nth-child(5) .prj-01 {
  /* background-image: url("img/ImgPlaceholder2.png"); */
  background-repeat: no-repeat;
}

.works .card-works li:nth-child(3) .prj-01,
.works .card-works li:nth-child(6) .prj-01 {
  background-image: url("img/ImgPlaceholder3.png");
  background-repeat: no-repeat;
}

.works .card-works li:nth-child(4) .prj-01 {
  background-image: url("img/ImgPlaceholder4.png");
  background-repeat: no-repeat;
}

.works .card-works li .prj-01 {
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.works .card-works li .prj-01 .title-post {
  font-family: 'Crete Round'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  color: #fff;
  margin: 5px 20px;
}

.works .card-works li .prj-01 .supporting-text {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 5px 20px;
}

.works .card-works li .prj-01 .tags ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 12px;
  margin: 5px 20px;
}

.works .card-works li .prj-01 .tags li {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #8993a4;
  background: rgba(255, 255, 255, 0.24);
}

.works .card-works li .prj-01 input[type=submit] {
  height: 58px;
  justify-self: flex-end;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: none;
}

/* Base */
.base {
  width: 100%;
  background: #1c1a19;
  margin: 50px 0;
}

.base .about {
  padding: 70px 0;
  display: flex;
  border-bottom: 1px solid #fff;
  margin-bottom: 70px;
  margin-left: 5%;
}

.base .about .about-top {
  display: flex;
  flex-direction: column;
  flex-basis: 50%;
  padding: 0 10px;
}

.base .about .about-top input[type=submit] {
  margin: 10px 0;
  width: 161px;
  height: 48px;
  margin-top: 16px;
}

.base .about .about-bottom {
  flex-basis: 50%;
  background-image: url("img/Group.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-position-x: 195px;
}

.base .about .primary-text {
  font-family: 'Crete Round'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 900;
  font-size: 72px;
  line-height: 82px;
  color: #f55800;
}

.base .about .description {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: #f4f5f7;
}

.base .skill {
  padding: 20px 0;
  display: flex;
  color: #fff;
  text-align: start;
}

.base .skill div {
  flex-basis: 33.333%;
}

.base .skill > div {
  margin-top: 10px;
}

.base .skill h3 {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 900;
  font-size: 35px;
  line-height: 10px;
  display: flex;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.base .skill > div h3 span {
  margin-right: 10px;
  background: #f55800;
}

.base .skill > div:first-child h3 span {
  width: 20px;
  height: 20px;
  transform: rotate(-45deg);
}

.base .skill > div:nth-child(2) h3 span {
  width: 20px;
  height: 20px;
}

.base .skill > div:nth-child(3) h3 span {
  width: 20px;
  height: 20px;
  border-radius: 100%;
}

.base .skill > div ul {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 43px;
  color: #fff;
  padding: 0;
}

.base .skill > div li {
  list-style: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

.bottom .contact {
  display: flex;
}

.bottom .contact ul {
  list-style: none;
}

.bottom .contact > div {
  flex-basis: 50%;
}

.bottom .contact div:first-child {
  font-family: 'Inter'; /* stylelint-disable-line */
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 52px;
  color: #262626;
  text-align: start;
  padding: 2em 3em 2em 0;
}

.bottom .contact form {
  display: flex;
  flex-direction: column;
  margin: 3em 0;
}

.bottom .contact form .split-row {
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
}

.bottom .contact form .split-row span {
  flex-basis: 50%;
}

.bottom .contact input[type=text],
.bottom .contact input[type=email],
select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.bottom .contact input[type=text],
.bottom .contact input[type=email] {
  border: none;
  border-bottom: #dbd8d7 solid 1px;
  margin: 1em 5px;
}

.bottom .contact input[type=submit] {
  padding: 12px;
  width: 131px;
  height: 48px;
  align-self: start;
  margin-top: 10px;
  margin-left: 40px;
}

.bottom .contact form textarea {
  width: 100%;
}

.bottom .contact form .errors {
  width: 100%;
  background-color: rgb(177 125 125 / 20%);
  margin: 10px 2px;
  padding: 5px 10px;
  border-radius: 10px;
  color: red;
  display: none;
}

.bottom .social {
  width: 100%;
  border-top: #e5e5e5 solid 1px;
  margin: 0;
  display: flex;
  justify-content: center;
}

.bottom .social-icons {
  margin: 5px 10px;
}

.bottom .social-icons i {
  margin: 20px 5px;
}

/* Modal */
.modal {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(184, 174, 174, 0.8);
}

.modal > div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 80%;
  background: #fff;
  border: 1px solid #ebecf0;
  box-shadow: 0 48px 48px rgba(37, 47, 137, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

.modal-content > div:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.modal-content > div:first-child h2 {
  font-family: 'Crete Round';/* stylelint-disable-line */
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  color: #172b4d;
  margin: 0;
  width: 100%;
}

.modal-content > div:first-child i {
  cursor: pointer;
}

.modal-content > div ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 50px;
}

.modal-content > div ul li {
  font-family: 'Poppins';/* stylelint-disable-line */
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #3c3a39;
  border: 1px solid #4d4f55;
  box-shadow: 0 48px 48px rgba(37, 47, 137, 0.08);
  padding: 10px;
  margin-right: 10px;
  white-space: nowrap;
}

.modal-content-body {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.modal-content-body > div:first-child {
  flex-basis: 60%;
  background-image: url('./img/SnapshootPortfolio.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.modal-content-body > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex-basis: 40%;
  height: 100%;
  padding-left: 20px;
  min-height: 40vh;
}

.modal-content-buttons {
  display: flex;
  margin-top: auto;
  margin-bottom: 0;
}

.modal-content-buttons input[type=submit] {
  padding: 10px 45px 10px 10px;
}

.modal-content-buttons .input-icons {
  width: min-content;
  position: relative;
  margin-right: 20px;
}

.modal-content-buttons .input-icons i {
  position: absolute;
  right: 0;
}

.icon {
  padding: 10px;
  color: white;
  min-width: 50px;
  text-align: center;
}

@media all and (max-width: 768px) {
  .grid-container {
    display: inline-block;
  }

  /* top navigation */
  .top-navigation .name {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
  }

  .top-navigation ul {
    flex-direction: column;
    padding: 0;
  }

  .top-navigation ul li.toggle {
    margin-top: 5px;
    border-bottom: #6f6c6b 1px solid;
  }

  .top-navigation li {
    padding-top: 25px;
    padding-bottom: 15px;
    padding-left: 15px;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    color: #fff5e1;
  }

  .mobile-menu {
    display: block;
  }

  .menu,
  .social.toggle {
    display: none;
  }

  .fullHeight {
    height: 100vh;
  }

  /* headline section */
  .headline-section {
    background-image: url("img/illustration-header-mobile.png");
    background-size: auto;
    background-position-y: bottom;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 50em;
  }

  .headline-section .illustration-header {
    left: 131.68px;
    top: 265px;
  }

  .headline-section .primary-text {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: 0.37px;
  }

  .headline-section .support-text {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
  }

  .headline-section .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
  }

  .headline-section .social-icons {
    order: 2;
    flex-direction: row;
  }

  /* Works */
  .works .title {
    flex-direction: column;
    margin: 2em 0;
  }

  .works .title h2 {
    font-weight: 400;
    font-size: 30px;
    line-height: 52px;
    text-align: left;
  }

  .works .title span {
    flex: none;
    width: 100%;
  }

  .works .card-works {
    flex-direction: column;
  }

  .works .card-works .card-right {
    flex-basis: 100%;
    padding-left: 0;
  }

  .base .skill h2 {
    justify-content: center;
  }

  .works .card-works .card-right h3 {
    font-size: 25px;
    line-height: 44px;
  }

  .works .card-works .card-right > p {
    font-size: 16px;
    line-height: 24px;
  }

  .works .card-works li .prj-01 input[type=submit] {
    display: flex !important;
  }

  .grid-container li {
    margin: 10px 0;
  }

  /* Base */
  .base .about {
    display: block;
  }

  .base .about .about-top,
  .base .about .about-bottom {
    width: 100%;
  }

  .base .about .about-bottom {
    height: 200px;
    margin-bottom: -50px;
  }

  .base .skill {
    flex-direction: column;
    text-align: center;
  }

  .base .skill h3 {
    justify-content: center;
  }

  .base .about .primary-text {
    font-weight: 900;
    font-size: 62px;
    line-height: 10px;
    letter-spacing: 0.37px;
  }

  .base .about .description {
    font-size: 17px;
  }

  .base .skill div {
    flex-basis: 100%;
  }

  .base .skill > div ul {
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .base .skill > div li {
    list-style: none;
  }

  .bottom .contact {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .bottom .contact > div {
    flex-basis: 100%;
    margin: 0;
  }

  .bottom .contact ul {
    list-style: none;
    padding: 0;
  }

  .bottom .contact div:first-child {
    font-weight: 700;
    font-size: 25px;
    line-height: 44px;
    padding: 35px 0;
  }

  .bottom .contact input[type=text],
  .bottom .contact input[type=email] {
    width: 100%;
  }

  .bottom .contact input[type=submit] {
    width: 50%;
    align-self: center;
    margin: auto;
  }

  /* Modal */
  .modal-content {
    width: 90%;
    height: 90%;
    padding: 10px;
  }

  .modal-content > div ul {
    margin-top: 50px;
    margin-bottom: 10px;
  }

  .modal-content-body {
    flex-direction: column;
    height: 100%;
  }

  .modal-content-body > div:first-child {
    height: 450px;
    min-height: 20vh;
  }

  .modal-content-body > div:nth-child(2) {
    flex-basis: 100%;
    padding-left: 2px;
    min-height: auto;
  }
}
