html {
    overflow: scroll;
    overflow-x: hidden;
}

/* Style the body */
body, html {
    font-family: 'Century Gothic';
    color: purple;
    margin: 0;
    height: 100%;
    background-color: #fdf5e8;
}

#intro {
    text-align:center;
    position:relative;
    left:25%;
    width:50%;
}

#login_bg {
    padding: 0px;
    margin: 0px;
    background-image: url("images/bg.png");
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
#login {
    position: relative;
    left: 45%;
    bottom: 330px;
}

#idealink {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Style the image to the IDEA website */
.idea {
    position:relative;
    width: 100%;
    height: 100%;
    border: 0px;
    background-image: url("images/idea.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#reg_form {
    position: relative;
    left: 0%;
    top: 0%;
}





::-webkit-scrollbar {
    width: 0px; /* Remove scrollbar space */
    background: transparent; /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #8B008B;
    border-radius: 25px;
}

/* Responsive layout - when the screen is less than 1600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1600px) {
    #login_bg {
        background-size: cover;
        height: 850px;
        width: 100%;
    }
    #login {
        position: relative;
        left: 44%;
        bottom: 340px;
    }

}

/* Responsive layout - when the screen is less than 1500px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1500px) {
    #login_bg {
        background-size: cover;
        height: 800px;
        width: 100%;
    }
    #login {
        position: relative;
        left: 44%;
        bottom: 330px;
    }

}


    /* Responsive layout - when the screen is less than 1400px wide, make the two columns stack on top of each other instead of next to each other */
    @media screen and (max-width: 1400px) {
        #login_bg {
            background-size: cover;
            height: 700px;
            width: 100%;
        }
        #login {
            position: relative;
            left: 44%;
            bottom: 310px;
        }
    }


        /* Responsive layout - when the screen is less than 1300px wide, make the two columns stack on top of each other instead of next to each other */
        @media screen and (max-width: 1300px) {
            #login_bg {
                background-size: cover;
                height: 650px;
                width: 100%;
            }
            #login {
                position: relative;
                left: 44%;
                bottom: 300px;
            }
        }

            /* Responsive layout - when the screen is less than 1200px wide, make the two columns stack on top of each other instead of next to each other */
            @media screen and (max-width: 1200px) {
                #login_bg {
                    background-size: cover;
                    height: 600px;
                    width: 100%;
                }
                #login {
                    position: relative;
                    left: 43%;
                    bottom: 280px;
                }
            }


                /* Responsive layout - when the screen is less than 1100px wide, make the two columns stack on top of each other instead of next to each other */
                @media screen and (max-width: 1100px) {
                    #login_bg {
                        background-size: cover;
                        height: 550px;
                        width: 100%;
                    }
                    #login {
                        position: relative;
                        left: 43%;
                        bottom: 250px;
                    }
                }

                    /* Responsive layout - when the screen is less than 1000px wide, make the two columns stack on top of each other instead of next to each other */
                    @media screen and (max-width: 1000px) {
                        #login_bg {
                            background-size: cover;
                            height: 480px;
                            width: 100%;
                        }
                        #login {
                            position: relative;
                            left: 43%;
                            bottom: 230px;
                        }
                    }

                        /* Responsive layout - when the screen is less than 900px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 900px) {
                            #login_bg {
                                background-size: cover;
                                height: 420px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 42%;
                                bottom: 210px;
                            }
                        }


                        /* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 800px) {
                            #login_bg {
                                background-size: cover;
                                height: 390px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 42%;
                                bottom: 190px;
                            }
                        }

                        /* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 700px) {
                            #login_bg {
                                background-size: cover;
                                height: 330px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 42%;
                                bottom: 170px;
                            }
                        }

                        /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 600px) {
                            #login_bg {
                                background-size: cover;
                                height: 300px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 41%;
                                bottom: 150px;
                            }
                        }


                        /* Responsive layout - when the screen is less than 500px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 500px) {
                            #login_bg {
                                background-size: cover;
                                height: 300px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 41%;
                                bottom: 130px;
                            }
                        }

                        /* Responsive layout - when the screen is less than 400px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 400px) {
                            #login_bg {
                                background-size: cover;
                                height: 290px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 41%;
                                bottom: 110px;
                            }
                        }

                        /* Responsive layout - when the screen is less than 300px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 300px) {
                            #login_bg {
                                background-size: cover;
                                height: 280px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 40%;
                                bottom: 90px;
                            }
                        }


                        /* Responsive layout - when the screen is less than 250px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 250px) {
                            #login_bg {
                                background-size: cover;
                                height: 275px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 40%;
                                bottom: 70px;
                            }
                        }

                        /* Responsive layout - when the screen is less than 200px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 200px) {
                            #login_bg {
                                background-size: cover;
                                height: 270px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 40%;
                                bottom: 50px;
                            }
                        }

                        /* Responsive layout - when the screen is less than 100px wide, make the two columns stack on top of each other instead of next to each other */
                        @media screen and (max-width: 100px) {
                            #login_bg {
                                background-size: cover;
                                height: 260px;
                                width: 100%;
                            }
                            #login {
                                position: relative;
                                left: 40%;
                                bottom: 30px;
                            }
                        }




/* Full-width input fields */
input[type=text], input[type=password], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #00d5ff;
    box-sizing: border-box;
}


/* Set a style for all buttons */
button {
    background-color: #8B008B;
    font-size:16px;
    color: white;
    padding: 14px 30px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 25px;
}

    button:hover {
        opacity: 0.8;
    }

button:focus {
    outline: none;
}

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}



/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 18px 0 10px 0;
    position: relative;
}

img.donet_logo {
    width: 10%;
    border-radius: 20%;
}

.container {
    padding: 50px;
    margin-bottom:10px;
}


/* Modal Background */
.modal {
    display: none; 
    position: absolute;
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px;
}

/* Modal Box */
.modal-content {
    background-color: #fdf5e8;
    margin: 5% auto 15% auto;
    border: 16px solid #00d5ff;
    border-radius:10px;
    width: 80%;
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: red;
        cursor: pointer;
    }

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.7s;
    animation: animatezoom 0.7s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.reg {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}



/* Change styles for Samsung Galaxy A5 (2017) model */
@media screen and (max-width: 720px)  {
    #login {
    position: relative;
    left: 36%;
    bottom: 160px;
}
    
}

/* Change styles for Samsung Galaxy s8+ */
@media screen and (min-width: 2960px) and (max-width: 2960px) and (orientation:portrait) {
    #login {
    position: relative;
    left: 37%;
    bottom: 160px;
}

img.donet_logo {
    width: 25%;
    border-radius: 20%;
}
    
}



                       