@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* background image*/
.container {
    background-image: url(https://images3.alphacoders.com/135/thumb-1920-1350572.jpeg);
    background-size: cover;
    background-attachment: fixed;
}

/*body*/
body {
    font-family: Montserrat;
    margin: 0;
    box-sizing: border-box;
}

/*logo*/
#logo {
    flex: 15%;
}

/*header*/
.header {
    display: flex;
    text-align: center;
    width: 100%;
}


/*nav*/
#menu {
    flex: 65%;
    line-height: 100px;

    .dropdown {
        float: right;
        position: relative;
    }

    .dropdown-content {
        position: absolute;
        text-align: center;
        overflow: hidden;
        display: none;
        min-width: 160px;
        height: 450px;
        z-index: 1;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

        a {
            display: block;
            text-align: left;
            padding: 12px 16px;

        }

    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/*login*/
#sub {
    flex: 20%;
    line-height: 100px;

}

/*define main height*/
.main {
    height: 600px;
}

/*footer transparency*/
.footer {
    opacity: 0.6;
}


/*style link*/
a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 18px;
    opacity: 0.6;
    height: 30px;
    border-radius: 15px;
    border: 1px solid #000;
    padding: 15px;
}


a:hover {
    color: rgb(255, 255, 255);
    opacity: 1;
    border-color: rgb(109, 212, 253);

}

/*logo*/
img {
    width: 150px;
    margin-top: 25px;

}

/*exercise*/
#menu a {
    border: none;
    color: #dee6fd;
}

/*menu effect*/


.active {
    font-size: 20px;
    font-weight: bold;
    opacity: 1;
}

/*footer*/
.endcontainer {
    position: relative;
    display: flex;
}

/* div inside*/
.box {
    background-color: white;
}

#box1 {
    text-align: left;
    padding: 30px;
    height: 100px;
    width: 50%;
}

#box2 {
    padding: 30px;
    width: 50%;
}

#box3 {
    display: flex;
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
}

#box3>div {
    padding-top: 10px;
    text-align: center;
}


.icon {
    flex: 60%;
}

.start {
    display: flex;
    justify-content: space-evenly;
    flex: 20%;

}

.copyright {
    flex: 20%;
}

/*exercise style*/
th,
td,
table {

    border: 1px solid lightgreen;
    border-collapse: collapse;
    text-align: center;
    margin: 0 auto;

}

th {
    font-size: 16px;
    background-color: black;
    color: white;
    padding: 10px;
}

td {
    padding-left: 5px;
    padding-right: 5px;
}

tr:hover {
    background-color: aquamarine;
}

caption {
    font-style: italic;
}

.login {
    margin-left: 10px;
    color: white;
    border: 1px solid #93cdf1;
    width: 200px;
    border-radius: 10px;
    padding: 50px;
}

input {
    border-radius: 10px;
    padding: 5px;

}

select {
    border-radius: 5px;
}

.register {
    color: white;
    margin-left: 10px;
    width: 300px;
    border: 1px solid #63beef;
    padding: 30px;
    border-radius: 10px;
}

textarea {
    width: 90%;
}