@property --gradient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --gradient-ya {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --gradient-yb {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --gradient-line-color {
  syntax: "<color>";
  inherits: false;
  initial-value: #ccc;
}

/* Using Inter font as the default */
body {
  font-family: "Inter", sans-serif;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f3f4f6;
}
.row {
  display: flex;
  align-items: center;
  width: fit-content;
}

/* The scene is the 3D space */
.scene {
  width: 400px;
  height: 250px;
  min-width: 400px;
  min-height: 250px;
  margin: 3px;
}

/* The card itself, which will be flipped */
.card {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Common styles for both front and back faces of the card */
.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hides the back of the element when it's facing away */
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

body,
.row:nth-child(2n + 1) .scene:nth-child(2n) .card__face,
.row:nth-child(2n) .scene:nth-child(2n + 1) .card__face {
  background-image: repeating-conic-gradient(
      from var(--gradient-angle) at 110% var(--gradient-ya),
      var(--gradient-line-color) 0% 0.05%,
      transparent 0.05% 3%
    ),
    repeating-conic-gradient(
      from var(--gradient-angle) at  var(--gradient-ya) -10%,
      var(--gradient-line-color) 0% 0.05%,
      transparent 0.05% 3%
    );
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Styling for the front face */
.row:nth-child(2n + 1) .scene:nth-child(2n) .card__face,
.row:nth-child(2n) .scene:nth-child(2n + 1) .card__face {
  background-color: rgb(43, 96, 126);
  color: white;
}

.row:nth-child(2n + 1) .scene:nth-child(2n) .card__face {
  background-color: rgb(79, 87, 97) !important;
}

.row:nth-child(4n) .scene:nth-child(2n + 1) .card__face {
  background-color: rgb(115, 34, 27) !important;
}

.row:nth-child(4n) .scene:nth-child(3) .card__face {
  background-color: rgb(29, 128, 110) !important;
}

/* Styling for the back face */
.row:nth-child(2n + 1) .scene:nth-child(2n + 1) .card__face,
.row:nth-child(2n) .scene:nth-child(2n) .card__face {
  background: white !important;
  color: #111827 !important;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.card__face h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card__face p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Simple instruction text */
.instructions {
  position: absolute;
  bottom: 20px;
  color: #6b7280;
  font-size: 0.875rem;
}

body a {
  color: rgb(83, 184, 243);
  font-weight: bold;
}

.contacts {
  text-align: left;
  margin-top: 20px;
}
.contacts,
.contact {
  display: inline-block;
}
.contact img {
  width: 2rem;
  display: inline;
}
.container:not(.loaded) {
  display: none;
}
.container {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 100px;
  max-width: 100vw !important; /* override default tailwind behavior */
}
.copyright {
  margin-top: 30px;
}
