@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  font-family: "Poppins", sans-serif;
}

:root {
  --main-color: #033a80;
  --bg-color: #00719c;
  --text-color: #0f0c27;
  --hover: #66a8ff;

  --big-font: 3.2rem;
  --medium-font: 1.8rem;
  --p-font: 0.941rem;
}

section {
  padding: 50px 10%;
}

body {
  background: whitesmoke;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*background: var(bg-color);*/
  padding: 13px 10%;
  transition: 0.2s;
  /*box-shadow: -5px -5px 10px #000000, 2px 2px 5px rgba(0, 0, 0, 0.288);*/
  /*background-color: #808080;*/
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(5.4px);
  border: 1px solid rgba(128, 128, 128, 0.3);
}

.h-btn a {
  margin: 5px;
  color: #fff;
}
.h-btn a:hover {
  margin: 5px;
  color: #fff;
}
.h-btn {
  background-color: #568dd6;
  border-radius: 25px;
}
.h-btn:hover {
  background-color: var(--hover);
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  padding-left: 20px;
  padding-right: 20px;
}

.logo:hover {
  color: var(--hover);
}

.home {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem;
}

.home-img {
  order: 3;
}

.home-img img {
  width: 100%;
}

.home-text h1 {
  font-size: 64px;
  color: #000;
  margin-top: 69px;
  margin-bottom: 69px;
  width: 100%;
  text-align: center;
}

.home-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.home-text .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 2rem;
}

.home-text h2 {
  width: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: justify;
  color: #000;
  padding: 25px;
  background-color: #fff;
}

.home-text img {
  width: 35%;
  margin-left: 2rem;
  background-color: #393939;
  border-radius: 20px;
  border: 5px solid #000;
}

.home-text p {
  font-size: var(--p-font);
  font-weight: 400;
  margin: 0.7rem 0 1rem;
  color: #ffffff;
  text-shadow: 0 0 2px black;
}

.btn {
  display: inline-block;
  background: #ffffff;
  color: #000;
  padding: 0.7rem 1.3rem;
  border-radius: 0.5rem;
  margin-top: 35px;
}

.btn:hover {
  background: var(--hover);
}

.desfasurare {
  padding: 50px 10%;
  margin-right: auto;
  text-align: center;
}

.desfasurare h2 {
  color: #000;
  margin: 25px;
  font-size: 35px;
}

.desfasurare .column-d,
.column-d {
  width: 25%;
}

.desfasurare img {
  width: 100%;
  border-radius: 5px;
}

.desfasurare p {
  color: #fff;
  font-size: 18px;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  text-shadow: -2px 3px 5px #000;
}

.desfasurare h1 {
  font-size: 24px;
  margin: 25px;
  margin-bottom: 10px;
  text-shadow: -2px 3px 5px #000;
}

.row-d {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 15px;
}

.column-d {
  margin-bottom: 15px;
  border-radius: 20px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  background-color: #1f2937;
}
.column-d:hover {
  transform: scale(1.05);
  transition: 0.5s;
}
.column-d img {
  width: 110px;
  margin-top: 20px;
}

.column-d h1 {
  color: #fff;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.column {
  width: 20%;
  margin-bottom: 15px;
  border-radius: 15px;
  overflow: hidden;
  background-color: #1f2937;
}
.column:hover {
  transform: scale(1.05);
  transition: 0.5s;
}

.column img {
  width: 100px;
  border-radius: 50%;
  margin-top: 40px;
  margin-bottom: 10px;
}

.column h1 {
  color: #fff;
  margin: 25px;
  text-shadow: -2px 3px 5px #000;
}

.column h2 {
  color: var(--hover);
  text-shadow: -4px 3px 5px black;
  margin: 25px;
}

.column h3 {
  color: #fff;
  width: 70%;
  margin: 25px;
  text-shadow: -2px 3px 5px #000;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.members p {
  margin: 25px;
  color: #000;
  font-size: 38px;
  font-weight: bolder;
}

form {
  background-color: #111827;
  padding: 20px;
  width: 400px;
  margin: 0 auto;
  color: #fff;
  font-size: 28px;
  width: 800px;
  border-radius: 2%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

.form h1 {
  color: #fff;
  background-color: #111827;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  background-color: #111827;
}

input[type="tel"],
input[type="email"],
input[type="text"],
input[type="number"],
input[type="reason"],
input[type="select"],
select {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  color: white;
  font-size: 22px;
  height: 40px;
  background-color: #1d2944;
}

input[type="submit"] {
  background-color: h000sl(0, 0%, 100%);
  color: #000;
  padding: 15px 25px;
  border: none;
  cursor: pointer;
  align-self: center;
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
}

input[type="submit"]:hover {
  background-color: var(--hover);
  transition: 0.5s;
  transform: scale(1.1);
}

.gallery-container {
  max-width: 50%;
  overflow: hidden;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.gallery {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.slide {
  flex-shrink: 0;
  width: 100%;
}

.slide img {
  width: 100%;
}

.description {
  margin-top: 10px;
  text-align: center;
}

.contact {
  text-align: center;
}

.h1 h1 {
  margin-top: 5%;
  color: #000;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4caf50;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  align-self: right;
}

.button:hover {
  background-color: var(--hover);
  color: #000;
}

.email-button {
  background-color: #4285f4;
  margin-left: 2%;
  width: 130px;
  text-align: center;
  margin-top: 30px;
}

/* Mobile */
@media screen and (max-width: 767px) {
  .gallery-container {
    max-width: 80%;
  }
  .h-btn a {
    margin: 0;
  }
  .logo {
    font-size: 16px;
  }

  ƒ .home {
    grid-template-columns: 1fr;
  }

  .home-img {
    order: 2;
  }

  .home-text {
    order: 1;
  }

  .home-text h1 {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .home-text h2 {
    font-size: 1rem;
    width: 100%;
    padding: 10px;
    margin: 0;
  }

  .home-text img {
    width: 100%;
    margin: 20px 0;
  }

  .home-text p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .desfasurare .column-d,
  .column-d {
    width: 100%;
  }

  .desfasurare .h1 {
    font-size: 18px;
  }

  .desfasurare p {
    font-size: 12px;
  }

  .row {
    margin-left: -5px;
    margin-right: -5px;
  }

  .column {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
  }

  .wrapper {
    height: 200px;
    width: 100%;
  }

  .gallery-slider img {
    width: 100%;
  }

  form {
    width: fit-content;
  }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  
  .gallery-container {
    max-width: 100%;
  }
  .h-btn a {
    margin: 0px;
  }
  .contact h1 {
    font-size: 16px;
  }

  .logo {

  }

  .home {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-text h1 {
    font-size: calc(var(--big-font) + 2rem);
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .home-text h2 {
    width: 80%;
    font-size: 1.3rem;
  }

  .home-text p {
    font-size: calc(var(--p-font) + 0.2rem);
  }

  .home-text span {
    font-size: calc(var(--medium-font) + 0.5rem);
  }

  .desfasurare .column-d,
  .column-d {
    width: 100%;
  }

  .desfasurare .h1 {
    font-size: 18px;
  }

  .desfasurare p {
    font-size: 12px;
  }

  .row {
    margin-left: -5px;
    margin-right: -5px;
  }

  .column {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
  }

  .wrapper {
    height: 300px;
    width: 100%;
  }

  .gallery-slider img {
    width: 100%;
  }

  form {
    width: 800px;
  }
}

/* Smartphone */
@media screen and (max-width: 450px) {
  
  .h-btn a {
    margin: 0px;
  }
  input[type="tel"],
  input[type="email"],
  input[type="text"],
  input[type="age"],
  input[type="number"],
  input[type="reason"],
  input[type="select"],
  input[type="submit"],
  select {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 10px;
    height: 40px;
  }

  form {
    padding: 20px;
    width: 400px;
    margin: 0 auto;
    font-size: 14px;
    width: 300px;
    border-radius: 2%;
    display: flex;
    flex-direction: column;
  }

  form h1 {
    font-size: 19px;
  }

  input[type="submit"] {
    font-size: 10px;
    width: 80px;
  }

  .contact h1 {
    font-size: 16px;
  }
}