*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */

header {
  padding: 15px 0;
  background: rgba(226, 226, 227, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact-link {
  color: #2569af;
  margin-right: 40px;
}

.header-login-button {
  padding: 10px 20px;
  color: #088cf4;
  border: 2px solid #088cf4;
  transition: 0.2s;
}
.header-login-button:hover {
  background: #757676;
  color: #fff;
  border-color: #757676;
}

/* Home Banner */

.home-banner {
  min-height: 100vh;
  background: url("./media/home-slider-1.png"),
    url("./media/home-slider-2.webp"), url("./media/home-slider-3.webp"),
    url("./media/home-slider-4.webp");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-banner div {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.home-banner h1 {
  font-size: 50px;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
}
.home-banner p {
  font-size: 20px;
  text-align: center;
  color: #626262;
  font-weight: 500;
  letter-spacing: 1px;
}
.home-banner a {
  font-size: 17px;
  font-weight: 600;
  padding: 7px 14px;
  border: 2px solid #2991d6;
  color: #2991d6;
}

/* Home Cards */
.cards-collection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.single-card {
  padding: 60px 10% 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: radial-gradient(
    at center,
    rgba(255, 255, 255, 0.5) 5%,
    transparent
  );
}
.single-card .card-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.single-card img {
  margin-bottom: 30px;
}
.single-card .card-description {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 30px;
}
.single-card .card-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
}
.single-card .card-link::before,
.single-card .card-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #0000001a;
  transition: 0.2s;
}
.single-card .card-link:hover::before,
.single-card .card-link:hover::after {
  background: #fff;
}
.single-card .card-link:hover::before {
  bottom: 100%;
}
.single-card:nth-child(1) {
  background-color: #90b9e7;
}

.single-card:nth-child(2) {
  background-color: #faeb5f;
}
.single-card:nth-child(3) {
  background-color: #ff6a5a;
}

.single-card .card-title,
.single-card .card-description,
.single-card .card-link {
  color: #fff;
}
.single-card:nth-child(2) .card-title,
.single-card:nth-child(2) .card-description,
.single-card:nth-child(2) .card-link {
  color: #010b23;
}

/* Projects */
.projects-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
}
.projects-section-heading {
  font-size: 42px;
  text-align: center;
  font-weight: 300;
  padding: 40px 0;
  border-bottom: 1px solid #cfdbe0;
}
.single-project {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  align-items: center;
}
.single-project:nth-child(1) {
  padding: 40px 0 60px;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 40px;
}
.single-project:nth-child(2) {
  padding-bottom: 60px;
}
.project-image {
  text-align: center;
}
.project-title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 15px;
}
.project-description {
  font-size: 14px;
  color: #626262;
  margin-bottom: 25px;
}
.project-link {
  color: #0080ed;
  padding: 10px 20px;
  font-size: 14px;
  transition: 0.2s;
}
.project-link:hover {
  background: #f7f7f7;
}

/* Project Form */
.project-form {
  padding: 60px 40px 80px;
}
.project-form .fields-group {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}
.project-form input:not(input[type="checkbox"]),
.project-form textarea,
.project-form select {
  outline: none;
  border: none;
  background-color: #f2f2f2;
  color: #626262;
  padding: 10px;
  font-family: Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  width: 100%;
  box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.02);
}
.project-form textarea {
  resize: none;
  height: 150px;
}
.project-form label {
  display: block;
  font-size: 14px;
  color: #626262;
  margin: 20px 0 25px;
}
.project-form label input {
  margin-right: 5px;
  outline: none;
}
.project-form button {
  color: #2991d6;
  font-size: 14px;
  padding: 10px 20px;
  border: 2px solid #2991d6;
  background-color: transparent;
  transition: 0.2s;
  cursor: pointer;
}
.project-form button:hover {
  background: #2991d6;
  color: #fff;
}

/* Footer */
footer {
  padding: 30px 0 60px;
  border-top: 1px solid #dee1e1;
  border-bottom: 10px solid #2991d6;
  background-color: #f7fafb;
}
footer p {
  text-align: center;
  font-size: 14px;
  color: #999999;
}
