@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: rgb(123, 187, 129);
    font-family: "Kanit", sans-serif;
    color: #001e36;
    line-height: 1.5;
}
header {
    font-family:  sans-serif;
    text-align: center;
    border-bottom: 4px solid #222; 
    background-color: #42ac61;
    padding: 20px;
    
}
header h1 {
    text-transform:uppercase;
    font-size: 3em;
    letter-spacing: 8px;
    text-shadow: 3px 4px 0px #0000004f;
}
.container {
    width: 95%;
    margin-inline: auto;
}
figcaption {
    font-weight: bold;
    margin-block: 10px;
    text-transform: uppercase;
    text-align: center;
    word-spacing: .1em;
}
figure {
    display: flex; 
    justify-content: space-between;
    flex-flow: row wrap;
    margin-inline: auto;
}
figure img {
    width: 20%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    box-shadow: 0 0 10px #000000;
    flex-basis: 25%;
} 
section {
    background-color: #adddbc;
    padding: 20px;
    border-radius: 20px;
    border:4px solid #222;
    margin: 20px auto;
}
p {
    margin-bottom: 20px;
    font-size: 1.1em;
}
h2 {
    text-align: center;
    border-bottom:2px solid #222;
    margin-bottom:10px;
    text-transform: capitalize;
}
section.links {
    text-align: center;
}
nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
nav a{
    margin-top: 8px;
    color: rgb(1, 0, 53);
    background-color: rgb(192, 192, 192);
    border: 2px solid #222;
    padding:2px;
    text-decoration: none;
    text-transform: capitalize;
    align-content: center;
    flex-basis: 30%;
    border-radius: 10px;
}
nav a:hover {
    border:2px dashed black;
    background-color: #00000000;
}
.container > img {
    width: 100%;
    margin-inline: auto;
    border-radius: 20px;
    box-shadow: 0 0 10px #000000;
}
footer {
    background-color: #bbbbbb;
    color: #000000;
    border-top: 1px solid black;
    bottom: 0px; left: 0px;
    width: 100%; height: 100px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}
.filament_table {
    width: 100%;
    background-color: white;
    border-collapse: collapse;
    font-size: 1em;
}
.filament_table thead th {
    background-color: #bcced4;
    text-transform: capitalize;
}
.filament_table tbody th {
    
    background-color: #dbe7eb;
}
.filament_table th, .filament_table td {
    text-align: start;
    border-bottom: 1px solid black;
    padding: 10px;
}
.printer_table {
    width: 100%;
    background-color: rgb(208, 220, 255);
    border-collapse: collapse;
    font-size: 1em;
    color: black;
    border: 3px solid rgb(0, 0, 0);
}
.printer_table th {
    text-align: start;
    background-color: rgb(184, 187, 185);
    text-transform: capitalize;
}
.printer_table td {
    width: 20;
}
.printer_table th, .printer_table td {
    border-block: 1px solid black;
    border-inline: 3px solid black;
    flex-grow: 1;
    padding: 10px;
}
@media screen and (min-width: 1020px) {
    header h1 {
        font-size: 4em;
    }
    .container {
        width: 70%;
    }
    nav a{
        flex-basis: 15%;
    }
    figure img {
        width: 16%;
        flex-basis: 16%;
    }
    table {
        font-size: 1.2em;
    }
}