*{
    margin: 0px;
    padding: 0px;
}

main p{
    font-size: 50px;
    color: red;
    font-family: 'Courier New', Courier, monospace;
}

p#second{
    color: greenyellow;
}

p.blue{
    color: rgb(0, 0, 255)
}
header{
    background-color: aquamarine;
}
p.green{
    color: green;
}
main{
    background-color: lightblue;
    min-height: calc(100vh - 140px);
    padding: 10px 20px 50px 20px;

}
footer{
    background-color: brown;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
}

header div{
    display: flex;
    align-items: center;
}

nav{
    flex: 1;
    display: flex;
    justify-content: space-around;
    overflow: hidden;
    height: 25px;
}

nav a{
    text-decoration: none;
    color: tomato;
    text-shadow: 0px 25px 1px black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-transform: uppercase;
    transition: 0.5s;
    height: 50px;
}

nav a:hover{
    transform: translateY(-25px);
}

main img{
    width: 50%;
}

div.cont{
    display: flex;
    gap: 20px;
}

a.active{
    color: green;
}

table{
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}
th, td{
    border: 3px solid red
}
td{
    text-align: center;
}
td:hover{
    background-color: lightgreen;
}
td.gray_out{
    opacity: 0.3;
}


button#print{
    float: right;
    padding: 15px;
    border: none;
    background-color: blue;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.5s;
}

button#print:hover{
background-color: tomato;
}

@media print{
    header, footer, button#print{
        display: none;
    }
    main img{
        width: 15%;
    }
    main p{
        font-size: 18px;
    }
}