@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

:root {
  /* Colors */
  --black: black;
  --white: white;
  --grey: grey;
  --overlay: rgba(1, 2, 2, 0.5);

  /* Font */
  --font-main: "Plus Jakarta Sans", sans-serif;

  /* Spacing */
  --space-xs: 0.2em;
  --space-sm: 0.5em;
  --space-md: 1em;
  --space-lg: 1.5em;
  --space-xl: 2em;

  /* Border radius */
  --radius-sm: 0.3em;
  --radius-md: 0.4em;
  --radius-lg: 0.5em;
  --radius-xl: 1em;

  /* Effects */
  --blur-strong: blur(150px);
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
  font-family: var(--font-main);
}

body {
  background:
    linear-gradient(var(--overlay)), url(feghas_assets/kids_tech_5.jpg);
  background-position: center;
  background-size: cover;
  background-color: var(--black);
  color: var(--white);
}

header {
  margin-top: 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.feghas_logo {
  width: 150px;
  margin-left: 20px;
}

.header_btn {
  background: transparent;
  padding: var(--space-md);
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  color: var(--white);
  margin-right: 20px;
  transition: transform var(--transition-fast);
}

.header_btn:active {
  background: var(--black);
  color: var(--white);
  transform: scale(0.8);
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.first_div {
  top: 0;
  left: 0;
  margin-left: 30%;

  position: absolute;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 39%;
}

.first_div p {
  font-size: 0.9rem;
  margin-top: 20px;
  color: var(--white);
}

.first_section {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(5, 30px);
  gap: 50px;
  width: 50%;
  height: 70vh;
  color: var(--black);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--blur-strong);
  top: 0;
  left: 0;
  margin-left: 25%;
  margin-top: 8%;
}

.first_section .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: none;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

input {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  padding: var(--space-sm);
}

input:focus {
  outline: none;
}

.left {
  padding: var(--space-md);
}

.right {
  padding: var(--space-md);
}

select {
  color: var(--grey);
  padding: 0.7em;
  width: 100%;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}

select:focus {
  outline: none;
}

option {
  background: none;
}

.feghas_form {
  background: none;
  color: var(--white);
  font-size: 0.7rem;
  border: none;
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.submit_btn {
  width: 30%;
  padding: var(--space-sm);
  font-size: 0.8rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border: 2px solid var(--black);
  transition: transform var(--transition-normal);
}

.submit_btn:active {
  background: var(--black);
  color: var(--white);
  transform: scale(0.8);
}

footer {
  background: var(--black);
  margin-top: 5%;
}

footer div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10%;
  padding: var(--space-xl);
}

.footer_img {
  width: 200px;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

a {
  color: var(--grey);
}

.footer_form {
  display: flex;
  width: 100%;
  border: 1px solid red;
  flex-direction: row;
  padding: 0.9em 0.4em;
  border-radius: 0.6em;
  background: var(--white);
}
.footer_form input {
  color: black;
}

.suscribe_btn {
  border: 1px solid red;
  padding: var(--space-xs);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.suscribe_btn:hover {
  background: var(--black);
  color: var(--white);
}

.suscribe_btn:active {
  background: var(--black);
  color: var(--white);
  transform: scale(0.8);
}

.copy_right {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: var(--space-md);
  color: var(--grey);
}

.socials {
  width: 30px;
}
/* ================= TABLETS ================= */
@media (max-width: 992px) {
  .feghas_logo {
    width: 120px;
  }

  .first_div {
    margin-top: 15%;
    margin-left: 20%;
    width: 60%;
  }

  .first_section {
    margin-top: 30%;
    width: 80%;
    margin-left: 10%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .submit_btn {
    width: 50%;
  }

  .footer_img {
    width: 120px;
  }

  footer div {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .copy_right {
    flex-direction: column;
    text-align: center;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .first_div {
    position: relative;
    margin: 0 auto;
    width: 80%;
  }

  .first_section {
    margin-top: 40%;
    width: 90%;
    margin-left: 5%;
    height: auto;
  }

  .split {
    display: flex;
    flex-direction: column;
  }

  .submit_btn {
    width: 60%;
  }
}

/* ================= SMALL PHONES ================= */
@media (max-width: 576px) {
  .first_div {
    margin-top: 30%;
  }
  .first_section {
    margin-top: 10%;
    width: 90%;
    margin-left: 5%;
  }

  .submit_btn {
    width: 70%;
  }
}

@media (max-width: 575px) {
  .first_section .split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: none;
  }
}
