*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit; 
}
html {
    font-size: 62.5%; 
    scroll-behavior: smooth;
}
body {
    box-sizing: border-box; 
    font-family: 'Rasa', serif;
    line-height: 1.7;
    background-color: #FFC4A1;
}
.navbar {
    padding-left: 3rem;
    padding-right: 3rem;
    position: absolute;
    width: 100%;
    z-index: 99;
}

.main {
    width: 100%;
    max-width: 45rem;
    margin: auto;
    font-family: "Nunito", sans-serif;
}

.logos {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 2rem;
    justify-content: center;
    margin-top: 5rem;
    padding: 3rem 5rem; 
}
.hobby-logo {
    width: 15rem;
}

.form-box {
    margin-top: 1rem;
    background-color: white;
    text-align: center;
    border-radius: 3rem;
    padding: 5rem 5rem 0;
}
.form-title {
    font-size: 3rem;
    font-weight: 700;
}

.form-details {
    margin-top: 4rem;
}
.form-label {
  display: block;
  text-align: start;
  margin-bottom: 1px;
  margin-left: 8px;
  font-family: sans-serif;
  font-size: 14px;
  color: #333;
  letter-spacing: .2px;
}
.form-input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #C7C4C4;
  border-radius: 12px;
  outline: none;
  box-sizing: border-box;
  font-family: sans-serif;
}
.form-input:focus {
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.iti {
    width: 100%;
}
#inputNumber {
    padding-left: 70px !important;
    width: 100%;
}

.dob-container {
    display: flex;
    gap: 12px;
}
.dob-select {
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-family: sans-serif;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    outline: none;
    appearance: auto;
    min-width: 90px;
}
.dob-select:focus {
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.form-btn {
    display: inline-block;
    width: 25rem;
    padding: 1rem 0;
    font-size: 1.8rem;
    background-color: #FE853C;
    color: white;
    border-radius: 5rem;
    margin-bottom: 5rem;
    margin-top: 5rem;
    cursor: pointer;
}
.form-btn:hover {
    text-decoration: none;
    color: white;
}

.try-again {
    color: blue;
    cursor: pointer;
    font-size: 1.5rem;
}

.carousel {
    --current-slide: 0;
    /* we set position relative so absolute position works properly for the buttons */
    position: relative;
    overflow: hidden;
}
  
.carousel-button {  
    /* basic styling */
    padding: 0;
    background-color: transparent;
    border: none;
    outline: none;
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2.5rem;
}

.carousel-button:hover {
    color: rgba(0, 0, 0, 0.5);
}
.carousel-button:focus {
    outline: none;
}

.carousel-button_next {
    /* The "next slide button" will be at the right */
    right: 0;
}

.slides {
    display: flex;
    transition: transform 0.5s;
    transform: translateX(calc(-100% * var(--current-slide)));
}

.slide {
    display: flex;
    justify-content: center;
    flex: 0 0 100%;
    padding-top: 17rem;
}

