/* ############################# GENERAL ############################ */
body, html{
    color: #fff;
    font-family: 'Segoe UI';
}

video#bg{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    filter: brightness(34%)
}

.divider{
    height: 1px;
    background: #fff;
    width: 90px;
    margin: 0 auto;
    margin-bottom: 3px;
}

main{
  margin-top: 180px;
  display:inline-block;
  width: 100%;
  text-align: center;
  justify-content: center;
}


/* ############################# CONTAINER FIRST ############################ */
.first strong{
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    letter-spacing: 1px;
}

.first p{
    font-family: 'Segoe UI';
    font-size: 18px;
    font-weight: 200;
    width: 300px;
    display: inline-block;
}


/* ############################# CONTAINER SECOND ############################ */
.second{
    margin-top: 75px;
}

.second h2{
    font-size: 18px;
}

.second p{
    font-size: 17px;
    font-weight: 300;
    width: 270px;
    display: inline-block;
}


/* ############################# CONTAINER THIRD ############################ */
.third{
    margin-top: 75px;
}

.third a{
    text-decoration: none;
    display: inline-block;
}
.third a h4{
    font-size: 23px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #fff;
    margin: 0 auto;
    display: inline-block;
}

.third p{
    font-size: 15px;
    font-weight: 200;
}


/* ############################# CONTAINER FOUR ############################ */
.four{
    margin: 0 auto;
    left: 0;
    right: 0;
    position: fixed;
    bottom: 20px;
    /* padding: 0 30px; */
}

.four p{
    font-size: 13px;
    font-weight: 200;
    width: 310px;
    display: inline-block;
}


/* ############################# MEDIA QUERIES ############################ */
@media(max-height:675px){
    .four{
        display: none;
    }
}

@media(max-height:800px){
  main{
    margin-top: 100px;
  }

  .four{
    bottom: 5px;
  }
}

@media(max-height:700px){
  main{
    margin-top: 80px;
  }
}

@media(max-height:600px){
  main{
    margin-top: 50px;
  }
}

@media(max-width:300px){
  main{
    display: table;
  }
}


/* ############################# ANIMATION OH DE LALLY ############################ */

.cocorico {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.cocorico:hover {
  -webkit-animation-name: cocorico;
  animation-name: cocorico;
}

@-webkit-keyframes cocorico {
    from {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
  
    10%,
    20% {
      -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
      transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }
  
    30%,
    50%,
    70%,
    90% {
      -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
      transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
  
    40%,
    60%,
    80% {
      -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
      transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
  
    to {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
  }
  
  @keyframes cocorico {
    from {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
  
    10%,
    20% {
      -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
      transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }
  
    30%,
    50%,
    70%,
    90% {
      -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
      transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
  
    40%,
    60%,
    80% {
      -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
      transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
  
    to {
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
  }