@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Roboto:wght@400;700&display=swap');


h1, h2, h3 { 
    font-family: "Merriweather", serif;
}

header { 
grid-area: header;

 display: flex; /* Important first step to get the flexbox layout */
 justify-content: space-between; /* Important second step to space out the items */
 align-items: center; /* Important third step to vertically center the items */

 
 color: white;
 padding: 20px; 
 border-radius: 10px;
 
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-decoration: none;
    
}
.main-nav a {
    font-size: 1.2rem;
    color: hsl(0 0% 90%);
    text-decoration: none;
    font-weight: 500;
}

.fact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color:  hsl(0 0% 12%);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    margin: 20px auto;
    color: hsl(0 0% 90%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

body {
    font-size: 62.5%;
    display: grid;
    grid-template-areas: 
    "header"
    "main"
    "footer";
    grid-template-rows: 1fr 4fr auto;
    font-family: 'Roboto', sans-serif;
    background-color:hsl(0 0% 8%);
   
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: 700;
}



.loginBtn { 
    background-color:hsl(0 0% 12%);
    color:  hsl(0 0% 90%);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: hsl(0 0% 12%);
    color: hsl(0 0% 90%);
    border-radius: 10px;
    margin: 1.8rem auto;
    max-width: 800px;
    
}

.hero-tagline {
    font-size: 1.2rem;
    margin: 1.2rem 0;
}

.getStartedBtn {
    background-color: hsl(30 90% 50%);
    color: hsl(0 0% 90%);
    border: none;
    padding: 1.2rem 2.4rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 1.5rem;

    transition: all 0.3s ease; 

}

.getStartedBtn:hover {
    background-color: hsl(30 90% 40%);
    transform: scale(1.05); 
}

.footer {
    font-size: 0.8rem;
    text-align: center;
    padding: 1.8rem;
    background-color: hsl(0 0% 12%);
    color: hsl(0 0% 90%);
    border-radius: 10px;
    
   
}