* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    color: black;
    font-size: 15px; 
    font-weight: 500;
    display: flex;
    font-family: Cambria, Georgia, serif;
    line-height: 12pt;
    background-color: whitesmoke;
}

img { display: block;
     margin: auto;
     align-items: center;
}

body {
    width: 100%;
}


main {
    padding: 0 1.7em;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 18px;
}

a {
    color: rgb(0, 95, 0);
    font-weight: bold;
}

p {
    padding: 3%;
    margin: auto;
}

 li{
    margin-left: 5%;
    text-indent: 0cm;
    padding: 3pt;
}

hr {
    width: auto;
    height: auto;
    margin: 0.5cm;
    border: 2px solid #e7870be9;
    border-radius: 135%;
    
}



.fa-icons {
    width: 18px;
}

footer {
    padding: 1em 2em;
    margin: 1cm 0;
}

h1 {
    font-size: 20px;
    margin: 0.5em 0;
}

h2 {
    font-size: 17px;
    margin: 0.5em 0;
}

h3 {
    font-size: 17px;
    margin: 0.5em 0;
}

h4 {
    font-size: 17px;
    margin: 0.5em 0;
}

.red-box {
    padding: 0.7em;
    margin-bottom: 0.5cm;
    text-align: center;
    border: solid 2px#CD0007;
}

section {
    margin-top: 1em;
}

button {
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    background: #FBCA1F;
    font-family: inherit;
    padding: 0.3em 0.7em;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid black;
    border-radius: 0.1em;
    box-shadow: 0.1em 0.1em;
    line-height: 12px;
    text-align: center;
    align-content: center;
}

button:hover {
    transform: translate(-0.05em, -0.05em);
    box-shadow: 0.23em 0.23em;
}

button:active {
    transform: translate(0.05em, 0.05em);
    box-shadow: 0.3em 0.3em;
}

u {
    color: firebrick;
}


em {
    color: red;
}



.header {
    background-color: black;
    box-shadow: 1px 1px 5px 0px gray;
    position: sticky;
    top: 0;
    width: 100%;
}

.logo {
    line-height: 2;
    text-decoration: solid;
    color: white;
    font-size: 20px;
    text-align: left;
    padding: 0.4cm;
    
}


.menu {
    list-style: none;
}

.nav-links {
    text-decoration: none;
}

.nav {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgb(0, 0, 0);
    overflow: hidden;

}

.menu a {
    display: block;
    padding: 12px;
    color: white;
}

.menu a:hover {
    background-color: #FBCA1F;
    color: black;
}

.nav {
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */
.hamb {
    cursor: pointer;
    float: right;
    padding: 20px 12px;
}

/* Style label tag */

.hamb-line {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

}

/* Style span tag */

.hamb-line::before,
.hamb-line::after {
    background: white;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before {
    top: 5px;
}

.hamb-line::after {
    top: -5px;
}

.side-menu {
    display: none;
}

/* Hide checkbox */

.side-menu:checked~nav {
    max-height: 100%;
}

.side-menu:checked~.hamb .hamb-line {
    background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
    transform: rotate(-45deg);
    top: 0;
}

.side-menu:checked~.hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
}

/* Responsiveness */
@media (min-width: 768px) {
    .nav {
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;
    }

    .menu li {
        float: left;
    }

    .menu a:hover {
        background-color: transparent;
        color: #FBCA1F;

    }

    .hamb {
        display: none;
    }
}
