/* Styling the inspiration modal */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&family=Pacifico&display=swap');

/* 
    Styling source from w3schools:
    https://www.w3schools.com/howto/howto_css_modals.asp
*/

#inspiration-modal {
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    position: fixed; 
    z-index: 1; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}
  
/* Modal Content */
#inspiration-modal  .modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 100%;
    max-width: 900px;

    /* 
        Background image from unsplash by Robert Kovacs
        https://unsplash.com/photos/RCAUuu9MN2I
    */
    background-image: url("../images/inspire-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animateright;
    -webkit-animation-duration: 0.4s;
    animation-name: animateright;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animateright {
    from {right:-500px; opacity:0} 
    to {right:0; opacity:1}
}

@keyframes animateright {
    from {right:-500px; opacity:0}
    to {right:0; opacity:1}
}

/* styling for modal header */
  
#inspiration-modal .modal-header {
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    color: white;
    border-bottom: 1px solid #000;
}

#get-inspiration {
    /* background-color: #5bc0de; */
    background-color: rgba(36%,75%,87%,0.7);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.2s ease;
}

#get-inspiration:hover,
#get-inspiration:focus {
    border: 1px solid #FFff66;
    background: transparent;
}

/* The Close Button */
.close {
    color: white;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
}

#inspiration-modal .close:hover,
#inspiration-modal .close:focus {
    color: #ffcc00;
    text-decoration: none;
    cursor: pointer;
}


/* styling the modal body and content  */
#inspiration-modal .modal-body {
    background: transparent;
    padding: 5px 16px;
    overflow: auto;
    height: 80vh;
    color: #fff;
    text-align: center;
    background-color: rgba(0,0,0,0.3);
}

#inspiration-modal .quotes {
    margin: 30px 0;
}

#inspiration-modal .quotes  h3{
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 35px;
    color: #ffcc00;
    text-decoration: underline;
}

#inspiration-modal .quotes  p{
    font-family: 'Pacifico', 'Open Sans', sans-serif;
    font-size: 30px;
    color: #ffff66;
}
