:root {
  --bg-color: #f5f5f5;
  --heading-text-color: #0b131c;
  --text-color: #292928;
  --accent-color: #ed9066;
  --border-color: #eaeaea;
}

@font-face {
  font-family: "Urbanist";
  src: url("/fonts/Urbanist-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Urbanist-bold";
  src: url("/fonts/Urbanist-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "YujiSyuku";
  src: url("/fonts/YujiSyuku-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

*,
:before,
:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "YujiSyuku", Verdana, Tahoma, Arial, sans-serif;
  line-height: 1.6;
  min-width: 300px;
  background-image: url(public/background-image.webp);
  background-size: cover;
  background-position: center;
}

main {
  width: 100%;
  background-color: hsla(0, 0%, 100%, 0.7);
  min-height: 90vh;
  overflow: hidden;
}

.centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
}

h1,
strong {
  font-family: "Urbanist-bold", Verdana, Tahoma, Arial, sans-serif;
  color: var(--heading-text-color);
}

p {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-size: 2em;
}

p,
.centered-text {
  text-align: center;
}

a {
  color: var(--accent-color);
  filter: brightness(0.9);
  font-family: "Urbanist", Verdana, Tahoma, Arial, sans-serif;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  background-color: hsla(0, 0%, 100%, 0.7);
  width: 100%;
  padding: 60px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.social-links img {
  width: 40px;
  height: 40px;
  transition: filter 0.3s ease;
  filter: grayscale(0.1);
}

.social-links img:hover {
  filter: grayscale(0.2) brightness(0.7);
}

@media (max-width: 400px), (max-width: 600px), (max-width: 900px) {
  h1 {
    font-size: 2rem;
    padding-inline: 20px;
  }

  p {
    font-size: 1.4em;
    padding-inline: 30px;
  }
}
