/* Universal selector */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Element selectors */
body {
    font-family: Open Sans, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

.open-sans-<uniquifier> {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.qwitcher-grypen-regular {
  font-family: "Qwitcher Grypen", cursive;
  font-weight: 400;
  font-style: normal;
}

.qwitcher-grypen-bold {
  font-family: "Qwitcher Grypen", cursive;
  font-weight: 700;
  font-style: normal;
}


/* Header styling */
header {
    background: #2e5a88;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

header h1 {
    font-size: 2.5em;
}

header h2 {
	font-size: 1.85em;
}

header h3 {
	font-size: 1.25em;
}

header a {
    color: white;
    text-decoration: none;
}

header img {
  border-radius: 20%;
}

/* Navigation menu */
nav {
    margin: 0 0;
    text-align: center;
	position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 5;
}

nav ul {
	list-style-type: none;
    padding: 0;
    overflow: hidden;
	background-color: #333;
	text-align: center;
	margin-inline-start: 0;
	border-radius: 8px;
}

nav ul li {
    display: inline;
}

nav ul li a {
	display: inline-block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}

nav ul li a:hover{
	background-color: white;
}

nav ul .active {
	background-color: #2e5a88;
}

/* Main styling*/
main {
	font-size: 1em;
}

/* Section styling */
main section {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

main section img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 80vw;
	min-width: 120px;
}

/* Article styling */

article {
	font-size: 1em;
}

/* List styling */
main section article ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 20px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table, th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

th {
    background: #2e5a88;
    color: white;
}

/* Skills styling */
.col-container {
  display: flex;
  justify-content: space-evenly;
}
.col {
  display: table-cell;
  padding: 16px;
  vertical-align: middle;
}
@media (max-width: 800px) {
  .col-container {
    flex-direction: column;
  }
}
@media only screen and (max-width: 800px) {
  .col {
    display: block;
    width: 100%;
  }
}
/* Footer styling */
footer {
    text-align: center;
    padding: 10px;
    background: #2e5a88;
    color: white;
    margin-top: 20px;
    border-radius: 8px;
}

footer a {
	color: white;
}

/* Button styling */
button {
    background: #2e5a88;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #000000;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
    font-weight: bold;
}

form input, form textarea, form select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="radio"] {
    margin-right: 5px;
}

/* Pseudo-class selector */
a:hover {
    color: #000000;
}

/* ID Selector */
#current-date {
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

/* Class selector */
.highlight {
    background-color: yellow;
    padding: 5px;
    border-radius: 3px;
}

/* Descendant selector */
section p {
    font-size: 1.1em;
}
