/* 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: #003b6d;
    color: bdbdbd; */
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

header h1 {
	color: #bdbdbd;
    font-size: 2.5em;
}

header h2 {
	color: #bdbdbd;
	font-size: 1.85em;
}

header h3 {
	color: #bdbdbd;
	font-size: 1.25em;
}

header a {
    color: #bdbdbd;
    text-decoration: none;
}


/* Navigation menu */ 
nav {
    margin: 0 0;
    text-align: right;
	position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
}

nav ul {
	list-style-type: none;
    padding: 0;
    overflow: hidden;
	background-color: #333;
	text-align: right;
	margin-inline-start: 0;
	border-radius: 8px;
}

nav ul li {
    display: inline;
}

nav ul li a {
	display: inline-block;
	color: white;
	text-align: right;
	padding: 14px 16px;
	text-decoration: none;
}

nav ul li a:hover{
	background-color: white;
}

nav ul .active {
	background-color: #003b6d;
}

/*Slideshow styling*/
* {box-sizing:border-box}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* 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 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;
}

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: #003b6d;
    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: 3px;
	margin-left: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* 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;
}
