.btn1 {
    border: 1px solid black;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s all linear;
}

.btn1:hover {
    background-color: black;
    color: white !important;
}

.btn2 {
    border: 1px solid black;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s all linear;
    background-color: black;
    color: white !important;
}

.btn2:hover {
    opacity: 0.7;
}

.btn3 {
    border: 1px solid black;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s all linear;
    background-color: black;
    color: white !important;
    display: inline-block;
    margin: 10px 0;
}

.btn3:hover {
    opacity: 0.7;
}

.btn4 {
    border: 1px solid #1a73e8;
    padding: 12px;
    border-radius: 8px;
    transition: 0.3s all linear;
    background-color: #1a73e8;
    color: white !important;
    display: inline-block;
    margin: 10px 0;
}

.btn4:hover {
    opacity: 0.7;
}

.btn2 {
    display: flex;
    align-items: center;
    gap: 9px;
}

.btn2 i {
    margin-bottom: 5px;
}

.logout-button, .delete-button {
    background: transparent;
    border: none;
    font-size: 16px;
    color: rgb(255, 255, 255);
    cursor: pointer;
}

.survey-card-buttons {
    display: flex;
    gap: 5px;
}

.survey-card-buttons .icon-button, table .icon-button {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 10px;
    transition: 0.3s all linear;
}

table .icon-button {
    font-size: 13px;
    padding: 5px 14px;
}

.survey-card-buttons .icon-button i, table .icon-button i {
    margin-bottom: 5px;
}

.survey-card-buttons .viewBtn, table .viewBtn {
    background-color: rgb(2, 44, 179);
    color: white;
}

table .viewBtn {
    padding: 0 15px;
}

.survey-card-buttons .viewBtn:hover {
    background-color: rgb(3, 9, 28);
    color: white;
}

.survey-card-buttons .shareBtn, table .shareBtn {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}

.survey-card-buttons .shareBtn:hover, table .shareBtn:hover {
    opacity: 0.6;
}

.survey-card-buttons .deleteBtn, table .deleteBtn {
    background-color: rgb(179, 2, 2);
    border: none;
    color: white;
    padding: 13px 14px;
}

.survey-card-buttons .deleteBtn:hover, table .deleteBtn:hover {
    background-color: rgb(242, 5, 5);
    color: white;
    cursor: pointer;
}

.survey-card-buttons .editBtn {
    background-color: rgb(218, 168, 3);
    color: white;
}

.survey-card-buttons .editBtn:hover {
    background-color: rgb(255, 213, 74);
    color: white;
}

.toggleBtn {
    width: 65px;
    background-color: rgb(250, 250, 250);
    height: 31px;
    position: relative;
    margin: 10px;
    transition: var(--transition);
    border-radius: 20px;
    border: 1px solid rgba(0, 128, 128, 0.228);
    background-color: rgb(210, 240, 240);
    cursor: pointer;
}

.toggleBtn .toggleActive {
    width: 23px;
    background-color: teal;
    position: absolute;
    height: 23px;
    top: 3px;
    left: 3px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.unchecked {
    border: 1px solid rgba(128, 0, 21, 0.228);
    background-color: rgb(240, 210, 210);
}

.unchecked .toggleActive {
    left: 36px;
    background-color: rgb(128, 0, 23);
}

.settingsBtn {
    display: block;
    background-color: black;
    padding: 9px;
    font-size: 12px;
    border: none;
    border-radius: 8px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    border: 1px solid black;
    transition: var(--transition);

}

.settingsBtn:hover {
    opacity: 0.7;
    cursor: pointer;
}

#correctChoice button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px;
    font-size: 15px;
    width: 35px;
    cursor: pointer;
    margin: 1px;
    transition: 0.3s all linear;
}

#correctChoice button:hover {
    background-color: teal;
}

#correctChoice .Correct {
    background-color: teal;
}

#errorContainer, .getError {
    background-color: rgb(251, 223, 223);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: 0.5s all linear;
    width: 90%;
    margin: auto;
    visibility: hidden;
    opacity: 0;
    height: 0px;
    transform: scaleY(0);
    margin-bottom: 18px;
}

.getError {
    visibility: visible;
    opacity: 1;
    height: auto;
    transform: scaleY(1);
    margin-top: 20px;
}

#errorContainer p, .getError p {
    color: brown;
    font-size: 17px;
}

#errorContainer button, .getError button {
    background: transparent;
    border: none;
    font-size: 32px;
    color: red;
    position: relative;
    top: -3px;
    transition: 0.3s all linear;
}

.getError button:hover,
#errorContainer button:hover {
    color: black;
    cursor: pointer;
}

.btnPublish {
    font-size: 18px;
    border: 1px solid black;
    padding: 13px 18px;
    border-radius: 8px;
    transition: 0.3s all linear;
    background-color: black;
    color: white !important;
    cursor: pointer;
    transition: var(--transition);
}

.btnPublish:hover {
    opacity: 0.7;
}

.responseContainer {
    height: 70vh;
}

.responseContainer h1 {
    color: white;
    padding: 20px;
    text-align: center;
    background-color: #333;
}

.responseImage {
    width: 600px;
    margin: auto;
    margin-top: 40px;
    height: 400px;
    object-fit: cover;
}

.responseImage img {
    width: 100%;
    height: 100%;
}

@media screen and (max-width:700px) {
    .responseContainer h1 {
        font-size: 20px;
    }

    .responseImage {
        width: 100%;
        height: 350px;
        padding: 20px;
    }
}

.tinytext {
    font-size: 18px !important;
}

.errorFlash p, .successFlash p {
    all: unset !important;
}

.errorFlash, .successFlash {
    background-color: rgb(255, 89, 89);
    text-align: center;
    color: rgb(255, 255, 255);
    padding: 10px;
    margin: 10px 0;
}

.successFlash {
    background-color: teal;
}

.setFooter {
    min-height: calc(100vh - 100px);
}

#footer {
    margin-left: 270px;
    width: calc(100vw - 270px);
}

@media screen and (max-width:800px) {
    #footer {
        margin-left: 0px;
        width: 100vw;
    }
}