body {
    background: #F8F9FB;
}

h1, h2, h3 {
  font-family: 'Sigmar One', cursive;
  color: #F6A186;
}

h5 {
  font-weight: 600;
  display: inline;
}

p.error {
    color: #D64541;
}

p.success {
    color: #85D8C8;
}

.background{
    overflow: hidden;
    z-index: -5;
}

/* ------- Navigation -----*/

.navigation {
    padding-top: 25px;
    padding-bottom: 25px;
}

a {
    margin-right: 10px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

/* ------- Llamas -------*/

.llafonda {
    display: none;
    position: absolute;
    right: 33%;
    bottom: 25%;
    z-index: -1;
}

.lleonard {
    bottom: 0px;
    right: -100px;
    position: fixed;
}

@media (min-width: 550px) {
    .lleonard {
        bottom: 0px;
        right: 50px;
    }

    .llafonda {
        display: block;
    }
}

.avatar {
    width: 120px;
}

.center {
    margin: auto;
    text-align: center;
}


/* ------- Messages -------*/

.messages {
    width: 250px;
    overflow: hidden;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.msg-llama {
    width: 200px;
    margin-top: 5px;
}

.msg-friend {
    width: 120px;
    margin-top: 5px;
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 100; }
}

.messages > img {
    opacity: 0;
    animation: fade-in 1s ease-in-out;
    animation-fill-mode: forwards;
}

.messages > img.msg-one {
    animation-delay: 1s;
}

.messages > img.msg-two {
    animation-delay: 3s;
}

.messages > img.msg-three {
    animation-delay: 5s;
}

.messages > img.msg-four {
    animation-delay: 7s;
}

.messages > img.msg-five {
    animation-delay: 9s;
}

@media (min-width: 550px) {
    .messages {
        margin-bottom: 0;
    }
}


/* ------- Form -------*/

.card {
    margin: 2rem 0;
    background-color: white;
    text-align: left;
    box-shadow: 0px 1px 9px rgba(29,33,42,0.35);
    border-radius: 3px;
    padding: 2rem;
}

/* ------- Credit cards -------*/

#card-wrapper {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
}

#card-wrapper.focus {
  border: 1px solid #85D8C8;
  outline: 0;
}

#card-number {
    border: none;
    padding: none;
    height: 25px;
    margin: 0;
}

.card-type {
    display: inline;
    text-align: left;
    width: 38px;
    height: 25px;
    background-color: #c8c8c8;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    float: left;
}

.card-type::before, .card-type::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
}



.card-type.visa {
    background-color: #fff;
    border-top: solid #1E3F8E 8.2px;
}

.card-type.visa::before {
    background-color: #1E3F8E;
    border: solid #fff 2.5px;
    border-width: 3.165px 6.33px;
    width: 38px;
    height: 8.8px;
    top: 0;
}

.card-type.visa::after {
    width: 100%;
    height: 8.2px;
    background-color: #DF9600;
    bottom: 0;
}

.card-type.mastercard {
    background-color: #1D468F;
}

.card-type.mastercard::before, .card-type.mastercard::after {
    width: 14px;
    height: 14px;
    border-radius: 8.8px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.card-type.mastercard::before {
    background-color: #DB2142;
    left: 7.6px;
}

.card-type.mastercard::after {
    background-color: #FEC627;
    right: 7.6px;
}

.card-type.amex {
    background-color: #CAE2C3;
    border: solid 2px #6F8668;
    border-bottom: none;
}

.card-type.amex::before {
    width: 10px;
    height: 15px;
    border-radius: 5px/7.6px;
    background-color: #6F8668;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.card-type.discover {
    background-color: #FF8A00;
}

.card-type.discover::before {
    width: 64px;
    height: 58px;
    border-radius: 32px/26px;
    background-color: #fff;
    top: -32px;
    left: -22px;
}

.card-type.discover::after {
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background-color: #c8c8c8;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

/* ------- Mountains -------*/

.mountain, .mountain-two, .mountain-three {
    position: fixed;
    bottom: 0;
    border-left: 350px solid transparent;
    border-right: 350px solid transparent;
    border-bottom: 380px solid #A59897;
    z-index: -1;
}

.mountain {
    right: 20px;
}

.mountain-two { 
    right: 120px;
    bottom: -20px;
    opacity: .3;
    z-index: -2;
}

.mountain-three {
    right: -80px;
    bottom:-10px;
    opacity: .5;
    z-index: -2;
}

.mountain-top {
    position: absolute;
    right: -111px;
    border-left: 111px solid transparent;
    border-right: 111px solid transparent;
    border-bottom: 120px solid #FAF6E3;
    z-index: 2;
}

.mountain-cap-1, .mountain-cap-2, .mountain-cap-3, .mountain-cap-4, .mountain-cap-5 {
    position: absolute;
    top: 120px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #FAF6E3;
}

.mountain-cap-1 { left: -110px; }

.mountain-cap-2 { left: -70px; }

.mountain-cap-3 { left: -30px; }

.mountain-cap-4 { left: 10px; }

.mountain-cap-5 { left: 50px; }

.cloud, .cloud:before, .cloud:after {
    position: absolute;
    width: 70px;
	height: 60px;
	background: #fff;
	-webkit-border-radius: 100px / 100px;
	border-radius: 100px / 100px;
}

.cloud { 
    bottom: 250px;
    z-index: -2;
    -webkit-animation: cloud 50s infinite linear;
    animation: cloud 50s infinite linear;
}

@media (min-width: 550px) {
    @-webkit-keyframes cloud {
        0%   { left: -100px; }
        100% { left: 1000px; } 
    }

    @keyframes cloud {   
        0%   { left: -100px; }
        100% { left: 1000px; } 
    }
}

.cloud:before {
  content: '';
  left: 50px;
}

.cloud:after {
  content: '';
  left: 25px;
  top: -20px;
}