/*
A Modern CSS Reset
https://andy-bell.co.uk/a-modern-css-reset/
*/

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: Minion Pro;
}

h1 {
  font-family: Minion Pro;
  font-size: 44px;
}

p {
  font-family: Minion Pro;
  font-size: 24px;
}

a {
  text-decoration: none;
  font-size: 24px;
  color: white;
  font-weight: 500;
}
.site-header {
  border-bottom: 1px solid #ccc;
  padding: 0.5em 1em;
  background-image: url("img/header.jpg");
  height: 790px;
}

.site-header::after {
  content: "";
  display: table;
  clear: both;
}

.site-identity {
  float: left;
}

.site-identity h1 {
  font-size: 1.5em;
  margin: 0.7em 0 0.3em 0;
  display: inline-block;
}

.site-identity img {
  max-width: 55px;
  float: left;
  margin: 0 10px 0 0;
}

.site-navigation {
  float: center;
}

ul {
  display: flex;
  flex-direction: row;
}

li {
  list-style-type: none;
  margin-left: 3rem;
}

li > a {
  text-decoration: none;
  color: black;
  font-size: 1.2rem;
  font-weight: 500;
}

li::after {
  content: "";
  width: 0rem;
  height: 0.15rem;
  background-color: black;
  display: block;
  border-radius: 0.2rem;
  margin: 0.2rem auto 0 auto;
  transition: all 0.3s ease-in-out;
}

li:hover::after {
  width: 2rem;
}
/* Container holding the image and the text */
.container {
  position: relative;
}

/* Bottom right text */
.text-block {
  position: absolute;
  bottom: 220px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.485);
  color: white;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-right: 1000px;
}

/* KOLUMNIT -------------------- */

.columns {
  width: 50%;
}
.column {
  width: 50%;
}
@media (min-width: 48em) {
  .column {
    width: 50%;
    float: left;
  }
  .columns {
    align-content: center;
    content: "";
    width: 100%;
    display: table;
    clear: both;
    padding: 80px 80px 80px 80px;
    background-color: lightblue;
  }
}

.grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

/* Styling */
.box {
  background: pink;
  color: #ggg;
  text-align: center;
  padding: 10px;
  border-radius: 3px;
  padding: 40px 40px 40px 40px;
}

body {
  font-family: -apple-system, sans-serif;
}

.button {
  background-color: orange; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.bg-light {
  background-color: #e7e6d6;
}

/* FOOTER */

.footer {
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: red;
  color: white;
  text-align: center;
  padding: 20px 20px 20px 20px;
}

/* The navbar */
.topnav {
  overflow: hidden;
  background-color: #333;
}

/* Navbar links */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: red;
  color: black;
}

.context-dark,
.bg-gray-dark,
.bg-primary {
  color: rgba(255, 255, 255, 0.8);
}

/* KOLUMNIT -------------------- */

.columns {
  width: 50%;
}
.column {
  width: 50%;
}
@media (min-width: 48em) {
  .column {
    width: 50%;
    float: left;
  }
  .columns {
    align-content: center;
    content: "";
    width: 100%;
    display: table;
    clear: both;
    padding: 80px 80px 80px 80px;
    background-color: lightblue;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 60px;
}
@media screen and (min-width: 900px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 60px;
}
@media screen and (min-width: 900px) {
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 1200px) {
  .grid3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Styling */
.box {
  background: pink;
  color: #ggg;
  text-align: center;
  padding: 10px;
  border-radius: 3px;
  padding: 40px 40px 40px 40px;
}

/* Margins and paddings */

.m-s {
  margin: 10px;
}
.m-m {
  margin: 20px;
}
.m-l {
  margin: 40px;
}
.m-ys {
  margin: 10px 0;
}
.m-ym {
  margin: 20px 0;
}
.m-yl {
  margin: 40px 0;
}
.m-xs {
  margin: 0 10px;
}
.m-xm {
  margin: 0 20px;
}
.m-xl {
  margin: 0 40px;
}

.p-s {
  padding: 10px;
}
.p-m {
  padding: 20px;
}
.p-l {
  padding: 40px;
}
.p-ys {
  padding: 10px 0;
}
.p-ym {
  padding: 20px 0;
}
.p-yl {
  padding: 40px 0;
}
.p-xs {
  padding: 0 10px;
}
.p-xm {
  padding: 0 20px;
}
.p-xl {
  padding: 0 40px;
}

.border {
  border: 1px solid #1b1b1b;
} /*# sourceMappingURL=style.css.map */
