/* Resetting some default styles for better visualization */
body {
    margin: 0;
    padding: 0;
    list-style-type: none;
    background-image: url(images/webitebackground.png);
    background-repeat: no-repeat;
    /* To prevent the image from repeating */
    background-size: cover;
    /* To cover the entire viewport */
    background-attachment: fixed;
    /* To make the background fixed when scrolling */
    background-position: center center;
    /* To center the background image */
}

#centered-box {
    z-index: -1;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    position: absolute;
    top: 118%;
    left: 51.25%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 2000px;
    background-color: #f2f2f2;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    box-shadow: 5px 5px 8px 2px rgb(223, 223, 223),
    -2px 2px 8px 2px rgba(223, 223, 223, 0.1);
    padding: 20px;
}

@media (max-width: 950px) {
    .hidden {
        display: none;
    }

    #centered-box {
        width: 90%;
        height: 75%;
        justify-content: space-around;
    }

    #slideshow1 {
        width: 86%;
        margin: auto;
        margin-top: 21px;
        margin-bottom: 21px;
    }

    .slide {
        width: 90%;
    }

    body {
        margin: 0;
        padding: 0;
        list-style-type: none;
        background-image: url(images/mobile_background.png);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-attachment: fixed;
        background-position: center center;
    }
}

.sec1{
    order: 0;
    background-color: grey;
    padding: 10px;
}

.page_desc{
    background-color: aliceblue;
    padding: 10px;
    margin-top: 10px;
}

.main_title{
    background-color: aliceblue;
    width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 12px;
    font-size: 20px;
}






.sec2{
    order: 1;
    background-color: grey;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 10px;
    height: 450px;
}

.canvas_container_1{
    background-color: aliceblue;
    width:70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#draw_canvas{
    display: block;
    height: 90%;
    width: 405px;
    background-color: white;
}

.network_toggle{
    background-color: aliceblue;
    width: 30%;
    margin-left:10px ;
}

.switch_a{
    padding-bottom: 20px;
}

.switch_label{
    padding: none;
}

/* maybe this is the one that you can change into a form later on */
.switch-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.switch {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch-label {
    cursor: pointer;
    text-indent: -9999px;
    width: 150px;
    height: 50px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.switch-label:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.switch:checked+.switch-label {
    background: #bada55;
}

.switch:checked+.switch-label:after {
    left: calc(100% - 4px);
    transform: translateX(-100%);
}











.sec3{
    order: 2;
    background-color: grey;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 10px;
    height: 250px;
}

.controls{
    background-color: aliceblue;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.user-input{
    background-color: aliceblue;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#user_number{
    width: 60px;
    height: 80px;
    font-size: 80px;
    text-align: center;
    background-color: aliceblue;
    font-family: Arial, Helvetica, sans-serif;
}
#submit-outcome{
    display: flex;
    flex-direction: column;
}
#message-container{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.errormessage{
    color: red;
}

.label_container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.outcome_image{
    width: 50px;
    margin: auto;
    /* here is where you can style the cross or tick image */
}


/* here is where the bar graph will be displayed */
.percentage{
    font-size: 15px;
    width: 35px;
    text-align: center;
}

.bar-container {
    display: flex;
    align-items: center;
    height: 10%;
}

.number_label{
    padding: none;
    margin: none;
    font-weight: bold;
    padding: 3px;
}

.bar {
    height: 20px;
    background-color: #4CAF50;
    /* Change the color as needed */
    text-align: right;
    padding-right: 5px;
    color: white;
    border-radius: 5px;
}

/* remove arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

#prediction, #drawn_number{
    width: 60px;
    height: 80px;
    font-size: 80px;
    text-align: center;
    background-color: aliceblue;
    border: black 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.label{
    width: 80px;
    background-color: aliceblue;
    margin-top: 5px;
    padding: 5px;
    text-align: center;
    font-size: 15px;
}

#submit_button{
    height: 60px;
}

.statistics{
    background-color: aliceblue;
    width: 30%;
    margin-left: 10px;
}

.sec4{
    order: 4;
    background-color: grey;
    padding: 10px;
}

/* you now have to finish styling the control pannel part and then add the pytorch and numpy part  */

.sec5{
    order: 5;
    background-color: grey;
    padding: 10px;
    height: 30%;
}

.graph_background{
    background-color: aliceblue;
    height: 50%;
}

.sec6{
    order: 6;
    background-color: grey;
    padding: 10px;
}

h3{
    margin: 10px;
    padding: 0;
}

.accuracy_div{
    background-color: white;
    display: flex;
    flex-direction: row;
}

.acc_title{
    width: 40%;
    padding: 0 10px;
}

.sec7{
    order: 7;
    background-color: grey;
    padding: 10px;
}

.about-div{
    background-color: white;
    display: flex;
    flex-direction: column;
}

git-links{
    color: black;
}
h3{
    text-align: center;
}


.git-links:link,
.git-links:visited {
    background-color: #fdedec;
    color: black;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.git-links:hover,
.git-links:active {
    background-color: rgb(253, 189, 189);
}