@font-face {
  font-family: 'Cardo-Regular';
  src: URL('Cardo/Cardo-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Feijoa-Medium';
  src: URL('Kinfolk-Font/Feijoa\ Medium.otf') format('opentype');
}

@media only screen and (max-width: 600px){
  .fixed {
    width: 100%;
    background: #F0F0F0;
    float: left;
  }

  .scroll {
    width: 100%;
    background: #F0F0F0;
    float: right;
  }
  
  .name{
    margin: 0 auto;
    font-size: 16vw;
    white-space: pre-line;
    font-family: 'Cardo-Regular';
    line-height: 18vw;
    color: #1d22b9;
  }

  .title{
    font-family: 'Feijoa-Medium';
    color: #1d22b9;
    font-size: 5vw;
  }

  .subtitle{
    font-family: 'Feijoa-Medium';
    color: #1d22b9;
    font-size: 4.5vw;
  }

  .text{
    font-family: 'Cardo-Regular';
    color: #1d22b9;
    font-size: 4vw;
    padding: 0 2vh 0 2vh;
  }

  .button{
    background-color: #1d22b9;
    color: white;
    padding: 2vw 6vw;
    border: none;
    border-radius: 5px;
    font-family: 'Feijoa-Medium';
    font-size: 4vw;
    margin: 4vw;
    margin-top: 2vh;
    cursor: pointer;
  }

  .icon{
    width: 3vw;
    height: 3vw;
  }
}

@media only screen and (min-width: 601px){
  .fixed {
    height: 100%;
    width: 60%;
    position: fixed;
    background: #F0F0F0;
    float: left;
  }

  .scroll {
    width: 40%;
    background: #F0F0F0;
    float: right;
  }
  .name{
    margin: 0 auto;
    font-size: 7vw;
    white-space: pre-line;
    font-family: 'Cardo-Regular';
    line-height: 9vw;
    color: #1d22b9;
  }

  .title{
    font-family: 'Feijoa-Medium';
    color: #1d22b9;
    font-size: 1.75vw;
  }

  .subtitle{
    font-family: 'Feijoa-Medium';
    color: #1d22b9;
    font-size: 1.5vw;
  }

  .text{
    font-family: 'Cardo-Regular';
    color: #1d22b9;
    font-size: 1.25vw;
    padding: 0 4vh 0 4vh;
  }

  .button{
    background-color: #1d22b9;
    color: white;
    padding: 0.5vw 3vw;
    border: none;
    border-radius: 5px;
    font-family: 'Feijoa-Medium';
    font-size: 1.25vw;
    margin: 1vw;
    margin-top: 2vh;
    cursor: pointer;
  }
  .icon{
    width: 1vw;
    height: 1vw;
  }
}

* {
    margin: 0;
    padding: 0;
  }

  html{
    scroll-snap-type: y mandatory;
  }

  body {
    text-align: center;
  }
  
  div {
    box-sizing: border-box;
    text-align: center;
    flex: none;
  }

  a, a:link, a:visited, a:active{
    color:#1d22b9;
  }

  .wrapper {
    height: 100%;
  }

  .main-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .first-box{
    padding: 20% 20%;
    height: 100vh;
    background-image: url("muster.png");
    background-size: 100% 100%;
  }

  .snap{
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .divider{
    width: 100%;
    object-fit: cover;
  }

  .logo{
    width: 12.5%;
    margin-bottom: 2vh;
    margin-top: 2vh;
  }

  .dress-code{
    height: 70%;
    object-fit: cover;
  }