:root {
    --wahlname: linear-gradient(to bottom,rgb(0, 0, 0)50%,rgba(0, 0, 0, 0));
}

.Middler3 {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: black;
}


.canidatebox {
    margin-top: 100px;
    height: 100vh;
    background-color: black;
    color: var(--desctextcolor);
    min-width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .cd_top {
        
        height: 100%;
        background-color: aliceblue;


    }

    .cd_top_picture{
        width: 100vw;
        height: 100%;
        object-fit: cover;
    }

    .cd_top_name {
        position: absolute;
        
        font-weight: bold;
        margin: 0px;
        width: 100%;
        text-align: center;
        padding-bottom: 5vw;
        font-size: 5vw;
        background-image: var(--wahlname);
        
    }
    
.cd_low {
    height: 100vh;
    width: 100%;
    text-align: center !important;
    display: flex;
    color: var(--desctextcolor);

}

    .cd_low_main {
        height: 100%;
        width: 80%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .cd_low_main p {
        width: 80%;
        font-size: 1vw;
    }
    .cd_low_main p span{
        font-weight: bold;
        font-size: 1vw;
    }

    .cd_low img {
        width: 20%;
        
        align-self: center;
        object-fit: cover;
        background-color: var(--desctextcolor);
        border-radius: 20%;
        box-shadow: inset 0px 0px 20px rgb(0, 0, 0);
    }

@media (max-width: 600px) {
    .cd_top_name {
        position: absolute;
        
        font-weight: bold;
        margin: 0;
        width: 100%;
        text-align: center;
        padding-bottom: 5vw;
        font-size: 5vh;
        background-image: linear-gradient(to bottom,rgb(0, 0, 0)50%,rgba(0, 0, 0, 0));
        
    }

    .cd_low_main {
        height: 100%;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .cd_low_main p {

        font-size: 3.5vw;
    }
    .cd_low_main p span{
        font-weight: bold;
        font-size: 3.5vw;
    }

    .cd_low img {
        width: 0%;
        margin-top: 0px;
        align-self: center;
        object-fit: cover;
        background-color: var(--desctextcolor);
        border-radius: 0%;
        box-shadow: inset 0px 0px 0px rgb(0, 0, 0);
    }
}