@import url('https://fonts.googleapis.com/css2?family=Jaro:opsz@6..72&family=Lobster&family=Poetsen+One&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: Poppins, Sans-serif;
}
body{
    min-height: 100vh;
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center;
}
.header{
    position: fixed;
    top: 0;
    left:0;
    width: 100%;
    padding: 20px;
    background: gray;
    display: flex;
    justify-content: space-between;
    /* you are adding space between each navigation button*/
    
    align-items: center;
    z-index: 100;
    
/* Z-index specifies the stack order of elements (which element should be placed in front 
    of, or behind, the others) */
    
}
.logo{
    font-size: 32px;
    color: black;
    text-decoration: none;
    font-weight: 700;
}
.navbar a{
    Position: relative;
    font-size: 18px;
    color: lightgreen;
    font-weight: 500;
    text-decoration: none;
    margin-left: 18px;
}
.navbar a::before{
    content:'';
    /* add space before to create a hovering underline element*/
    position: absolute;
    top:100%;
    left:0;
    width: 0;
    height: 2px;
    background: black;
    transition: .5s ease-in;
}
.navbar a:hover::before{
    width: 100%;
    
}

.active {
    background: #0047AB;
    border-radius: 50%; 
    
}





#title{
    text-align: center;
    top: 120px; 
    position: absolute;
    border: 6px solid #000080; 
    padding: 8px; 
    font-family:Lobster, cursive;
    color: #000080;
}

*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}
body{
    height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(to top, green, lightgreen);
    background-repeat:no-repeat;
}
table{
    width: 900px; 
    box-shadow: -1px 12px 12px -6px rgba(0,0,0,0.5);
    margin-top:0px;
    position:absolute;
}
table, td, th{
    padding: 10px; 
    border: 1px solid grey;
    border-collapse: collapse;
    text-align: center;
    cursor: pointer;
}
td{
    font-size: 15px; 
}
th{
    background-color: #4169e1;
    color: white;
}
tr:nth-child(odd){
    background-color: #00BFFF;
}
tr:nth-child(odd):hover{
    background-color: #87CEEB;
    color: white;
    transform: scale(1.5);
    transition: transform 500ms ease-in;
}
tr:nth-child(even){
    background-color: #26f7fd;
}
tr:nth-child(even):hover{
    background-color: #007FFF;
    color: white;
    transform: scale(1.5);
    transition: transform 500ms ease-in;
}

#box1{
    border:8px solid #c639b8;
    margin-left: 100px;
    margin-right: 900px;
    text-align:center;
    margin-top:570px;
    position:absolute;
   width:30%;
   padding:10px;
}
#Origin{
    margin-right:790px;
    color:#c639b8;
    margin-top:380px;
    position:absolute;
}
#Modern{
    margin-left:790px;
    color:#39c647;
    margin-top:420px;
    position:absolute;
}
#box2{
    border:8px solid #39c647;
    margin-left: 900px;
    margin-right: 100px;
    text-align:center;
    margin-top:580px;
    position:absolute;
    padding:10px;
}