@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

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

body {
  font-size: 1.125rem;
  padding: 0 0;
  margin: 0 0;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  overflow-x: hidden; /* Prevents side-scrolling on mobile */
}

/* Container Adjustments for Responsiveness */
.heading-container,
.main-container {
  margin-left: auto;
  margin-right: auto;
  width: 90%; /* Default for mobile */
  max-width: 800px; /* Limits width on large screens to keep your 50% look */
  border-bottom: 1px solid #dee2e6;
  margin-top: 20px;
}

.heading {
  font-size: 2.5rem;
  color: #2a2b2d;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 420;
  font-style: normal;
}

main {
  border-bottom: 1px solid #c6c7c8;
}

.main-container {
  min-height: 500px;
  border-bottom: 1px solid #c6c7c8;
}

.work-quote-heading-container {
  margin-top: 50px;
}

.work-quote-heading {
  font-size: 2.5rem;
  font-family: "Minigap";
  font-weight: 900;
  color: #212529;
}

.about-container {
  margin-top: 20px;
  width: 100%; /* Changed from 80% to fit container */
}

.about {
  font-size: 1.375rem;
  color: #2e3135;
}

.text-container {
  display: block; /* Better for text wrapping */
}

.my-image {
  border-radius: 50%;
  height: 18.75rem;
  width: 18.75rem;
  /* max-width: 100%; Ensures image doesn't overflow container */
}

.image-container {
  margin-left: 0;
  margin-top: 20px;
  display: block;
  text-align: center;
}

/* Button Responsiveness */
.button-container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.def-btn {
  height: 3.4375rem;
  border-radius: 5px;
  width: 100%;
  max-width: 15.625rem;
  border: none;
}

.btn1 {
  background-color: #0b5ed7;
  color: white;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.btn1:hover {
  background-color: #0d55c2;
  cursor: pointer;
}

.btn2 {
  background-color: #31d2f2;
  color: rgb(0, 0, 0);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.btn2:hover {
  background-color: #24adc8;
  cursor: pointer;
}

a {
  text-decoration: none;
}

/* Side-by-side Layout for Journey and Contact */
.journey-container, .contact-me-container {
  width: 90%;
  max-width: 400px;
  margin: 20px auto;
  display: block;
  vertical-align: top;
}

.journey-heading, .contact-me-heading {
  font-size: 2.5rem;
  font-family: "Minigap";
  font-weight: 900;
  color: #212529;
}

.journey-text, .contact-me-text {
  line-height: 1.9rem;
  color: #2e3236;
  font-size: 1.1rem;
  font-style: italic;
}

/* Social Buttons */
.social-communication-buttons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-btn {
  height: 2.4375rem;
  margin-top: 20px;
  cursor: pointer;
  width: 9.625rem;
  padding: 28px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.youtube { background-color: #ff0808; color: white; }
.github { background-color: #0a0e0f; color: white; }
.discord { background-color: #5d69f2; color: white; }



/* Form Elements */
.input-email {
  height: 1.7rem;
  width: 100%;
  max-width: 31rem;
  box-sizing: border-box;
}

.subscribe-btn {
  margin-top: 20px;
  width: 100%;
  max-width: 31rem;
  background-color: #ffffff;
  color: #4e5154;
  font-size: 1.2rem;
  border: 1px solid #ced4da;
}

/* Desktop Specific Adjustments (The original look) */
@media (min-width: 992px) {
  .heading-container, .main-container {
    width: 50%;
    margin-left: 25%;
  }

  .image-container {
    margin-left: 100%;
    margin-top: -350px; /* Adjusted to sit next to text */
    display: inline-block;
  }

  .journey-container {
    width: 30%;
    margin-left: 25%;
    display: inline-block;
  }

  .contact-me-container {
    width: 30%;
    margin-left: 5%;
    display: inline-block;
  }

  .btn2 {
    margin-left: 2.5rem;
  }
}

.end-container {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}

.discord:hover {
  background-color: #4953bf;
}

.github:hover {
  background-color: #111516;
}

.youtube:hover {
  background-color: #d50f0f;
}

.news-text {
  margin-top: 20px;
}
