@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
  }
  /*
    2. Remove default margin
  */
  * {
    margin: 0;
  }
  /*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: black;
    background-color: #ffd6ff;
  }
  /*
    5. Improve media defaults
  */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
  }
  /*
    6. Remove built-in form typography styles
  */
  input, button, textarea, select {
    font: inherit;
  }
  /*
    7. Avoid text overflows
  */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  /*
    8. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.navbar {
    background-color: #ffafcc;
    height: 65px;

}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

ul li {
    list-style: none;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: black;
}

.logo {
    font-size: x-large;
    font-weight: bold;
}

.container .nav-items {
    display: flex;
    margin-left: 20px;
}

.nav-items  li {
    margin-left: 30px;
}

.header {
    background-color: #c8b6ff;
}

.header .container {
    display: flex;
    height: 600px;
    align-items: center;
    justify-content: space-between;

}

.header .hero {
    width: 600px;
}

.header .img-container {
    border: 5px solid #caf0f8;
    height: 350px;
    width: 500px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.random-info .container {
    display: flex;
    justify-content: space-between;
    height: 200px;
    flex-wrap: wrap;
    
    
}

.random-info .box {
    height: 140px;
    width: 260px;
    background-color: #ffb3c6;
    border-radius: 8px;
    
}

.quote .container {
    background-color: #ddd3fa;
    display: flex;
    justify-content: center;
    
}

.quote .container .author {
    align-self: end;
    margin-top: 80px;
}

.call-action .container {
    margin-top: 30px;
    display: flex;
    background-color: #e0caf8;
    border-radius: 20px;
}

#btn2 {
/* display: flex; */
align-self: end;
justify-content: end;
margin-left: 450px;
margin-bottom: 20px;
}


.footer {
    background-color: #ffafcc;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
  
}

button {
    padding: 15px;
    border-radius: 15px;
}


@media (max-width:768px){
    .navbar .container {
        flex-direction: column;
    }

    .header .container {
        flex-direction: column;
        margin-left: 8px;
    }

    .header .hero {
        /* margin-left: 208px; */
        width: 420px;
    }

    .header .img-container {
        width: 380px;
        height: 300px;
        margin-bottom: 20px;

    }

    .random-info .box {

        flex-direction: column;
        margin-left: 20px;
        margin-top: 20px;
        width: 400px;
    }
    .quote .container {
        margin-top: 500px;
    }
    .call-action .container {
        /* width: 760px; */
        /* justify-content: space-between; */
        align-items: center;
        flex-direction: column;
        border-radius: 0;
    }



}

/* @media ( max-width:1046px) {

    .random-info .container {
        flex-direction: column;
        flex-wrap: wrap;
        flex: 1;
    }

    .random-info .box {
        display: block;

    }

} */