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

body {
    font-family: "Poppins", sans-serif;
    --color1: #FFF;
    --color2: #181818;

}

.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: relative;
    background-color: var(--color2);
    padding: 12px 20px;
}

.logo img {
    width: 50px;
    border-radius: 50px;
}

.menu {
    display: flex;
}

.menu li {
    padding-left: 30px;
}

.menu li a {
    display: inline-block;
    text-decoration: none;
    color: var(--color1);
    text-align: center;
    transition: 0.15s ease-in-out;
    position: relative;
    text-transform: uppercase;
}

.menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color1);
    transition: 0.15s ease-in-out;
}

.menu li a:hover:after {
    width: 100%;
}

.open-menu,
.close-menu {
    position: absolute;
    color: var(--color1);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}

.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu {
    top: 20px;
    right: 20px;
}

#check {
    display: none;
}

.secc {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px;
    background-color: rgb(25, 123, 126);
}

.poll-container {
    position: relative;
    background-color: rgb(233, 208, 176);
    width: 800px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 5px rgba(35 30, 128, 0.05);
}

.poll {
    width: 100%;
}

.poll .question {
    padding: 20px;
    color: #111;
    font-size: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    border-bottom: 1px solid red;
}

.poll .answers {
    padding: 20px 20px 10px;
}

.poll .answers .answer {
    position: relative;
    width: 100%;
    height: 40px;
    padding: 0px 10px;
    line-height: 40px;
    color: #111;
    margin-bottom: 10px;
    border: 1px solid #974040;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
}

.poll .answers .answer.selected {
    border: 2px solid #8f9fe8;
}

.poll .answers .answer span.percentage-value {
    position: absolute;
    top: 50%;
    right: 0px;
    width: 40px;
    transform: translateY(-50%);
    color: #111;
    font-size: 15px;
}

.poll .answers .answer span.percentage-bar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0%;
    height: 100%;
    background: #04d604;
    z-index: -1;
    transition: width 300ms ease-in-out;
}

.foot {
    display: flex;
    width: 100%;
    background-color: black;
    height: 400px;
    padding: 65px 196px;
}

.foot div {
    text-align: center;
    color: white;
}

.col2 {
    flex-grow: 2;
}

.foot div h3 {
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1;
}

.col1 a {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    color: aliceblue;
}

form input {
    width: 400px;
    height: 40px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    outline: none;
    border: none;
}
.fa-brands {
    font-size: 30px;
    padding: 5px;
    cursor: pointer;
}

form button {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 10px 30px;
    color: white;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {

    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: var(--color2);
        transition: all 0.2s ease-in-out;
    }

    .menu li {
        margin-top: 30px;
    }

    .menu li a {
        padding: 8px;
    }

    .open-menu,
    .close-menu {
        display: block;
    }

    #check:checked~.menu {
        right: 0;
    }

    .secc {
        height: auto;
    }

    

    .foot {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        height: auto;
    }

    .col1,
    .col2,
    .col3 {
        text-align: center;
        margin-bottom: 20px;
    }

    .foot {
        display: flex;
        flex-direction: column;
        padding: 65px 25px;
        height: auto;
        width: 100%;
    }

    .foot div {
        margin-bottom: 20px;
    }

    .foot div h3 {
        margin-bottom: 4px;
    }


    form input {
        width: 80%;
        margin: 10px;
    }

}