@import url('https://fonts.googleapis.com/css2?family=Inter');

* {
  font-family: 'Inter', 'Calibri';
  box-sizing: border-box;
}

@media (max-width: 600px){
  body {padding: 10px}
  .text2 {padding: 10px}
  .button-row {gap: 10px}
}

html {scroll-behavior: smooth}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.site-title {
  color: #068;
  text-align: center;
  font-size: clamp(32px, 6vw, 80px);
  background-color: transparent;
}

.button-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

div.text {
  font-size: clamp(32px, 6vw, 60px);
  text-align: center;
  left: 20px;
  top: 30%;
  color: #068;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(25px)}
  to {opacity: 1; transform: translateY(0px)}
}

.container {
  flex: 1 1 auto;
  max-width: 275px;
  animation: fadeIn 0.5s ease forwards;
  position: relative;
  display: inline-block;
}

.container:hover .overlay {
  opacity: 1;
  transition: 0.5s;
}

@media (max-width:1024px) {
  .container {flex: 1 1 45%}
}

@media (max-width:600px){
  .container {flex: 1 1 100%; max-width: 100%}
  figure {width: 100%; height: auto}
  figcaption {font-size: clamp(12px, 3vw, 25px)}
  .overtext {font-size: clamp(12px, 2.5vw, 20px); padding: 5px}
}

.image {
  display: block;
  width: clamp(200px, 22vw, 275px);
  height: auto;
  aspect-ratio: 275 / 175;
  object-fit: cover;
}

.contact {
  transform: translateX(10px);
  animation: fadeIn 0.5s forwards;
  font-size: clamp(30px, 5vw, 40px);
}

.contact span {
  display: block;       /* already block, just to be safe */
  word-break: break-word;  /* allows long words/URLs to wrap */
  overflow-wrap: anywhere;  /* modern alternative */
  margin-bottom: 5px;  /* spacing between lines */
}

.contact img {
  width: clamp(120px, 20vw, 220px);
  float: right;
  margin-left: 15px;
}

figure {
  width: clamp(200px, 22vw, 275px);
  height: auto;
  transition: transform 0.5s ease;
  box-sizing: border-box;
  overflow: hidden;
}

figure:hover {transform: scale(1.2)}

@property --fgc_1 {
  syntax: '<color>';
  initial-value: skyblue;
  inherits: false;
}

@property --fgc_2 {
  syntax: '<color>';
  initial-value: #25a7da;
  inherits: false;
}

figcaption {
  font-size: clamp(10px, 3vw, 25px);
  min-height: 3em;
  padding: 0.5em;
  text-align: center;
  background: radial-gradient(circle, var(--fgc_1), var(--fgc_2));
  animation: fadeIn 0.5s ease forwards;
}

@property --ovr_1 {
  syntax: '<color>';
  initial-value: midnightblue;
  inherits: false;
}

@property --ovr_2 {
  syntax: '<color>';
  initial-value: #4343d6;
  inherits: false;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  background: radial-gradient(circle, var(--ovr_1), var(--ovr_2));
}

.overtext {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: white;
  text-align: center;

  font-size: clamp(12px, 1.5vw, 18px);
  padding: 10px;
  width: 90%;
}

.bottom-buttons {
  margin-top: 40px;
}

.bottom-buttons .button {
  display: block;
  margin: 15px auto;
  width: fit-content;
}

a.button2 {
  flex: 1;
  font-size: clamp(22px, 4vw, 50px);
  min-width: 260px;
  color: white;
  padding: 16px;
  border: 3px solid #002533;
  box-sizing: border-box;
  text-align: center;
  background: radial-gradient(circle, var(--btn_1), var(--btn_2));
  transition: --btn_1 0.5s, --btn_2 0.5s, border 0.5s;
}

a.button2:hover {
  --btn_1: #088;
  --btn_2: #0bb;
  border: 3px solid #0bb;
}

.video {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.video video {
  width: 90%;
  max-width: 900px;
  height: auto;
  display: block;
}

.content {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
}

body {
  margin: 0;
  background-size: 100%;
  background-color: #a2c4ff;
  font-size: clamp(20px, 5vw, 50px);
  max-width: 100%;
}

.main {
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: fadeIn 0.5s forwards;
}

.main span {
  color: #068;
}

img.main {
  width: clamp(60px, 10vw, 180px);
  height: auto;
  margin-top: 10px;
}

span {
  display: block;
  padding: 25px;
  background: transparent;
  animation: fadeIn 0.5s ease forwards;
}

.products {
  background-color: transparent;
}

a {text-decoration: none}

@property --btn_1 {
  syntax: '<color>';
  initial-value: #034;
  inherits: false;
}

@property --btn_2 {
  syntax: '<color>';
  initial-value: #002533;
  inherits: false;
}

a.button {
  font-size: clamp(20px, 5vw, 50px);
  background: radial-gradient(circle, var(--btn_1), var(--btn_2));
  color: white;
  padding: 16px;
  border: 3px solid #002533;
  border-radius: 1rem;
  transition: --btn_1 0.5s, --btn_2 0.5s, border 0.5s;
  animation: fadeIn 0.5s ease forwards;
}

a.button:hover {
  --btn_1: #088;
  --btn_2: #0bb;
  border: 3px solid #0bb;
}

.show {display: block}