/* ---------------------------- */
/* COLORS */
/* background color: #fff */
/* grey text color: #ccc */
/* text color: #555 */
/* orange color: #ff7675 */
/* ---------------------------- */
/* GENERAL INFORMATIONS */
/* ---------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;

    background-color: #fff;
    color: #555;
}

.clearfix {zoom: 1;}
.clearfix::after {
    content: ".";
    height: 0;
    clear: both;
    display: block;
    visibility: hidden;
}

/* ---------------------------- */
/* REUSABLE COMPONENTS */
/* ---------------------------- */

.row {
    width: 1140px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.box {
    padding: 1%;
}

/* ----- HEADINGS ----- */

h2,
h3 {
    font-weight: 500;
    text-transform: uppercase;
}

h1 {
    font-family: 'Tomorrow', 'Arial', sans-serif;
    font-size: 600%;
    font-weight: 700;
    font-style: italic;

    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 20px;

    margin-top: 0;
    margin-bottom: 20px;
}

h1::before {
    content: "Travel to Automated";
    font-family: 'Tomorrow', 'Arial', sans-serif;
    font-size: 26%;
    font-weight: 500;
    font-style: italic;

    color: #ccc;
    word-spacing: 8px;
    letter-spacing: 14px;

    display: block;
}

h2 {
    font-size: 180%;
    text-align: center;
    word-spacing: 2px;
    letter-spacing: 1px;

    margin-bottom: 30px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
}

h2::after {
    content: " ";
    background-color: #ff7675;
    
    height: 2px;
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;

    display: block;
}

.long-paragraph {
    line-height: 120%;

    margin-bottom: 60px;
}

.long-paragraph span {
    border-bottom: 1px solid transparent;
}

.long-paragraph span:hover {
    color: #ff7675;
    border-bottom: 1px solid #ff7675;
}

.tomorrow-font {
    font-family: 'Tomorrow', 'Arial', sans-serif;
}

/* ----- BUTTONS ----- */

.btn:link,
.btn:visited,
input[type=submit] {
    font-weight: 300;
    letter-spacing: 1px;
    text-decoration: none;

    padding: 10px 30px;
    border-radius: 200px;
    border: none;
    
    display: inline-block;
}

.btn-full:link,
.btn-full:visited,
input[type=submit] {
    color: #fff;
    background-image: linear-gradient(to top, #df6a59, #e77c5c);
    
    transition: all 0.2s ease-in;
}

.btn-full:hover,
.btn-full:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-image: linear-gradient(to top, #ff775d, #fe825c);
    
}

/* ---------------------------- */
/* HEADER */
/* ---------------------------- */

header {
    height: 100vh;

    background-image: linear-gradient(rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.7) 25%, rgba(0, 0, 0, 0.6) 100%), 
    url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    position: relative;
}

.logo {
    height: 180px;
    width: auto;
    margin-top: 20px;
    
    float: left;
}


/* main navi */
.main-nav {
    list-style: none;
    margin-top: 55px;

    float: right;
}

.main-nav li {
    margin-left: 20px;
    display: inline-block;
}

.main-nav li a:link,
.main-nav li a:visited {
    font-size: 90%;
    text-decoration: none;
    text-transform: uppercase;

    color: #ccc;
    padding: 9px 15px;
    backface-visibility: hidden;
    border-radius: 4px;

    transition: all 0.2s ease-in-out;
}

.main-nav li a:hover,
.main-nav li a:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.main-text-box {
    width: 1140px;
    margin: 0 auto;
    text-align: center;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: block;
}


/** sticky navi **/
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999;
}

.sticky .main-nav { margin-top: 18px; }

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    
    color: #555;
}

.sticky .logo { 
    /* margin-top: 5;
    padding: 5px; */
    /* max-height: 60px; */
    position: fixed;
    top: 0;
    left: calc(5% - 10px);
     
}


/** mobile navi **/
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}

/* ---------------------------- */
/* DEPARTURE */
/* ---------------------------- */

.shuttle-box {
    text-align: center;
    position: relative;
}

.shuttle {
    width: 40%;
    position: relative;
    top: 0;
    left: 0;
}

.shuttle-2 {
    width: 20%;
    position: absolute;
    top: -18.8%;
    left: 22%;
    transform: translate(50%, 50%);
    visibility: hidden;
}

.shuttle-box:hover .shuttle-2 {
    visibility: visible;
}

.departure-date {
    font-size: 250%;
    font-weight: 500;
    letter-spacing: 3px;
    word-spacing: 10px;

    color: rgb(50, 50, 50);

    margin-bottom: 40px;
}

.departure-date span {
    font-weight: 700;
    border-bottom: 2px solid rgb(50, 50, 50);
}

.departure-paragraph {
    line-height: 120%;
}

.departure-section blockquote::before {
    content: '\201C';
    font-size: 120%;
    font-weight: 400;

    display: inline-block;
    margin-right: 3px;
}

/* ---------------------------- */
/* THE MISSION */
/* ---------------------------- */

.mission-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 25%, rgba(0, 0, 0, 0.6) 100%), 
    url(../img/mission.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;

}

.mission-title {
    color: #fff;
}

.plan-box {
    width: 90%;
    margin-left: 5%;
    border-radius: 5px;

    background-color: #fff;
    overflow: hidden;
}

.plan-box div {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.plan-box div:first-child {
    background-color: #f5f5f5;
}

.plan-box div:last-child {
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 2px;

    border: none;
    color: #fff;
    
}

.paragraph-plan {
    font-size: 90%;
    color: rgb(110, 110, 110);
}

.icon-plan {
    text-align: center;
}

.icon-plan ion-icon {
    font-size: 64px;
}

.phase-1 {
    background: repeating-linear-gradient(
    -55deg,
    #00a181,
    #00a181 5px,
    #009678 5px,
    #009678 10px
  );
}

.phase-2 {
    background: repeating-linear-gradient(
    -55deg,
    #af2626,
    #af2626 5px,
    #a12525 5px,
    #a12525 10px
  );
}

.phase-3 {
    background: repeating-linear-gradient(
    -55deg,
    #c75f10,
    #c75f10 5px,
    #c57436 5px,
    #c57436 10px
  );
}

/* ---------------------------- */
/* WHY MARS */
/* ---------------------------- */

.why-section {
    background-color: #f4f4f4;
}

.astr-box:first-child {
    text-align: right;   
    padding-right: 6%;
}

.astr-box:last-child {
    padding-left: 3%;
    margin-top: 30px;
}

.astronaut {
    width: 50%;
}

.reasons-why:last-of-type {
    margin-bottom: 80px;
}

.reasons-why {
    margin-bottom: 35px;
}

.reasons-why div {
    color: #ff7675;
    border: 2px solid #ff7675;

    display: inline-block;

    border-radius: 50%;
    height: 53px;
    width: 53px;

    text-align: center;
    padding: 5px;
    float: left;
    font-size: 150%;
    margin-right: 25px;
}

.reasons-why p {
    padding-top: 3%;
}

/* ---------------------------- */
/* FOOTER */
/* ---------------------------- */

footer {
    background-color: #222822;
    padding: 50px;
    font-size: 80%;
}

.footer-nav {
    list-style: none;
    float: left;
}

.social-links {
    list-style: none;
    float: right;
}

.footer-nav li,
.social-links li {
    display: inline-block;
    margin-right: 20px;
} 

.footer-nav li:last-child,
.social-links li:last-child {
    margin: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #888;
    transition: color 0.2s;
}

.social-links li a:link,
.social-links li a:visited {
    font-size: 160%;
}

.footer-nav li a:hover,
.footer-nav li a:active {
    color: #ddd;
}

ion-icon[name=logo-facebook],
ion-icon[name=logo-twitter],
ion-icon[name=logo-youtube],
ion-icon[name=logo-instagram] {
    transition: color 0.2s;
}

ion-icon[name=logo-facebook]:hover,
ion-icon[name=logo-facebook]:active {
    color: #3b5998;
}

ion-icon[name=logo-twitter]:hover,
ion-icon[name=logo-twitter]:active {
    color: #00aced;
}

ion-icon[name=logo-youtube]:hover,
ion-icon[name=logo-youtube]:active {
    color: #dd4b39;
}

ion-icon[name=logo-instagram]:hover,
ion-icon[name=logo-instagram]:active {
    color: #517fa4;
}


footer p {
    color: #888;
    text-align: center;
    margin-top: 20px;
}

ion-icon[name=mail-outline] {
    margin: 0 3px;
    font-size: "3em";
    transition: color 0.2s;
}

ion-icon[name=mail-outline]:hover {
    color: #f5d03b;
}
