html, body{
    margin: 0;
    padding: 0;
}

main{
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #277BC0; 
    background-size: cover;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.title{
    position: relative;
    width: 20rem;
    height: 5rem;
    top: 15px;
    box-sizing: border-box;
    border-radius: 5px;
    border: none;
    padding: 12px;

    color: #fff;
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    text-shadow: 3px 1px 7px #fff;
}

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    position: relative;
    width: 70%;
    height: 80%;
    top: 30px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 10px;
    box-shadow: 1px 1px 10px #ffffffbb;

    color: rgb(29, 13, 13);
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 3px 1px 7px #fff;
    overflow: hidden;

}

.salutation{
    display: inline-block;
    height: 1vh;
    color: #fff;
}

img{
    width: 17px;
    height: 17px;
    margin-left: 10px;
}

.title h1{display: inline}

input {
    position: relative;
    background: whitesmoke;
    box-sizing: border-box;
    border: none;
    box-shadow: 2px 1px 3px #000;
    border-radius: 3px;

    color: white;
    font-family: 'Fira Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

input:focus{
    background-color: #c0bde1;
    color: #000;
    font-weight: bold;
}

.buttons{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

button{
    display: inline;
    position: relative;
    top: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 7px;

    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

button:not(hover){
    background-color: rgb(94, 120, 184, 0.5);
    color: white;
    text-shadow: 1px 1px 3px #ffffffbb;
}

button:hover{
    background-color: white;
    color:  rgb(94, 120, 184, 0.5);
    text-shadow: 1px 1px 3px rgb(94, 120, 184, 0.5);
    cursor: pointer;
}

.containerList{
    position: relative;
    width: 100%;
    top: 5px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    overflow-y: scroll;
}

.containerList::-webkit-scrollbar{
    width: 5px;
}

.containerList::-webkit-scrollbar-track{
    position: relative;
    background-color: rgba(0,0,0,0.1);
    border-radius: 7px;
    margin-top: 10px;
    padding: 10px;
}

.containerList::-webkit-scrollbar-thumb{
    background-color: rgba(0,0,0,0.3);
    border-radius: 7px;
}

p{
    width: 80%;
    height: 3vh;
    margin: 2px 5px 7px 0;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;

    text-align: left;
    color: rgb(29, 28, 28);
    font-family: 'Titillium Web', sans-serif;
    font-size: 4.5vw;
    cursor: pointer;
}

.selectedTask{
    background-color: rgb(6, 190, 6);
    color: white;
}

@media (min-width: 400px){
    p{font-size: 1.2rem;}
}

@media (min-width: 600px){
    .container{
        width: 500px;
    }

    button{
        width: 6rem;
        height: 4rem;
    }
}
