
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size:62.5%;
    font-family: 'Nunito', sans-serif;
}

body {
    background: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    display: grid;  
    min-height: 100vh;
    place-items: center;
}

.container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 20px;
    min-height: 90%;
    width: 95%;
}

.glassmorphism-effect {
    background: rgba( 255, 255, 255, 0.10 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    -webkit-backdrop-filter: blur( 4px );
            backdrop-filter: blur( 4px );
    border-radius: 16px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.padding-box {
    padding: 12px;
}



/* Objetive title styles */
#objetive-title{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#objetive-title > img{
    width: 30px;
    height: 30px;
    cursor: pointer;
}


.title p:first-child {
    font-size: 2.8rem;
    font-weight: 600; 
    margin-bottom: 30px;
    color: #b86eb1;
}

.title p:last-child {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: #520855;
}

/* little paragraph styles */
.little-p{
    font-size:1.3rem;
    color: #520855;
    margin-bottom: 10px;
}

/* Objetive goals styles */
.goals {
    display: block;
    /* flex-direction: column;
    align-items: center; */
    width: 100%;
}

.goals .section{
    padding: 1em;
    display: flex;
    align-items: center;
    flex-direction:row;
    min-width: 100px;
    max-width: 1000px;
    background-color:#ffffff59;
    border-radius: 30px;
    margin-bottom: 20px;
    cursor: pointer;
}
.goals .img-container {
    display: flex;
    align-items: center;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    width:40px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Porgress bar container */
.goals img {
    width: 30px;
}


.bar-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.bar-container img{
    margin-left: 15px;
}


/* Porcentage bar styles */
.progress-bar{
    background-color: #d8d8d8;
    width: 1px;
    border-radius: 9px;
}

.progress-done{
    background: rgb(206,150,255);
    background: linear-gradient(71deg, rgba(206,150,255,1) 31%, rgba(255,120,136,1) 73%);
    height: 30px;
    width: 0px;
    border-radius: 9px;
    text-align: center;
    font-size:1.2rem;
    font-weight: 700;
    color:#49064c;
}

/* Button styles */
.new-button{
    padding: 20px;
    background-color:#ffffff59;
    border-radius: 60px;
    border: 0px;
    cursor: pointer;
    outline: none;
    transition: all 500ms ease;
}

.new-button:hover{
    background-color:#c5c5f6;
}

.new-button img{
    height: 40px;
    width: 50px;
}


/* objetive_form styles */
.popup_container{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(32, 32, 32, 0.404);
    display:none;
}

.active{
    display: grid;
}

#event-form{
    padding: 10px;
    min-width: 290px;
    max-width: 700px;
    display:flex;
    align-self: center;
    justify-self: center;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: #fad0fc;
    border-radius: 10px;
    border:1px solid #49064c;
    box-shadow: 0px 0px 33px -4px #49064C;
}

#event-form > div{
    margin-top: 5px;
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}


#event-form div img{
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#event-form h3{
    font-size: 2.4rem;
    font-weight: bold;
    color: #49064c;
}

#event-form .form{
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}

#event-form .form label{
    margin: 5px 0;
    margin-right: 15px;
    margin-left: 2px;
    font-size: 1.2rem; 
    font-weight: 600;  
    color: #49064c;
}

#event-form .form input{
    width: 100%;  
    color: #49064c;
    border: none;
    outline: none;
    border: 1px solid #49064c;
    border-radius: 5px;
}

#event-form .form input[type="text"]{
    padding: 5px 10px;
    line-height: 1.5em;
}


#event-form #color{
    width: 100%;
    display:flex;
    justify-content: space-evenly;
}

#event-form #color input[type="radio"]{
    width: 25px;
    height: 25px;
}

#event-form #color input[type="radio"]:checked{
    box-shadow: inset 0 0 0px 5px #ffffff;
}

#event-form .form input[type="radio"]{
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 16px;
    background:white;
    transition: 0.2s all linear;
    border-radius: 50%;
}


#event-form .form input[type="radio"]:checked {
    box-shadow: inset 0 0 0px 4px #49064c;
}

#event-form section {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.4rem; 
    font-weight: 600;  
    color: #49064c;
}

#event-form .radio-container{
    padding: 20px 0;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

#event-form .multiple-days{
    display: flex;

}

#event-form .multiple-days > div{
    display: flex;
    flex-direction:column;
    margin-right: 10px;
}

label[for="everyYear"]{
    margin-top: 10px;
}
#everyYear,#color{
    width: 40%;
}

.none{
    display: none !important;
}


.form-container{
    padding: 10px;
    display:flex;
    align-self: center;
    justify-self: center;
    flex-direction: column;
    justify-content:space-around;
    align-items: center;
    width: 100%;
    min-width: 290px;
    max-width: 500px;
    min-height: 300px;
    background: #fad0fc;
    border-radius: 10px;
    border:1px solid #49064c;
    box-shadow: 0px 0px 33px -4px #49064C;
    z-index: 30;
}

.form-container div{
    margin-top: 10px;
    margin-bottom: 60px;
    width: 80%;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.form-container div img{
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.form-container h3{
    font-size: 2.4rem;
    font-weight: bold;
    color: #49064c;
}

.form-container .form{
    margin:0 auto;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    height: 200px;
}

.form-container .form label{
    width: 80%;
    font-size: 1.2rem; 
    font-weight: 600;  
    color: #49064c;
}

.form-container .form input,select{
    width: 100%;
    padding: 5px 10px;
    margin-bottom: 10px;
    line-height: 1.5em;
    color: #49064c;
    border: none;
    outline: none;
    border: 1px solid #49064c;
    border-radius: 5px;
}

.form-container .form select{
    width: 50%;
}

.form-container .form input[type="number"]{
    width: 30%;
}

.save-button{
    align-self: center;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 10px 0;
    width: 40%;
    background: #6730c5;
    color: rgb(243, 236, 236);
    border:3px solid #5c0861;
    border-radius: 5px;
    transition: all 1000ms;
}

.save-button:hover{
    background: #5c0861;
    text-decoration: underline;
}



#new_event{
    margin-top: 15px;
    float: right;
}

footer{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
}

footer p{
    font-size: 1.4rem;
    color: #520855;
}

footer a{
    text-decoration: none;
    color: #520855;
    transition: all .5s ease
}
footer a:hover{
    text-decoration: underline;
}