/* Import Adobe Fonts */
@import url("https://use.typekit.net/vgz1jic.css");

body {
    margin: 0;
    padding: 0;
    font-family: degular, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the container */
    align-items: center; /* Horizontally centers the container */
    height: 100vh;
    text-align: center;
    background-color: #ff7751;
    color: #000;
    position: relative;
    font-size: 2vw;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally centers the content */
    justify-content: center; /* Vertically centers the content */
    height: 100%; /* Ensure the container takes full height */
    padding-top: 0; /* Adjust padding if needed */
    backdrop-filter: blur(5px); /* Optional */
}

/* Title styles */
h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center the text horizontally */
    margin: 0; /* Reset any margins */
    padding: 0; /* Reset any padding */
    padding-bottom: 5vw;
}

/* "Good" and "Coffee" Styling */
.good {
    font-family: degular, sans-serif;
    font-weight: 500; /* Medium weight */
    font-size: 14vw; /* Responsive font size based on viewport width */
    letter-spacing: -6px;
    line-height: .9;
}

.coffee {
    font-family: the-seasons, sans-serif;
    font-weight: 700; /* Bold */
    font-size: 12vw; /* Responsive font size based on viewport width */
    letter-spacing: -1px;
    line-height: 0.8;
}


/* Logo Styles */
.logo {
    position: absolute; /* Locks logo to the top */
    top: 60px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    max-width: 20vw;
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect for logo */
.logo:hover {
    content: url('img/ChimeLogoMark_Black_Sized.png'); /* Change to the new logo image */
}

#goodWord, .button-container h2:first-child {
    cursor: pointer;
}

/* Styles specifically for the About text */
#aboutContent p {
    font-size: 3vw; /* Adjust the font size as needed */
    font-weight: 400;
    max-width: 80%;  /* Limit the width of the paragraph */
    text-align: center;
    margin: 0 auto; /* Center the paragraph horizontally */
    line-height: 1.3; /* Optional: Adjusts line height for readability */
}

/* Button container to align "Coming Soon" and "Instagram" */
.button-container {
    display: flex;
    gap: 15px; /* Adds spacing between the two boxes */
    align-items: center;
    position: fixed;
    bottom: 10vh; /* Adjust height from bottom as needed */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap; /* Ensures text stays on one line */
}

/* "Coming Soon" and Instagram button shared styles */
h2, .instagram-box {
    font-size: 1.8vw;
    font-weight: 600;
    color: #000;
    background: transparent;
    padding: 0.5vw 1vw;
    border: 0.2vw solid #000;
    border-radius: 40px;
    display: inline-block;
    transition: all 0.5s ease;
    text-decoration: none;
    white-space: nowrap; /* Prevents line breaks */
}

/* Hover effect: Keep border visible */
h2:hover, .instagram-box:hover {
    background: #000;
    color: #fff;
    border: 3px solid #000; /* Keeps the black border */
}


/* Make the text more flexible on smaller screens with a media query */

@media (max-width: 1600px) {
    .good {
        font-size: 22vw; /* Adjusted size for smaller screens */
    }

    .coffee {
        font-size: 20vw; /* Adjusted size for smaller screens */
    }

    .logo {
        max-width: 40vw;
    }

    h2, .instagram-box {
      font-size: 2vw;
      padding: 0.7vw 1.3vw;
      border: 0.3vw solid #000;
    }
}

@media (max-width: 1300px) {
    .good {
        font-size: 20vw; /* Adjusted size for smaller screens */
    }

    .coffee {
        font-size: 18vw; /* Adjusted size for smaller screens */
    }

    .logo {
        max-width: 40vw;
    }

    h2, .instagram-box {
      font-size: 2.5vw;
      padding: 1vw 2vw;
      border: 0.3vw solid #000;
    }
}

@media (max-width: 800px) {
    .good {
        font-size: 30vw; /* Adjusted size for smaller screens */
    }

    .coffee {
        font-size: 28vw; /* Adjusted size for smaller screens */
    }

    .logo {
        max-width: 60vw;
    }

    h2, .instagram-box {
      font-size: 4vw;
      padding: 1vw 2vw;
      border: 0.5vw solid #000;
    }
}

@media (max-height: 1000px) {
  .good {
      font-size: 20vh; /* Adjusted size for smaller screens */
  }

  .coffee {
      font-size: 18vh; /* Adjusted size for smaller screens */
    }
}

/* Make sure the Instagram box matches */
.instagram-box {
    cursor: pointer;
}

/* Social Icon Styles */
.social-icon {
    width: 50px;
    height: auto;
    margin-top: 10px;
}

/* Locks footer text to bottom */
footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 1vh;
    color: #000;
    opacity: 50%;
    padding: 0;
    max-width: 80%;
}
