/* Universal Declarations */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Header */
header {
    background: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px
}

header h2 span {
    color: red;
}

header nav {
    text-align: right;

}

header nav a {
    text-decoration: none;
    color: white;
    padding: 0.5em 1em;
}

/* Main */
Main {
    background-color: red;
    text-align: center;
    height: 200px;
    color: white
}

main h1 {
    margin: 0;
    padding-top: 40px;
}

main button {
    background: black;
    color: white;
    height: 40px;
    width: 120px
}

/* Table */
section h3 {
    width: 70%;
    margin: 40px auto 10px auto;
}

table {
    /* table-layout: fixed; */
    width: 70%;
    margin: 10px auto;
    border-collapse: collapse;
    border-top: 5px solid red;

}

td,
td.head {
    padding: 0.6em;
    border-bottom: 1px solid black;
    font-weight: bold;
}

tr:nth-last-child() {
    border: none;
}

/* About */
.About{
  
    width:70%;
    margin:auto;
}
section figure{
    float: left;
    margin:0;
    img{
        height: 200px;
    }
}

section h2 {
    margin-top: 50px;
    border-bottom: 5px solid red;
    width: 100%;
    /* margin-left: auto;
    margin-right: auto; */
    text-align: left;
}

section.About p {
    width: 70%;
    /* margin-left: 300px; */
    margin: auto;
    clear: right;
    padding:100px 300px;    
}

section figcaption {
    font-style: italic;
    clear: both;
    text-align: center;
}



/* footer */
footer {
    height: 150px;
    background-color: black;
    display: grid;
    color: white;
    text-align: center;
    clear:both;
}

footer span {
    padding-top: 10px;
}