
section {
    border-radius: 10px;
    border: 3px solid white;
    background-color: rgba(255, 255, 255, 0.2); 
}

body {
    background: linear-gradient(to bottom right, rgb(255, 136, 62), rgb(255, 255, 104));
    background-repeat: no-repeat;
    height: 100vh !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 24px;
    line-height: 3;
    justify-content: center;
    
}

/* Richest Person Button */
.getresult{
    margin: 0;
}

/*Contents of Sections */
#loveCalculator{
    margin-left: 3px;
    margin-right: 3px;
    padding-left: 20px;
    background-color: rgba(255, 255, 255, 0.2);
}

#daily-tasks{
   padding: 0px 0px 0px 20px;
   margin-left: 3px;
   margin-right: 3px;
   
}

#richestPeople{
    margin-left: 3px;
    margin-right: 3px;
    padding-left: 20px;
}

#quoteApp {
    text-align: center;
    margin-left: 3px;
    margin-right: 3px;
    padding: 5px;
    font-family: 'La Belle Aurore', cursive; 
}


fieldset {
    line-height: 1.5;
}

/*All Buttons */
button {
    background-color: rgb(255, 153, 0) !important;
    font-size: 15px !important;
    text-align: center;
    padding: 3px 6px !important;
    border-radius: 10px;
    border:3px solid rgb(245, 140, 65);
}

/*Love Calc Button */

#modalBtn {
    margin-bottom: 3px;
}

h2 {
    font-size: 30px;
}

/* CONFETTI CSS START */

/* styles for the confetti elements */
.confetti {
    width: 9px;
    height: 9px;
    border-radius: 30%;
    position: absolute;
    top: -10px;
}

/* confetti colors array: */
.red {
    background-color: rgb(255, 0, 0);
}

.green {
    background-color: rgb(9, 149, 9);
}

.blue {
    background-color: rgb(21, 21, 251);
}

.yellow {
    background-color: yellow;
}

.orange {
    background-color: rgb(255, 153, 0);
}

.purple {
    background-color: blueviolet;
}

.pink {
    background-color: rgb(214, 34, 157);
}

/* confetti animation */

/*Richest Person API styling*/

.toggle-btn{
   background-color: rgb(245, 140, 65);
    padding: 2px 10px 2px 10px;
    border: 2px solid white;  
}

@keyframes fall {
    from {
        transform: translateY(-10px);
    }
    to {
        transform: translateY(100vh);
    }
}

/* CONFETTI CSS END */

/* MODAL CSS START */

.modal1 {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}

/*Styled Model Header*/
.modal-header {
    padding: 2px 16px;
    background-color: #e95dff;
    color: white;
}

.modal-body {padding: 2px 16px;}
  
/* Modal Content + slide-in animation */
.modal-content {
    position: relative;
    background-color: #fbccfe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 300px;
    box-shadow: 0 4px 8px 0 rgba(60, 60, 60, 0.2),0 6px 20px 0 rgba(255, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* modal animation = slide in from top */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.closeModal {
    color: rgb(164, 0, 223);
    float: right;
    font-size: 20px;
    font-weight: bold;
}
  
.closeModal:hover,
.closeModal:focus {
    color: rgb(255, 255, 255);
    text-decoration: none;
    cursor: pointer;
}

/*Styled Modal Elements*/

.modal-footer {
    padding: 2px 16px;
    background-color: #e95dff;
    color: white;
    margin-top: 10px;
}

#modalNameInput1{
    width: 95%;
    border-radius: 5px;
}

#modalNameInput2{
    width: 95%;
    border-radius: 5px;
}

/*Styled Modal Button*/
#loveCalc{
    background-color: white !important;
    color:#e95dff;
    margin-bottom: 10px;
    padding: 1px 10px 1px 10px;
    border: 2px solid #e95dff;
}
