@import url('https://fonts.googleapis.com/css2?family=Kalam&display=swap');

* {
    margin: 0px;
    padding: 0px;
    border: none;
}

:root {
    --background-color: #ece488;
    --color: #000;
    --hover: #c2bb6e;
    --background-image: url('./imgs/welcome-light.png');
}

body {
    height: 100vh;
    background-color: var(--background-color);
    margin: 0px;
    padding: 0px;
    font-size: 1.5rem;
    color: var(--color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: var(--background-color);
    height: 11vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.25rem;
    width: 100vw;
}

#container {
    height: 89vh;
    display: flex;
    flex-direction: column;
    gap: 5vh;
    justify-content: center;
    align-items: center;
}

.welcome  {
    background-image: var(--background-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100vw !important;
}



#toggletheme {
    background-color: var(--color);
    border-radius: 25px;
    width: 86px;
    height: 43px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.left-light {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    margin: 1.5px;
    background-color: var(--background-color);
    cursor: pointer;
}

.right-light {
    border-radius: 100%;
    background-image: url('./imgs/theme-light.png');
    background-position: center;
    background-size: 30px;
    width: 30px;
    height: 30px;
    margin: 1.5px;
    margin-left: 3px;
    cursor: pointer;
}

.left-dark {
    border-radius: 100%;
    background-image: url('./imgs/theme-dark.png');
    background-position: center;
    background-size: 30px;
    width: 30px;
    height: 30px;
    margin: 1.5px;
    cursor: pointer;
}

.right-dark {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    background-color: var(--background-color);
    margin: 1.5px;
    margin-left: 3px;
    cursor: pointer;
}

.themeImg {
    width: 30px;
}

.buttonWelcome {
    background-color: var(--color);
    color: var(--background-color);
    border: 2px solid var(--color);
    padding: 17.5px;
    border-radius: 20px;
    font-size: 1.125rem;
}

.buttonWelcome:hover {
    background-color: var(--background-color);
    color: var(--color);
    cursor: pointer;
}

.labelName {
    font-weight: bold;
    font-size: 3rem;
}

#nameInput {
    background-color: var(--background-color);
    color: var(--color);
    padding: 5px;
    width: 19rem;
    height: auto;
    font-size: 2.5rem;
    text-align: center;
    margin-left: 1.55rem;
}

#nameInput:focus {
    border: none;
    box-shadow: 0 0 0 0;
    outline: 0;
}

#nameInput::placeholder {
    color: var(--hover)
}

.block {
    justify-content: normal !important;
    width: 60vw;
}

.sendName {
    display: inline;
    height: 2.5rem;
    border-radius: 50%;
    padding: .3rem;
}

.sendName:hover {
    background-color: var(--hover);
    cursor: pointer;
}

.divSendName {
    display: flex;
    gap: 10px;
}

.containerName {
    display: flex;
}

.hello {
    font-weight: bold;
    margin: 7.5px;
}

#inputName {
    background-color: var(--background-color);
    font-size: 1.5em;
    font-weight: bold;
    padding: 2px;
    width: 12ch;
    border-radius: 10px;
    color: var(--color)
}

#inputName:hover {
    background-color: var(--hover);
    border-radius: 10px 0px 0px 10px;
}

#inputName:focus {
    border: none;
    box-shadow: 0 0 0 0;
    outline: 0;
    background-color: var(--hover);
    border-radius: 10px 0px 0px 10px;
}

.editName {
    background-color: var(--hover);
    width: 2rem;
    height: 2rem;
    padding: 0.75rem;
    border-radius: 0px 10px 10px 0px;
    cursor: text;
}

.headerMain {
    display: flex;
    gap: 15vw;
    margin: 20px 0;
    margin-bottom: -17.5px;
}

#addTask {
    background-color: var(--hover);
    cursor: pointer;
    border-radius: 10px;
    padding: 1px 7.5px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: var(--color);
    border: 4px solid var(--hover);
}

#addTask:hover {
    background-color: var(--background-color);
}

#addTask:disabled {
    background-color: var(--background-color);
    cursor: no-drop;
    border-color: var(--background-color);
}

.plus {
    font-size: 1.5rem;
}

.hr {
    background-color: var(--color);
    height: 1px;
    width: 60vw;
    margin: 0px;
}

body > hr {
    width: 100vw !important;
}

.optionSituations {
    display: flex;
    gap: 30px;
}

.situations {
    padding: 8px;
    font-weight: 500;
    border-radius: 10px;
}

.situations:hover {
    background-color: var(--hover);
    cursor: pointer;
}

.active {
    background-color: var(--hover);
    border-bottom: solid 5px var(--color);
}

.taskContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    height: 70vh;
    text-align: center;
}

.dontExists {
    margin: auto 0;
}

.taskObject {
    display: flex;
    justify-content: space-between;
    background-color: var(--hover);
    border-radius: 40px;
    align-items: center;
    height: auto;
    padding: 0.1% 1%;
}

.taskObject:hover {
    background-color: var(--background-color);
    .buttons {
        background-color: var(--background-color);
    };
    .buttons:hover {
        background-color: var(--hover);
    };
}

.divButtonTask {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.buttons {
    height: 30px;
    border-radius: 50%;
    padding: 3px;
    background-color: var(--hover);
}

.buttons:hover {
    background-color: var(--background-color);
    cursor: pointer;
}

.divNameTask {
    display: flex;
    align-items: center;
    height: auto;
    gap: 10px;
    flex-wrap: wrap;
    width: 90%;
}

.labelNameTask {
    display: flex;
    cursor: pointer;
    font-size: 1.5rem;
}

.nameTask {
    background-color: var(--hover);
    font-size: 1.4rem;
    color: var(--color);
}

.nameTask:focus {
    border: 2.5px var(--color) solid;
    outline: 0;
    border-radius: 5px;
    padding: 0 5px;
    width: 82%;
}

.logo {
    font-family: 'kalam';
}
