* {
  /* border: 1px solid red; */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  /* display: block; */
}

li {
  list-style: none;
}

body {
  background-color: #242338;
}

html {
  /* font-size: 10px; */
  /* font-family: var(--ff-open-sans); */
  scroll-behavior: smooth;
}

:focus-visible {
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 95%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 70%);
}

.header {
  padding-block: 30px;
  position: fixed;
  width: 100%;
  z-index: 4;
}

.header.active {
  background-color: #242338;
  box-shadow: 0 -5px 10px #a2a0ac;
  padding-block: 20px;
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container {
  max-width: 1050px;
  margin-inline: auto;
  padding-inline: 20px;
}

.logo {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
}

.navbar {
  /* background: transparent; */
}

.navbar-list {
  display: flex;
  /* align-items: center; */
  gap: 30px;
}

.navbar-link {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}

.navbar-link.nav-active {
  color: #fb523c;
}

.navbar-link:hover {
  color: #fb523c;
}

.home {
  display: grid;
  padding-block: 100px 80px;
  min-height: 100vh;
  place-items: center;
}

.home .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.home-image {
  position: relative;
  order: 1;
  width: 340px;
  height: 390px;
  border-radius: 20px;
  margin-inline: 0;
  margin-inline-start: auto;
}

.home-image .image-cover {
  border-radius: inherit;
  width: 100%;
  height: 100%;
}

.home-content {
  /* text-align: center; */
  text-align: left;
  color: #ffffff;
}

.home-title {
  margin-block-end: 25px;
  font-family: "Barlow", sans-serif;
  /* line-height: 1.3; */
}

.home-title span {
  font-size: 30px;
  display: block;
}

.home-title strong {
  display: block;
  font-size: 64px;
}

.home-text {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
}

.home-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.btn {
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 18px;
  padding: 10px 40px;
  border-radius: 50px;
  /* font-weight: 600; */
}

.btn-primary.blue {
  background-color: #142eb3;
}

.btn-primary.blue:hover {
  background-color: #fb523c;
}

.section {
  padding-block: 120px;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about {
  padding-block: 180px;
}

.about .about-title,
.about-text {
  margin-block-end: 30px;
  text-align: left;
}

.about .about-title {
  color: #fb523c;
  font-family: "Barlow", sans-serif;
  font-size: 20px;
}

.about .about-text {
  color: #ababba;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

.projects {
  /* padding-block: 80px; */
}

.projects-title {
  color: #fb523c;
  font-family: "Barlow", sans-serif;
  font-size: 20px;
  text-align: center;
}

.projects-subtitle {
  text-align: center;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 35px;
  margin-block-end: 18px;
}

.projects-text {
  color: #ababba;
  /* line-height: 1.6; */
  margin-block-end: 80px;
  text-align: center;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

.projects-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.projects-list > li:nth-child(even) .card-content {
  margin-inline-start: auto;
}

.project-card {
  display: block;
  background-color: #343d55;
  padding: 100px 20px;
  border-radius: 20px;
  font-family: "Barlow", sans-serif;
  color: #ffffff;
  padding-inline: 80px;
}

.project-card .card-subtitle {
  font-size: 20px;
  color: #fb523c;
  margin-block-end: 5px;
}

.project-card .card-title {
  margin-block-end: 20px;
  font-size: 36px;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
}

.project-card .btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  text-transform: uppercase;
}

.arrow-forward {
  color: #fb523c;
  font-size: 16px;
}

.skills {
}

.skills-title {
  color: #fb523c;
  font-family: "Barlow", sans-serif;
  font-size: 20px;
  text-align: center;
}

.skills-subtitle {
  text-align: center;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 35px;
  margin-block-end: 18px;
}

.skills-text {
  color: #ababba;
  /* line-height: 1.6; */
  margin-block-end: 80px;
  text-align: center;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.skills-item {
  display: flex;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  flex-direction: column;
  align-items: center;
}

.logo-container {
  width: 52px;
  height: 52px;
  margin: 10px 0 25px 0;
}

.skills-logo {
  width: 100%;
  height: 100%;
}

.contact {
}

.contact-card {
  padding: 100px;
  background-color: #0b1b75;
  border-radius: 20px;
}

.contact-title {
  color: #fb523c;
  font-family: "Barlow", sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

.contact-subtitle {
  text-align: left;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 35px;
  font-weight: 600;
  margin-block-end: 18px;
}

.wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form input,
textarea,
button {
  border: none;
}

.contact-input {
  width: 100%;
  background-color: #ffffff;
  color: #a2a0ac;
  border-radius: 5px;
  padding: 15px 25px;
  font-size: 18px;
  margin-block-end: 15px;
  font-family: "Barlow", sans-serif;
}

textarea.contact-input {
  resize: vertical;
  min-height: 100px;
  /* height: 180px; */
  max-height: 300px;
}

.btn-submit {
  background-color: #fb523c;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 18px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #ffffff;
  color: #000000;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-item {
  margin-block-end: 20px;
}

.contact-icon {
  padding: 20px;
  border-radius: 50%;
  font-size: 24px;
  background-color: #7080d2;
  color: #ffffff;
}

.contact-icon ion-icon {
  display: block;
}

.contact-item-title {
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.contact-item-link {
  font-family: "Open Sans", sans-serif;
  color: #ababab;
  font-size: 16px;
}

.back-to-top {
  color: #ffffff;
  font-size: 13px;
  position: fixed;
  bottom: 160px;
  right: -30px;
  transform: rotate(0.25turn);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 1;
}

.back-to-top.active {
  right: -5px;
  opacity: 1;
  visibility: visible;
}

.back-to-top::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(100% + 7px);
  width: 100px;
  height: 1px;
  background-color: #ffffff;
}
