/*OWN STYLES*/

/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Raleway:wght@400;700&display=swap');

.header {
    background-image: url("images/karhunparrat-bg-desktop.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
    height: 100%;
    width: auto;
}


.logo {
  margin: auto;
  margin-top:35vh;
  padding: 0 2rem;
}

.logo img{
  width: 300px;
  height: auto;
}



@media only screen and (max-width: 1281px) {

    .logo {
        margin-top: 30vh;
    }

        .logo img {
            width: 200px;
            height: auto;
        }
}

@media only screen and (max-width: 60em) {

    .header {
        background-image: url("images/karhunparrat-bg-mobile.jpg");
        background-attachment: local;
    }

    .logo img {
        width: 170px;
        height: auto;
    }
}

@media only screen and (max-width: 380px) {

    .logo {
        margin-top: 27vh;
    }
}

@media only screen and (max-width: 325px) {

    .logo {
        margin-top: 20vh;
    }
    .logo img {
        width: 130px;
        height: auto;
    }
}

.navbar a {
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 50px;
    display: -webkit-inline-box;
    text-decoration: none;
}

@media only screen and (max-width: 45em) {
  .navbar a {
      font-size: 14px;
      padding: 14px 14px;
  }
}

.navbar ul {
    margin: 0;
    padding: 1.5rem 0 0 0;
    font-size: 0;
}

.navbar li {
    background-color: saddlebrown;
    border-radius: 50px;
    margin: 8px;
    display: -webkit-inline-box;
}

.navbar li:hover {
    background-color: #4F4905;
}

.info {
    height: 100%;
}

.info-img {
    background-image: url("images/karhunparrat-img1-new-desktop.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.info-txt {
    background-color: #4F2605;
    display: -webkit-flex;
    display: flex;
    align-items: center;

}

.kumppanit {
    height: 100%;
}

.kumppanit-img {
    background-image: url("images/karhunparrat-img2-desktop.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.kumppanit-txt {
    background-color: #05374F;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.contact-row {
    height: 100%;
}

.contact-img {
    background-image: url("images/karhunparrat-img3-new-desktop.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

@media only screen and (max-width: 60em) {

  .info-img {
      background-image: url("images/karhunparrat-img1-new-mobile.jpg");
  }

  .kumppanit-img {
      background-image: url("images/karhunparrat-img2-mobile.jpg");
  }

  .contact-img {
      background-image: url("images/karhunparrat-img3-new-mobile.jpg");
  }
}

.contact-txt {
    background-color: #4F4905;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    max-height: 800px;
}

@media only screen and (max-width: 60em) {
  .contact-txt {
      padding:30px 0px;
  }
}

div#result {
    font-size: 30px;
    text-align: center;
}

.footer {
    background-color: #000000;
}

.footer img  {
    width: 17rem;
}

.footer-box {
  padding: 2rem;
}

.textbox {
  padding: 50px;
}

@media only screen and (max-width: 60em) {
  .textbox {
    padding: 35px;
  }

  .footer img  {
      width: 10rem;
      padding-top: 2rem;
  }

  .footer-box {
    padding: 0px 35px;
    text-align: center;
  }
}

.some {
  padding: 1rem 1.5rem 0rem 0rem;
}

.some img {
  width: 2.6rem;
}

/*Contact form start*/

.contact {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transition: .5s;
    background-color: #fff;
}

.contact section {
    text-align: right;
    padding: 10px;
}

.contact section a {
    border: none;
    text-decoration: none;
    outline: none;
    color: #e05e02;
}

.contact:target {
    visibility: visible;
    opacity: 1;
}

.contact-form {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    color: #000;
    margin: auto;
}

.contact-form-input, .contact-form button {
    font-family: inherit;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    padding: 24px;
    letter-spacing: 1px;
    border: none;
    width: 100%;
    outline: none;
    color: #000;
}

.contact-form button {
    background-color: #322F08;
    padding: 20px;
    color: #fff;
}

    .contact-form button:hover {
        background-color: #4F4905;
    }

.contact-form div:nth-child(1), .contact-form div:nth-child(2) {
    position: relative;
}

.contact-form div:nth-child(1)::after, .contact-form div:nth-child(2)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.15);
}

.contact-form textarea {
    text-transform: uppercase;
    overflow: auto;
    height: 100px;
}

@media only screen and (max-width: 60em) {
    .contact-form-input {
        font-size: 16px;
    }
    .contact-form textarea {
        font-size: 16px;
    }
}


/*Contact form end*/

/* SIMPLE GRID STARTS HERE */

/**
*** SIMPLE GRID
*** (C) ZACH COLE 2016
**/


html, body {
    background-color: black;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    font-size: 100%;
    scroll-behavior: smooth;
}

/* ROOT FONT STYLES */

* {
    font-family: 'Raleway', sans-serif;
    color: #fff;
}

/* TYPOGRAPHY */

h1 {
    font-size: 3.5rem;
    margin-bottom: 0rem;
}

h2 {
    font-size: 2rem;
    margin-top: 0rem;
}

h3 {
    font-size: 1.375rem;
}

h4 {
    font-size: 1.125rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.875rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

h3 a{
    font-family: 'DM Serif Display', serif;
    text-decoration:none;
    color:#70ADCC;
    font-size:1.8rem;
}

h3 a:hover {
    color: #fff;
}

.subheading {
    font-size: 3.4rem;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 60em) {

    .subheading {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 60em) {
      h1 {
          font-size: 2.6rem;
      }

      h2 {
          font-size: 1.8rem;
      }
}

p {
    font-size: 1.125rem;
    font-weight: 200;
    line-height: 1.8;
    margin: 0;
    padding-bottom: 1rem;
}

.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-heavy {
    font-weight: 700;
}

/* POSITIONING */

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.justify {
    text-align: justify;
}

/* ==== GRID SYSTEM ==== */

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.row {
    position: relative;
    width: 100%;
}

.row [class^="col"] {
    float: left;
    min-height: 50rem;
    flex-wrap: wrap;
}

.row-footer [class^="col"] {
    min-height: 5rem;
}

@media only screen and (max-width: 60em) {
  .row [class^="col"] {
      min-height: 15rem;
  }

  .row-footer [class^="col"] {
      min-height: 1rem;
  }

}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    width: 100%;
}

.col-1-sm {
    width: 4.33%;
}

.col-2-sm {
    width: 12.66%;
}

.col-3-sm {
    width: 21%;
}

.col-4-sm {
    width: 25%;
}

.col-5-sm {
    width: 37.66%;
}

.col-6-sm {
    width: 100%;
}

.col-7-sm {
    width: 54.33%;
}

.col-8-sm {
    width: 62.66%;
}

.col-9-sm {
    width: 71%;
}

.col-10-sm {
    width: 79.33%;
}

.col-11-sm {
    width: 87.66%;
}

.col-12-sm {
    width: 100%;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

.hidden-sm {
    display: none;
}

@media only screen and (min-width: 33.75em) {
    /* 540px */
    .container {
        width: 100%;
    }
}

@media only screen and (min-width: 45em) {
    /* 720px */
    .col-1 {
        width: 4.33%;
    }
    .col-2 {
        width: 12.66%;
    }
    .col-3 {
        width: 21%;
    }
    .col-4 {
        width: 25%;
    }
    .col-5 {
        width: 37.66%;
    }
    .col-6 {
        width: 50%;
    }
    .col-7 {
        width: 54.33%;
    }
    .col-8 {
        width: 62.66%;
    }
    .col-9 {
        width: 71%;
    }
    .col-10 {
        width: 79.33%;
    }
    .col-11 {
        width: 87.66%;
    }
    .col-12 {
        width: 100%;
    }
    .hidden-sm {
        display: block;
    }
}

@media only screen and (max-width: 60em) {
    /* 540px */
    .col-6 {
        width: 100%;
    }
}

@media only screen and (min-width: 60em) {
    /* 960px */
    .container {
        width: 100%;
    }
}
