/* =============================
   TYPOGRAFIA & FONTIT
   ============================= */

@font-face {
    font-family: 'Lilja-Light';
    src: url('../fonts/Lilja-Light.woff2') format('woff2'),
         url('../fonts/Lilja-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'Lilja-Medium';
    src: url('../fonts/Lilja-Medium.woff2') format('woff2'),
         url('../fonts/Lilja-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


html {
  scroll-behavior: smooth !important;
}

body {
  font-family: "Lilja-Light", serif;
  color: black;
  font-size: 10pt;
  line-height: 1.2em;
  background-color: #f9f4e7;
}

/* =============================
   LAYOUT & KONTEINERIT
   ============================= */

.caselist,
.introduction,
.container {
  position: relative;
  width: 96%;
  margin: 2%;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Grid */
.column { 
  float: left; 
  box-sizing: border-box; 
  margin-bottom: 0.2%; 

}

.one        { width: 100%; }
.one-half   { width: 50%; }
.one-third  { width: 33.33%; }
.two-third  { width: 66.66%; }
.one-fourth { width: 25%; }
.three-fourth { width: 75%; }

 .four-three-grid {
    display: grid;
    grid-template-columns: repeat(4, 3fr);
    grid-template-rows: auto;
    grid-gap: 0.5rem;
  }

/* clearfix */
.container:after,
.row:after {
  content: "";
  display: table;
  clear: both;
  margin-bottom: 1%;
}

/* =============================
   COOKIES BANNER
   ============================= */

.cookies-eu-banner {
  text-align: center !important;
  position: fixed;
  bottom: 0;
  padding: 1%;
  width: 98%;
  z-index: 10;
  border-top: 1px solid black;
  background-color: white;
}

.hidden { display: none; }

/* =============================
   KUVAT & KARRUSELLI
   ============================= */

.carousel img {
  cursor: pointer;
  display: block;
}

img {
  width: 100%;
  display: block;
}

/* =============================
   TYPOGRAFIA
   ============================= */

p {
  font-size: 2.2em;
  margin: 0 20px 20px;
  line-height: 1.24em;
  letter-spacing: 0.01em;
}

h1, h2, h3 {
  font-weight: normal;
  margin: 0 20px;
  line-height: 1.2;
}

h1 { font-size: 5em; }
h2 { font-size: 3em; }
h3 { font-size: 2.2em; }

.caps { 
    font-family: 'Lilja-Medium'; 
    text-transform: uppercase; 
    letter-spacing: 0.02em; 
    font-size: 14px; 
 }

hr {
  border: 0;
  border-bottom: 1px solid black;
  padding-top: 40px;
}

/* =============================
   LINKIT
   ============================= */

a {
  color: black;
  text-decoration: none;
}

a:visited { color: black; }

/* =============================
   NAPIT
   ============================= */

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  margin-bottom: 0.5em;
  padding: 0.5em 1em;
  text-align: center;
  background-color: transparent;
  border-radius: 50px;
  border: 1px solid #222;
  cursor: pointer;
  box-sizing: border-box;
}

a.button:hover {
  letter-spacing: 0.5em;
  text-transform: capitalize;
  transition: all 0.5s ease;
}

/* =============================
   RESPONSIVE
   ============================= */

@media (max-width: 600px) {
  p {
    font-size: 1.5em;
    margin: 4px 10px;
    letter-spacing: 0.02em;
  }

  h1 {
    font-size: 2.2em;
    margin: 4px 10px;
    letter-spacing: 0.01em;
  }

  h2 {
    font-size: 1.5em;
    margin: 4px 10px;
    letter-spacing: 0.02em;
  }

  .caps { font-size: 12px; opacity: 1; }

  /* Grid mobile */
  .one,
  .one-half,
  .three-fourth,
  .one-third,
  .two-third { width: 100%; }

  .one-fourth { width: 50%; }


  hr { padding-top: 20px; }
}

#more { display: none; }
