/* Style for all  */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

:root {
    --bg-color: #313135;
    --text-color: #fff;
    --main-color: #29fd53;
}

body {
    min-height: 100vh;
    background: var(--bg-color);
    color: var(--text-color);
    /* background-image: url(https://media.giphy.com/media/U3qYN8S0j3bpK/giphy.gif); */
}

/* style for navigation bar  */

header {

    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 20px 1%; /* Increase the padding of main navbar */
    transition: all .50s ease;
    overflow: hidden;

    /* This style is for the fixed header */
    background-color: #333;
    box-shadow: 0px 2px white;
    position: fixed;
    margin-bottom: 200px;   
    /* background-image: url(https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExenIzZXNvY2Zyb2FsYmRnamZwYTJyb3hxbGhwZXY0anE2NTlvZGJvbCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/kmqzwhXtaGg7u/giphy.gif); */

}

.logo {
    display: flex;
    align-items: center;
    margin-top: 0px;
}

.logo i {
    color: var(--main-color);
    font-size: 28px;
    margin-right: 3px;
}

.logo span {
    color: var(--text-color);
    font-size: 1.7rem;
    font-weight: 600;
    margin: 35px;
    margin-right: 5px;
}

.navbar {
    display: flex;
    position: sticky;
    overflow: auto;
}

.navbar a {
    color: var(--text-color);
    font-size: 19px;
    font-weight: 500;
    padding: 5px 0px;
    margin: 0px 30px;
    transition: all .50s ease;
}

.navbar a:hover {
    color: var(--main-color);
}

.navbar a.active {
    color: var(--text-color);
}

.main {
    display: flex;
    align-items: center;
}

.main a {
    margin-right: 25px;
    margin-left: 10px;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500px;
    transition: all .50s ease;
}

.user {
    display: flex;
    align-items: center;
}

.user i {
    color: var(--main-color);
    font-size: 28px;
    margin-right: 7px;
}

.main a:hover {
    color: var(--main-color);
}

#menu-icon{
    font-size: 35px;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10001;
    display: none;
  }



/* Home page styles starts from here  */

.container_home {
    width: auto;
    min-height: 70vh;
    height: auto;
    margin: 30px;
    padding: 20px 12%;
    margin-top: 200px;
}

.heading-homepage {
    font-family: Poppins;
    font-size: 25px;
    text-align: center;
    margin: 10px;
}

a {
    color: white;
}


.description {
    font-size: 17px;
    text-align: justify;
    color: white;
    margin: 10px;
}

.dataset {
    font-size: 17px;
    padding: 20px;
    text-align: center;
}

video {
    width: 600px;
    height: 500px;
}

.video_tutorial {
    text-align: center;
}

video.embed.with-container {
    border: 0;
    padding: 0;
}


/* Style for query page  */


.container {
    width: auto;
    min-height: 70vh;
    height: auto;
}

.top {
    text-align: center;
    color: black;
    margin-bottom: 20px;
    

}

.heading {
    width: 900px;
    margin: auto;
    padding: 10px;
    background-color: white;
    border: 1px red solid;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.color-calc {
    color: rgb(25, 195, 25);
}

.box {
    padding: 10px;
    border: 1px solid rgb(173, 42, 42);
    border-radius: 5px;
    /* flex: 6; */
    width: 450px;
    background-color: white;
    color: black;
}


main {
    display: flex;
    justify-content: center;
    /* It will make the box center  */
}


/* Styles for login page  */

#username, #password, #firstname, #lastname, #email {
    width: 240px;
}

.container-login {
    height: auto;
    display: flex;
    justify-content: center;
}


.box-login {
    background-color: white;
    color: black;
    width: auto;
    margin: 80px 0px;
    padding: 40px;
    border-radius: 5px;
    text-align: center; 
    align-items: center;
    margin-top: 50px;
}  

.button {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
  }

  .button-group {
    direction: flex;
  }
  
  .button1 
  {background-color: #478849;
    direction: flex;
    margin-left: 60px;
    border-radius: 6px;
} 

/* Style for registration page  */

.box-register {
    background-color: white;
    color: black;
    padding: 40px;
    border-radius: 5px;
    text-align: center; 
    align-items: center;
    width: auto;
    height: auto;
}



/* Forms style starts from here  */

.form-element {
    margin-top: 10px;
    margin-bottom: 20px;
    width: auto;
}

.form-label {
    font-family: Poppins;
    font-size: 15px;
    float: left;
    margin-top: 5px;
    width: 25%;
}


.form-control {
    margin-left: 20px;
    width: 120px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #235fae;
    transition: box-shadow 0.3s;
    color: #5e6e82;
    text-align: center;
    font-size: 14px;
    font-family: Poppins;

}

.group {
    float: left;
}

.form-control:focus {
    box-shadow: 0px 0px 2px 2px #223f7a;
    outline: none;
}


.group_label_checkbox {
    margin-left: 40px;
    font-size: 20px;
    margin-bottom: 8px;
    margin-top: 0px;
}


.group_label_text {
    font-family: Poppins;
    font-size: 14px;
}

.group_label_main_heading {
    margin-bottom: 30px;
    margin-top: 30px;
}

.race_group_heading {
    margin-bottom: 60px;
    margin-top: 60px;
}

.drop_down_list {
    width: 240px;
    margin-top: 8px;
    margin-bottom: 25px;

}

.sample_collection_year {
    margin-top: 8px;
    margin-left: 60px;
    width: auto;
    margin-bottom: 45px;
}

#total_participants {
    background-color: rgb(107, 107, 95);
    width: 10px;
    /* text-decoration: underline; */
}

/* It will highlight the border in red color if value will be out of range  */
input:out-of-range {
    border: 2px solid red;
}


/* smaller devices */
/* @media only screen and (max-width: 450px) {

} */

/* medium devices */
@media only screen and (min-device-width: 451px) and (max-width: 2000px) {
    
  /*  Query style starts from here  */
  .container {
    flex-direction: column;
    display: flex; /* Ensure Flexbox is enabled */
    align-items: center; /* Center children horizontally in the container */
    justify-content: center; /* Center children vertically in the container */
}

main {
    flex-direction: column;
    display: flex;
    align-items: center;
}

.heading {
    width: 450px;
    font-size: 20px;
    margin: 0 auto; /* Center the element */
    text-align: center; /* Center the text inside the element */
}

.box {
    margin: 0 auto; /* Center the element */
}


/* 
}

Query style closes from here  */



/* Navigation bar responsive page  */

/* @media (max-width: 1280px){
    header{
        padding: 14px 2%;
        transition: .2s;
    }
    .navbar a{
        padding: 0px 0;
        margin: 0px 20px;
        font-size: 25px;
    }
} 

@media only screen and (min-device-width: 451px) and (max-width: 821px) {
    */
    
    .logo {
        margin-left: 0px;
    }

    .logo span {
        color: var(--text-color);
        font-size: 20px;
        font-weight: 400;
        margin: 5px;
    }

    .main a {
        font-size: 15px;
        margin: 0px;
        padding: 5px;
    }

    .main i {
        font-size: 13px;

    }

    .navbar {
        position: fixed;
        top: 10%;
        right: -100%;
        width: 230px;
        height: 18vh;
        background: #007bff;
        display: flex;
        flex-direction: column;
        font-size: 500px;
        justify-content: flex-start;
        border-radius: 10px;
        transition: all .50s ease;  
    }

    .navbar a {
        display: block;
        margin: 12px 0px; 
        padding: 0px 15px;
        padding: 0px 25px;
        transition: all 0.50s ease;
        font-size: 15px;
    }

    .navbar a:hover {
        color: var(--text-color);
        transform: translate(5px);
    }

    .navbar a.active {
        color: var(--text-color);
    }

    .navbar.open {
        right: 2%;
    }

    #menu-icon {
        display: block;
    }

    #myInput {
        float: left;
    }

}


@media (max-width: 450px) {

    #menu-icon {
        display: block;
    }

    .logo span {
        color: var(--text-color);
        font-size: 10px;
        font-weight: 400;
        margin: 5px;
    }

    .main a {
        font-size: 10px;
        margin: 0px;
        padding: 5px;
    }

    .main i {
        font-size: 13px;

    }

    .navbar {
        position: fixed;
        top: 10%;
        right: -100%;
        width: 150px;
        height: 20vh;
        background: #007bff;
        display: flex;
        flex-direction: column;
        font-size: 500px;
        justify-content: flex-start;
        border-radius: 10px;
        transition: all .50s ease;  
    }

    .navbar a {
        display: block;
        margin: 12px 0px;
        padding: 0px 25px;
        transition: all 0.50s ease;
        font-size: 10px;
    }

    .navbar a:hover {
        color: var(--text-color);
        transform: translate(5px);
    }

    .navbar a.active {
        color: var(--text-color);
    }

    .navbar.open {
        right: 2%;
    }

    #myInput {
        float: left;
    }

    header {
        padding: 20px 1%;
    }

    .container_home {
        padding: 20px 5%;
    }

    .container {
        /* flex-direction: column; */
        direction: flex;
    }

    /* It will show the boxes as the column /*/
    main {
        flex-direction: column;
    }

    .heading {
        width: auto;
        margin: auto;
        font-size: 10px;
    }

    .form-label {
        float: none;
        margin-bottom: 13px;
    }

    .box {
        width: auto;
    }


    .heading {
        width: auto;
        font-size: 10px;
        margin: auto;
    }

    .group_label_main_heading {
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .race_group_heading {
        margin-bottom: 5px;
        margin-top: 5px;
    }

    video {
        width: 320px;
        height: 300px;
    }

}

/* Footer style starts from here  */
footer {
    background-color: rgb(53, 50, 50);
    padding: 15px;
    color: white;
    text-align: center;
    font-size: 15px;
    text-decoration: none;
    clear: left;
}

footer a {
    text-decoration: none;
    color: white;
    font-weight: lighter;
}