:root {
  --line-color: #D0A616;
  --background-color: #F4F4F4;

  --ads-background-color: #fff;
  --ads-border-color: #ddd;
  --ads-line-color: #D0A616;

  --buttons-transparent-text-color: #D0A616;
  --buttons-transparent-border-color: #D0A616;

  --buttons-solid-background-color: #D0A616;
  --buttons-solid-text-color: #2C345C;

  --buttons-remove-background-color: #B21313;
  --buttons-remove-text-color: #F2F2F2;

  --text-title-color: #2C345C;
  --text-default-color: #2C345C;
  --text-highlight-color: #D0A616;

  --forms-label-color: #2C345C;

  --forms-input-background-color: #D5DADE;
  --forms-input-text-color: #2C345C;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-default-color);
}

button {
  border: none;
  cursor: pointer;
  background: none;
}

dialog {
  border: none;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(44, 52, 92, 0.55);
  backdrop-filter: blur(2px);
}

a {
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 15px;
  border-bottom: 4px solid var(--line-color);
}

header img {
  height: 80px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

header a {
  font-size: 16px;
  color: var(--buttons-transparent-text-color);

  display: flex;
}

header nav {
  display: flex;
  align-items: center;
}

header nav button.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--buttons-transparent-text-color);
  font-size: 16px;
}

header nav :first-child {
  margin-right: 15px;
}

main {
  flex-grow: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

main section {
  width: 100%;
}

main section div > h1 {
  font-size: clamp(35px, 5vw, 38px);
  font-weight: 500;
  margin: 10px 0px 5px;
  color: var(--text-title-color);
}

main section div > p {
  font-size: clamp(16px, 3vw, 18px);
  line-height: 1.5;
  margin: 0;
  color: var(--text-default-color);
  white-space: pre-line;
}

main section div > div h2 {
  font-size: clamp(20px, 3vw, 23px);
  font-weight: 500;
  margin: 0;
  color: var(--text-title-color);
  margin: 30px 0px 5px;
}

#contact > div, #contact > a {
  display: flex;
  flex-direction: column;
  color: var(--text-default-color);
  margin-bottom: 7px;
}

.contact_dialog {
  width: min(92vw, 420px);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(44, 52, 92, 0.24);
}

.contact_dialog_content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: #fff;
  color: var(--text-default-color);
}

.contact_dialog_content header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border: 0;
}

.contact_dialog_content header h2 {
  margin: 0;
  font-size: 22px;
  color: var(--text-default-color);
}

#close_contact_dialog {
  background: none;
  font-size: 16px;
  color: var(--buttons-transparent-text-color);
  font-weight: 600;
}

#contact_dialog_list {
  display: grid;
  gap: 12px;
}

.contact_dialog_item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(44, 52, 92, 0.12);
  background: #fdfdfd;
  color: var(--text-default-color);
}

#creci h2 {
  font-size: clamp(20px, 3vw, 23px);
  font-weight: 500;
  color: var(--text-title-color);
  margin: 30px 0px 5px;
}

#creci > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

main section div > div > a > svg {
  height: 100%;
}

main section div > div > a > span {
  margin-right: 5px;
}

main > img {
  display: none;
}

@media screen and (min-width: 768px) {
  header {
    padding: 35px 45px 20px;
  }

  header img {
    max-width: 230px;
  }

  header a {
    font-size: 20px;
  }

  header nav button.contact {
    font-size: 20px;
  }

  main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
  }

  main section {
    width: 50%;
  }

  .data {
    display: flex;
    justify-content: space-between;
  }

  main > img {
    display: block;
    width: 30%;
  }
}

@media screen and (min-width: 1024px) {
  main section h1 {
    font-size: clamp(28px, 4vw, 40px);
  }

  main section {
    width: 50%;
    padding-right: 40px;
  }

  main > img {
    width: 40%;
    max-height: 450px;
  }
}
