* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    animation: slideIn 2s ease;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

@keyframes slideIn {
    from {
        transform: translatex(-100%);
    }
    to {
        transform: translatex(0%);
    }
}

@keyframes glow {
    0% {
      box-shadow: 0 0 5px #ff6347;
    }
    50% {
      box-shadow: 0 0 20px #ff6347;
    }
    100% {
      box-shadow: 0 0 5px #ff6347;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.banner {
    background-image: url("bg-image.png");
    background-size: cover;
    min-height: 100vh;
    background-position: center;
}

.profile-image {
    margin-right: 15px;
    height: 50px;
    width: 50px;
    animation: bounce 4s infinite;
    cursor: pointer;
}

.body {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav ul li a {
    font-size: x-large;
    text-decoration: none;
    color: rgb(237, 233, 230);
}

.anchor-elements {
    display: flex;
}

.profile-name {
    color: rgb(175, 194, 194);
    font-size: x-large;
}

.profile-name:hover {
    color: rgb(229, 226, 218);
    cursor: pointer;
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.a {
    margin-right: 30px;
}

.a:hover {
    transform: scale(1.2);
    transition: transform 0.1s ease;
}
.profile {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.create-card {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.task-card {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.itemsContainer {
    list-style-type: none;
    max-height: 200px;
    overflow: auto;
}

.btn-add {
    margin-top: 5px;
    color: black;
    border-radius: 20px;
    padding: 5px 20px;
    border-style: solid;
    background-color: transparent;
    cursor: pointer;
    animation: glow 1.5s infinite;
}

.btn-add:hover {
    background-color: #8e7e79;
    color: white;
    transform: scale(1.2);
    transition: transform 0.1s ease;
}

.btn-save {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 30px;
    color: black;
    border-radius: 20px;
    padding: 5px 20px;
    border-style: solid;
    cursor: pointer;
    animation: glow 1.5s infinite;
    background-color: transparent;
}

.success-message {
    display: none;
    padding: 15px;
    background-color: #4caf50;
    color: white;
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.btn-save:hover {
    background-color: #8e7e79;
    color: white;
    transform: scale(1.2);
    transition: transform 0.1s ease;
}

.heading {
    color:rgb(89, 12, 12);
    text-align: center;
    font-size: 50px;
}

.sub-heading {
    color: rgb(7, 70, 92);
    text-align: center;
    font-size: 40px;
}

.input-element {
    margin-top: 10px;
    color: black;
    border-radius: 20px;
    padding-left: 15px;
    padding-right: 15px;
    border-style: solid;
    padding-top: 7px;
    padding-bottom: 7px;
    background-color: transparent;
    cursor: pointer;
    animation: slideIn 3s ease;
}

.input-element:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
.checkbox {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.itemContainer {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    animation: slideIn 3s ease-out;
}

.labelContainer {
    background-color: #e6f6ff;
    width: 300px;
    border-style: solid;
    border-color: #096f92;
    border-right: none;
    border-top: none;
    border-bottom: none;
    border-width: 5px;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.labelElement {
    font-family: "roboto";
    font-size: 16px;
    font-weight: 400;
    margin: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    max-width: 400px;
    overflow: auto;
}

.deleteIconContainer {
    text-align: right;
}

.deleteIcon {
    padding: 15px;
    cursor: pointer;
}

.checked {
    text-decoration: line-through;
}

@media (max-width: 700px) {
    .banner {
        height: 100vh;
        background-size: cover;
    }
    .body {
        padding-top: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    nav ul {
        list-style-type: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    nav ul li a {
        font-size: large;
        text-decoration: none;
        color: rgb(237, 233, 230);
    }
    .heading {
        color:rgb(89, 12, 12);
        text-align: center;
        font-size: 30px;
    }
    .sub-heading {
        color: rgb(7, 70, 92);
        text-align: center;
        font-size: 20px;
    }
    .labelContainer {
        background-color: #e6f6ff;
        width: 275px;
        border-style: solid;
        border-color: #096f92;
        border-right: none;
        border-top: none;
        border-bottom: none;
        border-width: 5px;
        border-radius: 4px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .labelElement {
        font-family: "roboto";
        font-size: 16px;
        font-weight: 400;
        margin: 0px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 5px;
        cursor: pointer;
        max-width: 375px;
        overflow: auto;
    }
    .a {
        margin-right: 20px;
    }
    .profile-name {
        color: rgb(175, 194, 194);
        font-size: x-large;
    }
}

@media (orientation: landscape) {
    .banner {
        height: 100%;
        background-size: cover;
    }
    .body {
        padding-top: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 350px) {
    .banner {
        height: 100%;
        width: 100%;
        background-size: cover;
    }
    nav ul li a {
        font-size: 15px;
        text-decoration: none;
        color: rgb(237, 233, 230);
    }
    .profile-name {
        color: rgb(175, 194, 194);
        font-size: 30px;
    }
    .labelContainer {
        background-color: #e6f6ff;
        width: 225px;
        border-style: solid;
        border-color: #096f92;
        border-right: none;
        border-top: none;
        border-bottom: none;
        border-width: 5px;
        border-radius: 4px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .labelElement {
        font-family: "roboto";
        font-size: 16px;
        font-weight: 400;
        margin: 0px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 5px;
        cursor: pointer;
        max-width: 325px;
        overflow: auto;
    }
}