/* BASIC ELEMENTS */


/*  Card  */
.card {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 26px 4px rgba(0,0,0,0.07);
    -moz-box-shadow: 0px 0px 26px 4px rgba(0,0,0,0.07);
    box-shadow: 0px 0px 26px 4px rgba(0,0,0,0.07);
    border-radius: 20px;
}
.card .front, .card .back {
    position: relative;
    z-index: 100;
    display: block;
    width: auto;
    height: auto;
    background-color: #fff;
    border-radius: 20px;
    overflow: visible;
}
@media screen and (max-width: 390px) {
    .card .front, .card .back  {
        padding: 28px 28px 30px;
    }
}
@media screen and (min-width: 390px) {
    .card .front, .card .back  {
        padding: 35px 35px 43px;
    }
}
.card .front .card-inner, .card .back .card-inner {
    position: relative;
    display: block;
    min-height: 550px; /* Ojito! */
    z-index: 200;
}
section.trigger-section {
    position: relative;
    display: block;
    bottom: 0;
    z-index: 50;
}


/* Welcome */
section.welcome {
    margin-top: 0px;
}


/* Logos*/
img.icon-xerofernandez {
    width: 75px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}
img.logo-xerofernandez {
    width: 152px;
    margin-left: 1px;
}


/* Typed.js */
.typed-wrap {
    display: flex;
    width: max-content;
    padding: 7px 16px 12px;
    background-color: #172bf7;
    color: #fff;
    margin-top: 10px;
    border-radius: 10px;
}


/* Useful Links */
ul.useful-links li {
    padding-bottom: 14px;
}
ul.useful-links li:nth-last-child(1){
    padding-bottom: 0px;
}
ul.useful-links li.soon a {
    opacity: 0.5;
}
ul.useful-links li.soon::after {
    content: "soon!";
    font-size: 12px;
    background-color: #172bf7;
    color: #fff;
    padding: 1px 5px 4px;
    border-radius: 6px;
    margin-left: 11px;
}


/* Form */
form {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}
form input[type="text"], form textarea {
    display: inline-block;
    padding: 10px 18px 14px 0px;
    margin: 0px 0 20px;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.1px;
    font-family: "sofia-pro";
    color: #8e8e8e;
    background-color: transparent;
    border: 0px solid transparent;
    border-radius: 0px;
    border-bottom: 1px solid #172bf7;
    -webkit-appearance: none; /* Fix iOS Safari */
}
form input[type="checkbox"] {
    position: relative;
    top: 1px;
    margin-right: 6px;
}
form input[type="submit"] {
    cursor: pointer;
    width: max-content;
    padding: 12px 50px;
    margin: 25px 0 10px;
    font-size: 16px;
    font-family: "sofia-pro";
    text-align: center;
    color: #ffffff;
    background-color: #172bf7;
    border-radius: 10px;
    border: 1px solid #172bf7;
    -webkit-appearance: none; /* Fix iOS Safari */
}
form input[type="submit"]:hover {
    color: #172bf7;
    background-color: #fff;
    transition: 150ms linear;
}
form input[type="text"]:focus, form textarea:focus, form input[type="checkbox"]:focus, form input[type="submit"]:focus {
    outline: none;
}
::-webkit-input-placeholder {
    color: #dedede;
}
:-ms-input-placeholder {
    color: #dedede;
}
::placeholder {
    color: #dedede;
}
form p {
    font-size: 14px;
}
form p.required-text {
    font-size: 12px;
    font-style: italic;
}


/* Footer */
footer {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 35px auto 0;
    text-align: center;
}
.footer-copyright {
    font-size: 13px;
    line-height: 21px;
    margin-top: 12px;
}


/* Social Media Icons */
ul.social-media-list li {
    display: inline-block;
    width: 21px;
    height: 21px;
    padding:0 5px;
}
ul.social-media-list li:nth-child(1){
    padding: 0;
}
ul.social-media-list li:nth-last-child(1){
    padding: 0 0 0 7px;
}
ul.social-media-list li.icon-not-square {
    padding: 0 0 0 7px;
}
ul.social-media-list li.icon-xl {
    width: 23px;
    height: 23px;
    padding-right: 2px;
}
ul.social-media-list li a {
    border: none;
    width: auto;
    height: auto;
    padding: 0;
}
ul.social-media-list li a:hover {
    opacity: 0.5;
}
ul.social-media-list li a img {
    width: auto;
    height: auto;
}


/* Received Page */
.mail-received {
    padding: 15vh 35px;
    text-align: center;
}
.mail-received .card .front {
    padding: 60px 35px;
}
.mail-received .front .card-inner {
    min-height: initial;
}
.mail-received img.icon-xerofernandez {
    width: 100px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    position: relative;
    right: 14px;
}
.mail-received section.trigger-section {
    margin-top: 25px;
}


/* Geometry */
.geometry {
    position: absolute;
    z-index: 150;
}
.geometry.sun {
    top: 150px;
    left: -70px;
    width: 145px;
}
.geometry.lines {
    top: 450px;
    right: -45px;
    width: 120px;
}


/* Background */
.background {
    position: absolute;
    z-index: 0;
}
@media screen and (max-width: 480px) {
    .red-wave {
        top: 0;
        right: 0;
    }
    .yellow-wave {
        bottom: 0;
        left: 0;
    }
}
@media (min-width: 480px) and (max-width: 1200px) {
    .red-wave {
        top: 0;
        left: 500px;
    }
    .yellow-wave {
        bottom: 0;
        right: 500px;
    }
}
@media screen and (min-width: 1200px) {
    .red-wave {
        top: 0;
        left: 1000px;
    }
    .yellow-wave {
        bottom: 0;
        right: 1000px;
    }
}


