﻿.contact-container {
  flex: 1;
  align-self: stretch;
  display: flex;
  flex-direction: row;
  height: 100%;
}

.contact-image-container {
  background-image: url('/images/contact/hero-background.jpg');
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 60%;
}

.contact-image-gradient {
  background: linear-gradient(0deg,rgba(41, 28, 28, 0.63) 0%, rgba(61, 53, 43, 0.32) 31%, rgba(232, 210, 195, 0.05) 75%, rgba(41, 52, 66, 0.28) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 1;
  z-index: 1;
}

.contact-main-container {
  align-items: stretch;
  flex: 1;
}

.contact-main-inner-container {
  margin: 56px 72px 72px 72px;
  width: 450px;
}

.contact-title {
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
  margin: 0 0 20px 0;
}

.contact-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 48px;
}

.contact-card {
  position: relative;
  cursor: pointer;
  flex: 1 1 calc(33% - 10px);
}

.contact-card-background {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background-color: #ffffff09;
  border: 1px solid #00000040;
}

.contact-card-border {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  transition-duration: 0.2s;
  opacity: 0;
  border: 2px solid var(--accent-fill-rest);
}

.contact-card:hover > .contact-card-border {
  opacity: 0.8;
}

.contact-card:active > .contact-card-border {
  opacity: 0.6;
  border: 2px solid var(--accent-fill-active);
}

.contact-card-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.contact-card-icon {
  width: 32px;
  height: 32px;
  fill: var(--accent-fill-rest);
  margin: 0 0 20px 0;
}

.contact-card-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.contact-card-description {
  color: var(--neutral-foreground-hover);
  font-size: 14.5px;
  line-height: 24px;
}

/*Contact form*/
.contact-label {
  font-size: 14.5px;
  color: var(--neutral-foreground-hover);
  margin-bottom: 6px;
}

.contact-combobox {
  width: 320px;
}

.contact-component-margin {
  margin-bottom: 16px;
}

.contact-detailed-info {
  margin-top: 24px;
  color: var(--neutral-foreground-hint);
  font-size: 13.5px;
}

/*800*/
@media (max-width: 800px) {
  .contact-image-container {
    display: none;
  }

  .contact-card {
    flex: 1 1 calc(25% - 10px);
  }

  .contact-main-inner-container {
    width: auto;
    margin: 24px;
  }

  .contact-cards-container {
    margin-bottom: 24px;
  }
}

/*500*/
@media (max-width: 500px) {
  .contact-combobox {
    width: 100%;
  }
}

/*450*/
@media (max-width: 450px) {
  .contact-card {
    flex: 1 1 100%;
  }

  .contact-card-title {
    margin: 0;
  }

  .contact-card-description {
    display: none;
  }
}
