/* global */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: url(./images/stars.jpg);
    background-size: contain;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Montserrat Alternates', sans-serif;
    margin: 0;
}


/* text */

h2 {
    margin-top: 0;
}

p {
    font-size: 16px;
    line-height: 24px;
}


/* media */

img {
    width: 100%;
}


/* tables */

table {
    border: 2px solid rgba(255 255 255 / 0.4);
    border-collapse: collapse;
    width: 100%;
}
th {
    padding: 20px;
    background: rgba(255 255 255 / 0.2);
    text-align: left;
}
td {
    padding: 20px;
}
td:nth-child(odd) {
    background: rgba(255 255 255 / 0.1);
}


/* forms */

.input {
    margin-bottom: 30px;
}

input[type=text],
textarea {
    padding: 10px;
    width: 100%;
    font-size: 16px;
    font-family: 'Montserrat Alternates', sans-serif;
}

label {
    display: block;
    margin-bottom: 10px;
}

button {
    background: #fff;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Montserrat Alternates', sans-serif;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #ff0;
}



/* header */

header {
    background: url(./images/earth.jpg);
    background-size: cover;
    background-position: center top;
}

.header-logo {
    font-family: 'Rubik Moonrocks', cursive;
    font-size: 40px;
    text-align: center;
    padding: 50px 25px;
    margin: 0;
}


/* nav */

nav {
    position: sticky;
    top: 0;
}

.main-nav {
    background: #f00;
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-link {
    display: block;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 25px;
    transition: all 0.5s;
}

.main-nav-link:hover {
    color: #ff0;
}


/* main */


/* rows and columns */

.row {
    margin: 50px 0;
}

.row-reversed {
    flex-direction: row-reverse;
}

/* column type - content */

.column-with-text {
    padding: 50px;
}

.column-with-media {
    padding: 0 50px;
}

.column-with-table {
    overflow: auto;
}

/* column type - sizes */

.column-size-double {
    flex: 2;
}

/* column type - backgrounds */

.column-background-transparent {
    background: rgba(255 255 255 / 0.2);
}

.column-background-white {
    background: #fff;
    color: #000;
}


/* footer */

footer {
    padding: 10px 25px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    list-style: none;
}

.footer-nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding-left: 25px;
    transition: all 0.5s;
}

.footer-nav-link:hover {
    color: #ff0;
}