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

body {
  font-family: 'Hanken Grotesk', sans-serif;
  background-color: #eef3fc;
  color: #1a1a1a;
}
.page-wrapper {
  padding: 2rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6f9ff;
  padding: 1rem 2rem;
  border-radius: 999px;
  margin-bottom: 3rem;
}

.logo {
  font-size: 1.2rem;
}

.logo {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  font-weight: 700;
}

.logo .blue {
  color: #007aff;
}

.logo .black {
  color: #1a1a1a;
}


.bold {
  font-weight: 700;
}

.blue {
  color: #007aff;
  font-weight: 700;
}

/* Nav links */
nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

/* Main content */
.content {
  max-width: 600px;
  align-content: center;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #007aff;
}

.badge {
  display: inline-block;
  background-color: #007aff;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

p {
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
  max-width: 650px;
  margin-bottom: 1rem;
}

a {
  color: #007aff;
}

.container_main_info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pic_main_first {
  text-align: center;
}

.ring-sizer-section {
  background-color: white;
  border-radius: 24px;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: white;
}

.ring-sizer-section h2 {
  background-color: #3E5686;
  color: white;
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ring-sizer-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: black;
}

.ring-sizer-images img {
  width: 100%;
  max-width: none; 
  border-radius: 0;
  display: block;
  margin: 0;
}
.ring-sizer-text {
  padding: 2rem;
}

.download-button {
  width: 160px;
}

.footer {
  background-color: #ffffff;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-left h2 {
  font-size: 2rem;
  color: #007aff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-right p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #666;
}

.footer-right a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.footer-right a:hover {
  text-decoration: underline;
}

.social-icon {
  width: 30px;
  height: 30px;
  margin-top: 0.5rem;
}


@media only screen and (max-width: 600px) {
  .container_main_info {
    display: grid;
    grid-template-columns: 1fr;
  }
  .navbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 50px;
  }

  .navbar .logo {
    grid-column: 1;
  }

  .navbar nav {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-column: 2;
    justify-content: center;
    align-content: center;
    gap: 0.3rem;
  }

  .navbar nav a {
    font-size: 0.9rem;
    text-align: left;
  }
  
  .pic_main_first {
    text-align: right;
  }
  .ring-sizer-section {
    display: block;
    padding: 0;
    background-color: white;
    border-radius: 24px;
    margin-top: 3rem;
    color: white;
  }

  .ring-sizer-images img {
    width: 100%;
    border-radius: 24px;
  }

  .ring-sizer-text {
    padding: 1.5rem 1rem;
    text-align: left;
  }

  .ring-sizer-text h2 {
    text-align: left;
    display: inline-block;
  }

  .download-button {
    display: block;
    margin: 1.5rem auto 0;
    width: 80%;
    max-width: 140px;
  }

  .footer-container {
    flex-direction: column;
    text-align: left;
    gap: 1rem;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-left h2 {
    color: #007aff;
  }

  .footer-right p {
    font-size: 0.95rem;
    color: #6e6e6e;
  }

  .social-icon {
    margin-top: 0.25rem;
  }

}
