/* ---------------------------------------------------
    FONTS
----------------------------------------------------- */
@font-face {
    font-family: 'LouisaCP';
    src: url('./fonts/LouisaCP.eot');
    src: url('./fonts/LouisaCP.eot?#iefix') format('embedded-opentype'),
         url('./fonts/LouisaCP.woff') format('woff'),
         url('./fonts/LouisaCP.ttf') format('truetype'),
         url('./fonts/LouisaCP.svg#LouisaCP') format('svg');
}

/* ---------------------------------------------------
    SNOW EFFECT
----------------------------------------------------- */
.winter-is-coming, .snowing {
    z-index: 100;
    pointer-events: none;
}
  
  .winter-is-coming {
    overflow: hidden;
    position: absolute;
    top: 0;
    height: 69vw;
    width: 100%;
    max-width: 100%;
  }
  
  .snowing {
    position: absolute;
    top: 0;
right: 0;
  bottom: 0;
  left: 0;
  -webkit-animation: falling linear infinite both;
          animation: falling linear infinite both;
  -webkit-transform: translate3D(0, -100%, 0);
          transform: translate3D(0, -100%, 0);
}
.snowing--near {
  -webkit-animation-duration: 20s;
          animation-duration: 20s;
  background-image: url("./images/snow-large.png");
  background-size: contain;
}
.snowing--near + .snowing--alt {
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
}
.snowing--mid {
  -webkit-animation-duration: 30s;
          animation-duration: 30s;
  background-image: url("https://dl6rt3mwcjzxg.cloudfront.net/assets/snow/snow-medium-0b8a5e0732315b68e1f54185be7a1ad9.png");
  background-size: contain;
}
.snowing--mid + .snowing--alt {
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
}
.snowing--far {
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
  background-image: url("https://dl6rt3mwcjzxg.cloudfront.net/assets/snow/snow-small-1ecd03b1fce08c24e064ff8c0a72c519.png");
  background-size: contain;
}
.snowing--far + .snowing--alt {
  -webkit-animation-delay: 20s;
          animation-delay: 20s;
}

@-webkit-keyframes falling {
  0% {
    -webkit-transform: translate3D(-7.5%, -100%, 0);
            transform: translate3D(-7.5%, -100%, 0);
  }
  100% {
    -webkit-transform: translate3D(7.5%, 100%, 0);
            transform: translate3D(7.5%, 100%, 0);
  }
}

@keyframes falling {
  0% {
    -webkit-transform: translate3D(-7.5%, -100%, 0);
            transform: translate3D(-7.5%, -100%, 0);
  }
  100% {
    -webkit-transform: translate3D(7.5%, 100%, 0);
            transform: translate3D(7.5%, 100%, 0);
  }
}

/* ---------------------------------------------------
    PARALLAX
----------------------------------------------------- */


/* ---------------------------------------------------
    GENERAL SETTINGS
----------------------------------------------------- */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;
  }

  .pointer {
      cursor: pointer;
  }

  body {
      background: #24344e;
  }

h1 {
    font-family: 'LouisaCP', 'Times New Roman', Times, serif;
    color: white;
    font-size: 4em;
    line-height: 4rem;
    overflow-y: hidden;
}

p {
    font-family: 'Times New Roman', Times, serif;
    color: white;
    font-size: 1.2rem;
}

label {
    color: white;
}

.header .background {
    width: 100%;
    height: 79vw;
    background: url("./images/01-background-2.jpg");
    background-size: contain;
}

.header .logo {
    height: 80vw;
    background-size: cover;
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
}

.header .logo .logo-wrapper {
    width: 35vw;
    padding-top: 17vw;
}

.header .information {
    text-align: center;
    height: 100%;
    position: absolute;
    top: 66vw;
    left: 0;
    right: 0;
    margin: 0;
}

.header .snow {
    position: absolute;
    width: 100vw;
    height: 36.7vw;
    left: 0;
    right: 0;
    top: 56vw;
    z-index: 200;
    overflow: hidden; 
}

.snow-wrapper, .custom-control-label, .custom-radio, .img-wrapper, .sub-information .row {
    overflow-x: visible;
}

.snow-wrapper .text, .snow-wrapper .text p, .snow-wrapper .text h1 {
    overflow-y: hidden;
}

.modal-body p {
    color: black;
}

.banderoll-wrapper {
    overflow-x: visible;
}

.header .text {
    width: 650px;
    margin: 0 auto;
    z-index: 100;
    position: relative;
    text-align: center;
    margin-top: 0;
    z-index: 400;
    margin-bottom: 3vw;
}

.sub-information {
    margin: 0 auto;
    height: 100%;
    position: relative;
    margin-top: 2vw;
    padding-bottom: 2vw;
    left: 0;
    right: 0;
    z-index:300;
    overflow-x: hidden;

    background: #23334e url(./images/02-background-2.png) no-repeat;
    background-position: center top;
    background-size: 100vw 100%;
}

.sub-information .background {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 0vw;
    height: 37vw;
}

.sub-information .row {
    width: 50%;
    margin: 0 auto;
}

.sub-information .first-row {
    padding-top: 7vw;
}

.sub-information .first-row img {
    width: 15vw;
    position: relative;
    margin-top: -6.5vw;
    left: 0vw;
}

.sub-information .second-row img {
    width: 25vw;
    position: relative;
    margin-left: -1vw;
    margin-top: 2vw;
}

.sub-information .second-row .text {
    margin-top: 6vw;
}

.banner {
    position: relative;
    left: 0;
    right: 0;
    overflow-x: hidden;
    background: url(./images/banner.png);
    background-position: center top;
    background-size: 100vw 100%;
    height: 3.5vw;
}

.conventum {
    position: relative;
    left: 0;
    right: 0;
    overflow-x: hidden;
    background-position: center top;
    background-size: 100vw 100%;
    height: 100%;
    z-index: 1000;
    background: #f7f7f7;
}

.information {
    position: relative;
    left: 0;
    right: 0;
    overflow-x: hidden;
    background: url(./images/03-background-2.jpg);
    background-position: center top;
    background-size: 100vw 100%;
    height: 100%;
    min-height: 500px;
}

.information .text {
    position: relative;
    z-index: 300;
    width: 700px;
    margin: 0 auto;
    text-align: center;
    
    top: 0;
    padding-top: 200px;
}

.body-container {
    position: relative;
}

.osa {
    height: 100%;
    min-height: 400px;
    text-align: center;
    position: relative;
    left: 0;
    right: 0;

    background: url("./images/04-background-2.jpg");
    background-position: center top;
    background-size: 100vw 100%;
}

.osa .text {
    position: relative;
    z-index: 300;
    padding-top: 150px;
    width: 700px;
    margin: 0 auto;
}

.banderoll {
    position: relative;
    left: 0;
    right: 0;
    width: 100vw;
    margin-top: -4.2vw;
    height: 11vw;
    z-index: 200;
    overflow: hidden;
}

.form-container {
    position: relative;
    margin-top: -4vw;
    left: 0;
    right: 0;
    overflow: hidden;
}

.form-container .background {
    position: absolute;
    left: 0;
    right: 0;
    width: 100vw;
    top: 0vw;
    height: 100%;
}

.form-container .container {
    padding-top: 8vw;
    position: relative;
}

.text-dark {
    color: black!important;
}

hr {
    border-color: white;
}


/* ---------------------------------------------------
    MEDIA QUERIES
----------------------------------------------------- */

@media (max-width: 1500px) {
    .header .text {
        margin-top: -2vw;
        margin-bottom: 3vw;
    }
}

@media (max-width: 1400px) {
    .sub-information .first-row img {
        width: 100%;
    }

    .sub-information .second-row img {
        width: 100%;
        margin-left: -2vw;
        margin-top: 0;
    }

    .sub-information {
        padding-bottom: 1vw;
        margin-top: 1vw;
    }
}

@media (max-width: 1300px) {
    .sub-information .row {
        width: 700px;
    }

    .sub-information {
        margin-top: 0;
    }
}

@media (max-width: 1100px) {
    .sub-information .second-row .text {
        margin-top: 3vw;
    }

    .sub-information .row {
        width: 650px;
    }

    .form-container .container {
        padding-top: 3vw;
    }

    .header .logo .logo-wrapper {
        width: 45vw;
        padding-top: 10vw;
    }

    .header .snow {
        top: 54vw;
    }
}

@media (max-width: 1000px) {
    .header .snow {
        top: 52vw;
    }
}

@media (max-width: 900px) {
    .header .logo .logo-wrapper {
        width: 50vw;
        padding-top: 7vw;
    }

    .form-container .container {
        padding-top: 0;
    }

    .sub-information .second-row .text {
        margin-top: 7vw;
    }

    .information, .osa {
        min-height: 300px;
    }

    .osa .text, .information .text {
        padding-top: 100px;
    }
}

@media (max-width: 800px) {
    .osa h1, .information h1, .sub-information h1 {
        font-size: 3rem;
        line-height: 3rem;
    }

    .osa p, .information p, .sub-information p {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }

    .sub-information {
        margin-top: 6vw;
    }

    .sub-information .row {
        width: 600px;
    }

    .sub-information .first-row .text {
        padding-top: 3vw;
    }

    .sub-information .second-row {
        padding-top: 2vw;
    }

    .sub-information {
        padding-bottom: 3vw;
    }

    .header .snow {
        top: 50vw;
    }

    .header .text {
        margin-top: 3vw;
        margin-bottom: -1vw;
    }
}

@media (max-width: 700px) {
    .header .text {
        margin-top: 6vw;
        margin-bottom: 0vw;
    }

    .sub-information .row {
        width: 100%;
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .sub-information .second-row {
        padding-top: 3vw;
    }

    .sub-information .second-row .text {
        padding-top: 4vw;
    }

    .osa .text, .information .text {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
    
    .banderoll {
        width: 114vw;
        height: 13vw;
        left: -7vw;
        margin-top: -4.9vw;
    }

    .form-container {
        margin-top: -5vw;
    }
}

@media (max-width: 650px) {
    .header .text {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .sub-information .second-row {
        padding-top: 2vw;
    }

    .sub-information .row {
        padding-left: 3vw;
        padding-right: 3vw;
    }

    .sub-information .second-row .text {
        margin-top: 4vw;
    }

    .header h1 {
        font-size: 3rem;
        line-height: 3rem;
    }

    .header p {
        font-size: 0.9rem;
        line-height: 1rem;
    }

    .header .snow {
        top: 47vw
    }

    .header .text {
        margin-top: 12vw;
    }

    .sub-information {
        margin-top: 10vw;
    }
}

@media (max-width: 576px) {
    .sub-information .row {
        padding-top: 18vw;
    }

    .sub-information {
        margin-top: 2vw;
        text-align: center;
    }

    .sub-information .first-row img {
        margin-top: 2vw;
        width: 50%;
    }

    .sub-information .second-row {
        padding-top: 0;
    }

    .sub-information .second-row img {
        margin-left: 0;
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .osa h1, .information h1, .sub-information h1, .header h1, h1 {
        font-size: 2.7rem;
    }

    .osa p, .information p, .sub-information p, .header p, p, label, .form-control, .btn {
        font-size: .95rem;
        line-height: 1.2rem;
    }
}

@media (max-width: 500px) {
    .header .logo .logo-wrapper {
        width: 69vw;
        padding-top: 2vw;
    }

    .information, .osa {
        min-height: 300px;
    }

    .information {
        background-size: 140vw 100%;
    }

    .banderoll {
        margin-top: -4.9vw;
    }

    .form-container {
        margin-top: -4.1vw;
    }

    .header .snow {
        top: 42vw;
    }
}

@media (max-width: 400px) {
    .information, .osa {
        min-height: 200px;
    }

    .osa .text {
        padding-top: 50px;
    }

    .information .text {
        padding-top: 50px;
    }

    .banderoll {
        margin-top: -5vw;
    }

    .header .snow {
        top: 40vw;
    }
}
