@font-face {
  font-family: 'Gotham';
  src: url('fonts/GothamRoundedLight.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/GothamRoundedBook.ttf') format('ttf');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham' ;
  src: url('fonts/GothamRoundedBold.ttf') format('ttf');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background: radial-gradient(circle, #71A3D8 0%, #4776D6 100%);
  color: #ffffff; /* Ensuring text is readable on the blue background */
  font-family: 'Gotham', sans-serif;
  overflow-x: hidden;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


main {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.top-section {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 100px 20px 0 20px;
}

.bottom-section {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  bottom: 0; 
  min-height: 40dvh; /* Changed from fixed height to min-height */
}

.bottom-background {
  z-index: -1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-image: url('img/floor.webp');
  background-size: cover;
  background-position: center;
}

.logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  width: 100%;
}

.logo {
  width: 100%;
  height: auto;
  max-width: 900px;
  user-select: none;
}

.character {
  position: absolute;
  left: -35%;
  bottom:-70%;
  z-index: 10;
  width: 700px;
  height: auto;
  max-width: 700px;
  user-select: none;
}

.social-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 24px;
  flex-grow: 1;
}

.social-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: column;
}
.social-title {
  text-transform: uppercase;
  opacity: 0.6;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  text-align: center;
}

.social-subtitle{
  font-weight: 600;
  text-align: center;
}
.social-links {
  display: flex;
  gap: 20px
}
.social-links .icon {
  text-decoration: none;
  transition-duration: 200ms;
}

.social-links .icon:hover {
  transform: rotate(-10deg);
}

.social-links .icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.footer {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
  padding-bottom: 24px;
}

@media (min-width: 481px) and (max-width: 952px) {
  .logo {
    width: 80%;
  }

  .character {
    position: relative;
    bottom: 0;
    left:0;
    height: auto;
    width: 90%;
    max-width: 400px;
    padding-top: 80px;
  }

  .top-section {
    margin-bottom: -80px;
  }
}

@media (max-width: 480px) {
  .character {
    position: absolute;
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
    top: 110%;
  }
}

@media (max-height: 800px) and (max-width: 952px) {
  .bottom-section { 
    padding-top: 160px;
  }
}
