/* global */
html{
    scroll-behavior:smooth;
}
* {
    box-sizing:border-box;
}
body{
    background: url(images/stars.jpg);
    background-size: contain;
    color: #fff;
    margin:0;
    background-attachment: fixed;
}
@media (min-width: 900px) {
    main {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* text */
body{
    font-family:"Montserrat Alternates", sans-serif;
}

h1{
    font-family:"Rubik Moonrocks",cursive;
}
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);
}

thead{
    background: rgba(0, 0, 0, 0.8);
}
/* 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;
}

@media (min-width: 900px) {
    .header-logo {
        font-size: 80px;
        padding: 150px 25px;
    }
}
/* nav */
nav {
    position: sticky;
    top: 0rem;
}

.main-nav{
    justify-content: center;
    background: red;
    display:flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul{
    width:100%;
    display: flex;
    justify-content:space-evenly;
}

.main-nav-link {
    display:block;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 25px;
    transition: all 0.5s;
}

@media (min-width: 900px) {
    .main-nav-link {
        font-size: 32px;
    }
}

.main-nav-link:hover {
    color: #ff0;
}

.main-nav-item{
    display:inline-flex;
}


/* main */

/* rows */
.row {
    margin: 50px 0;
}

@media (min-width: 900px) {
    .row {
        display: flex;
    }
    .row-reversed{
        flex-direction:row-reverse;
    }
}
/* columns */

@media (min-width: 900px) {
    .column {
        margin: 0 25px;
        flex: 1;
    }
}

.column-with-text {
    padding: 50px;
}
.column-with-media {
    padding: 0 50px;
}

.column-with-table{
    overflow:auto;
}

.column-background-white {
    background: #fff;
    color: #000;
}

.column-background-transparent{
    background:rgba(255 255 255 / 0.2);
}
/* 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;
}
@media (min-width: 900px) {
    footer {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}