/* Fonts */
@font-face {
  font-family: "Caros Soft";
  src: url("fonts/carossoft-bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* CSS Variables */
:root {
  --main-color: #ea5659;
  --main-color-rgb: 234, 86, 89;
  --support-color: #faebe3;
  --dark-main: #c64249;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
html, body {
  margin: 0;
  height: 100%;
  font-family: "Nunito Sans", sans-serif;
  background: var(--support-color);
}

body {
  min-height: 100vh;
  background-color: var(--support-color);
  color: #222;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 200;
}

.title {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  height: 32px;
  width: auto;
  display: block;
}

.logo img {
  height: 100%;
  width: auto;
  fill: var(--support-color);
}

/* Mail button */
#mailBtn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  flex-shrink: 0;
  transition: transform 1s;
}

#mailBtn:hover {
  transform: rotate(360deg);
}

#mailBtn img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Main */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  margin-top: 56px;
}

.content-wrapper {
  position: relative;
  width: 100%;
  margin: 0 28%;
  padding: 40px 0;
}

/* Language switch */
.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 8px;
}

.lang-flag {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  opacity: 1;
}

.lang-flag:hover {
  opacity: 0.8;
}

.lang-flag.active {
  opacity: 0.5;
  border-radius: 4px;
}

/* Text */
#text-container {
  margin-top: 40px;
}

#text-container h1 {
  font-family: "Caros Soft", sans-serif;
  color: var(--main-color);
  font-size: 29px;
  font-weight: normal;
  margin-bottom: 24px;
  display: block;
}

#text-container p {
  font-size: 19px;
  line-height: 1.4;
  color: var(--dark-main);
  margin-top: 16px;
}

#text-container p:first-of-type {
  margin-top: 0;
}

/* Buttons */
.download-buttons {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn {
  text-decoration: none;
  padding: 12px 24px;
  background-color: var(--main-color);
  border-radius: 8px;
  color: var(--support-color);
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn:hover {
  background-color: var(--dark-main);
  color: var(--support-color);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 16px;
  font-size: 0.9rem;
  color: #eab6b2;
}
