@font-face {
  font-family: 'Roboto';
  src: url('./fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Crete Round';
  src: url('./fonts/Crete_Round/CreteRound-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  src: url('./fonts/Poppins/Poppins-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter/static/Inter-Regular.ttf') format('truetype');
}

body {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #e5e5e5;
  width: 100%;
  margin: auto;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

.toolbar {
  background-color: #3c3a39;
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin-left: 24px;
  transform: rotate(360deg);
  transition: 2s;
}

.logo a {
  font-family: 'Roboto', 'Courier New', Courier, monospace;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
}

.nav-btn {
  float: right;
  margin-right: 24px;
}

.nav-links {
  display: none;
}

.headline {
  background-image: url('./img/Normal Button/Tertiary/Icons/Group2.png');
  background-repeat: no-repeat;
  background-position: right 295px;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 120px;
  background-color: #1c1a19;
  display: flex;
  flex-direction: column;
}

.primary-text {
  height: auto;
  font-family: 'Crete Round', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: 0.37px;
  color: #ff6b00;
  display: flex;
  margin: 6px 24px;
}

.supporting-text {
  font-family: 'Roboto', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.37px;
  color: #fff5e1;
  margin: 6px 24px;
}

.description {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 6px 18px 15px 24px;
  max-width: 556px;
}

.social-media {
  display: flex;
  margin-top: 15px;
}

.social-media li {
  padding-right: 20px;
}

.about-me a {
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.03em;
  color: #fff;
  background-color: #ff6b00;
  width: 161px;
  height: 48px;
  transition-duration: 1s;
}

.social-media2 a {
  text-decoration: none;
}

.first-project a {
  text-decoration: none;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #091e42;
}

.next-projects a {
  text-decoration: none;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: #fff;
}

.social-media2 {
  display: flex;
  justify-content: center;
  padding-left: 0;
  padding-top: 20px;
  margin-top: 124px;
  margin-bottom: 8px;
  padding-bottom: 20px;
  border-top: solid 1px #dfe1e6;
}

.social-media li a {
  text-decoration: none;
}

.projects {
  background-color: #fff;
  width: 100%;
}

.projects .grid-container {
  display: grid;
  grid-template-columns: auto;
}

.projects h2 {
  text-align: center;
  font-family: 'Crete Round', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: normal;
  font-weight: 350px;
  font-size: 40px;
  line-height: 52px;
  color: #1c1a19;
  border-bottom: 1px solid #212121;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 120px;
  margin-bottom: 90px;
  padding-bottom: 40px;
}

.first-project {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  padding-right: 24px;
}

.first-project img {
  width: 100%;
  height: auto;
}

.first-project h3 {
  font-family: 'Crete Round', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  color: #091ea2;
  margin: 0;
  margin-top: 12px;
  margin-bottom: 6px;
}

.first-project p {
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #091e42;
  margin: 0;
  margin-right: 24px;
}

.first-project ul {
  padding-left: 0;
}

.first-project li {
  list-style-type: none;
  display: inline;
  border: 1px solid #8993a4;
  padding: 10px 12px;
  margin-right: 12px;
  margin-bottom: 12px;
}

.first-project button {
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.03em;
  color: #fff;
  background-color: #ff6b00;
  padding: 12px;
  margin-top: 12px;
  border: none;
  transition-duration: 1s;
}

.next-projects {
  background-image: url('./img/Project/Img Placeholder2.png');
  background-repeat: no-repeat;
  background-size: 327px 386px;
  background-position-x: left;
  margin-left: 24px;
  padding-top: 84px;
  margin-top: 24px;
  margin-right: auto;
}

.next-projects h3 {
  font-family: 'Crete Round', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  margin: 0;
  color: #fff;
  margin-left: 16px;
}

.next-projects .dskp-project {
  display: none;
}

.next-projects p {
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  margin: 0;
  margin-left: 16px;
  width: 295px;
}

.next-projects ul {
  padding-left: 16px;
  margin-bottom: 22px;
}

.next-projects li {
  list-style-type: none;
  display: inline;
  border: 1px solid #8993a4;
  padding: 10px 12px;
  margin-right: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.24);
}

.next-projects button {
  font-family: 'Inter', 'Courier New', Courier, monospace;
  width: 327px;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.03em;
  color: #fff;
  background-color: #ff6b00;
  padding: 12px;
  margin-top: 22px;
  border: none;
  transition-duration: 1s;
}

.aboutme-langs {
  background-color: #fff;
  width: 100%;
  margin: 0;
  padding-top: 120px;
}

.contacts-section {
  background-color: #fff;
  width: 100%;
  margin: 0;
  padding-top: 120px;
}

.footer-section {
  background-color: #fff;
  width: 100%;
  margin: 0;
  padding-top: 120px;
}

.about-me {
  background-image: url('./img/footer/Frame.png');
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: 350px;
  background-color: #1c1a19;
  padding: 120px 24px 209px 24px;
  margin-bottom: 0;
}

.about-me-title {
  font-family: 'Crete Round', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 72px;
  line-height: 88px;
  letter-spacing: 0.37px;
  color: #ff6b00;
  margin: 0;
}

.about-me p {
  max-width: 327px;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #f4f5f7;
}

.achivement {
  background-image: url(./img/footer/Frame2.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #1c1a19;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.achivement-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  align-items: center;
}

.achivement-list ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.achivement-list {
  list-style-type: none;
}

.achivement-list h4 {
  font-family: 'Poppins', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  display: flex;
  align-items: center;
  color: #fff;
}

.achivement-div {
  display: flex;
  align-items: center;
  height: 88px;
}

.achivement-div img {
  height: fit-content;
  margin-right: 12px;
}

.achivement-list li {
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 400;
  font-size: 22px;
  line-height: 43px;
  text-align: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.contacts {
  display: flex;
  flex-direction: column;
  padding: 120px 24px;
  background-color: #fff;
}

.contacts h4 {
  font-family: 'Crete Round', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  text-align: center;
  color: #172b4d;
  margin: 0;
  margin-bottom: 73px;
}

.contacts form {
  padding: 0;
}

.contacts ul {
  display: flex;
  flex-direction: column;
  padding: 0;
  list-style: none;
}

.social-media2 li {
  list-style-type: none;
  display: inline;
  padding: 0;
  padding-left: 10px;
  padding-right: 10px;
}

.contacts ul li {
  margin-bottom: 39px;
}

input[type='text'],
input[type='email'] {
  width: 100%;
  padding-bottom: 14px;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  border: none;
  border-bottom: solid 2px #dbd8d7;
  transition-duration: 0.5s;
}

input[type='text']:hover,
input[type='email']:hover {
  transform: translate(30px);
}

textarea {
  width: 100%;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  background-color: #fbf8f7;
  border: none;
}

.social-media-submit {
  background-color: #ff6b00;
  color: #fff;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.03em;
  padding: 12px;
  border: none;
  transition-duration: 1s;
}

/* General */

.about-me a:hover,
button:hover {
  color: #f55800;
  background-color: #fff5e1;
  border: #f55800 solid 1px;
}

.about-me a:active,
button:active {
  color: #f4f1f0;
  background-color: #e05304;
}

.about-me a:visited,
button:visited {
  color: #5b5957;
  background-color: #f4f1f0;
}

.inter-white {
  font-family: 'Inter', 'Courier New', Courier, monospace;
  color: #fff;
}

.union-vector .close-btn,
.nav-toggle {
  display: none;
}

.expand .nav-toggle {
  padding-left: 24;
  margin-top: 40px;
  background-color: #3c3a39;
  display: flex;
  flex-direction: column;
  order: -1;
  flex-grow: 8;
}

.expand .nav-toggle li {
  margin-top: 24px;
  padding-bottom: 15px;
  border-bottom: #6f6c6f 1px solid;
}

.expand .nav-toggle a {
  padding-left: 16px;
  font-family: 'Inter', 'Courier New', Courier, monospace;
  color: #fff5e1;
  font-weight: 700;
  font-size: 32px;
  line-height: 14px;
}

.expand .nav-toggle .roboto-style {
  font-family: 'Roboto', 'Courier New', Courier, monospace;
}

.expand .logo,
.expand .nav-btn,
.expand section,
.expand footer {
  display: none;
}

.expand .toolbar {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-start;
}

.expand .union-vector {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.expand .close-btn {
  display: flex;
  margin-top: 18px;
  margin-right: 24px;
}

.expand .union-vector img {
  height: 100%;
}

@media all and (min-width: 768px) {
  body {
    width: 100%;
  }

  .nav-btn {
    display: none;
  }

  .logo {
    margin-left: 9%;
  }

  .union-vector {
    margin-right: 9%;
  }

  .nav-links {
    display: flex;
    margin-right: 25%;
  }

  .nav-links li {
    padding-left: 24px;
  }

  .headline {
    flex-direction: row;
    align-items: center;
    height: 870px;
    padding: 0;
  }

  .primary-text,
  .supporting-text,
  .description {
    margin: 0;
    padding-top: 14px;
  }

  .primary-text {
    font-size: 72px;
    line-height: 82px;
  }

  .supporting-text {
    font-size: 32px;
    line-height: 44px;
  }

  .description {
    font-size: 20px;
    line-height: 32px;
  }

  .social-media {
    padding: 0;
    flex-direction: column;
    margin-top: 0;
    order: -1;
    width: 7%;
    padding-left: 2%;
  }

  .social-media li {
    padding-right: 0;
    padding-top: 15px;
  }

  .projects {
    background-image: url('./img/footer/Frame2.png');
    background-repeat: repeat;
    background-position: right;
  }

  .projects h2 {
    text-align: start;
    border-bottom: 1px solid #000;
    margin: 60px 9% 100px 9%;
    padding-top: 68px;
    padding-bottom: 0;
    line-height: 0.1em;
  }

  .project-header span {
    background: #fff;
    padding-right: 24px;
  }

  .projects .grid-container {
    margin-left: 4%;
    margin-right: 4%;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto 435px 435px 435px;
  }

  .projects .grid-container .first-project {
    grid-area: 1 / span 2;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    margin-bottom: 24px;
  }

  .img-project1 {
    min-width: 50%;
    margin-right: 24px;
  }

  .project .grid-container .info-project1 {
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-left: 24px;
  }

  .info-project1 h3 {
    font-weight: 400;
    font-size: 40px;
    line-height: 52px;
  }

  .info-project1 p {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
  }

  .info-project1 a {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
  }

  .info-project1 button {
    font-weight: 700;
    font-size: 17px;
    line-height: 24px;
    transition-duration: 1s;
  }

  .next-projects {
    min-width: 369px;
    margin-left: 0;
    padding-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .next-projects .mbl-project {
    display: none;
  }

  .next-projects .dskp-project {
    display: flex;
  }

  .next-projects p {
    font-size: 17px;
  }

  .next-projects button {
    width: auto;
    display: flex;
    margin: 0;
  }

  .project2 {
    background-image: url('./img/desktop/project/img Placeholder2.png');
    background-size: auto;
    border: solid 1px #000;
  }

  .project2 h3,
  .project2 ul,
  .project2 p {
    color: black;
  }

  .project2 a {
    color: black;
  }

  .project3 {
    background-image: url('./img/desktop/project/Img Placeholder3.png');
    background-size: auto;
  }

  .project4 {
    background-image: url('./img/desktop/project/Img Placeholder4.png');
    background-size: auto;
  }

  .project5 {
    background-image: url('./img/desktop/project/Img Placeholder5.png');
    background-size: auto;
  }

  .about-me {
    padding-left: 9%;
    padding-bottom: 139px;
  }

  .about-me h2 {
    font-size: 72px;
    line-height: 82px;
  }

  .about-me p {
    max-width: 566px;
    font-size: 20px;
    line-height: 32px;
  }

  .achivement {
    background-size: 80% 2px;
    padding-top: 146px;
    padding-bottom: 146px;
  }

  .achivement-content {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
  }

  .achivement-list ul {
    align-items: flex-start;
  }

  .contacts {
    padding: 0;
    padding-left: 9%;
    padding-right: 9%;
    flex-direction: row;
  }

  .contacts h4 {
    margin-right: 24px;
    flex: 1;
    text-align: start;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
  }

  .contacts .contact-form {
    flex: 1.5;
  }

  .footer-section {
    padding: 0;
  }

  .social-media2 {
    margin-top: 50px;
  }
}

@media all and (min-width: 1240px) {
  .headline {
    background-image: url('./img/desktop/Illustration-header.png');
    background-repeat: no-repeat;
    background-position: right top;
  }

  .projects .grid-container {
    margin-left: 9%;
    margin-right: 9%;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto 435px 435px;
  }

  .projects .grid-container .first-project {
    grid-area: 1 / span 3;
  }

  .about-me {
    background-image: url('./img/desktop/illustration-about me@2x.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: 672px 352px;
  }
}
