/* Main */
html, body {
    background-color: lightblue;
    color: rgb(35, 35, 35);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0;
    height: 100%;
    overflow-x: hidden
}

.main {
    max-width: 1500px;
    margin: auto;
}

@media screen and (max-width: 1500px) {
    .main {
        margin: 0 8px 50px;
    }
}


/* Topnav */
nav {
    position: fixed;
    width: 100%;
    overflow: hidden;
    background-color: white;
    top: 0;
    z-index: 5;
}

nav a {
    float: left;
    color: rgb(35, 35, 35);
    text-align: center;
    padding: 25px 16px;
    text-decoration: none;
    font-size: 20px;
}

nav a:hover {
    color: blue !important;
}

nav a.active {
    color: blue !important;
}

.topnav-centered {
    float: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.topnav-right {
    float: right;
}

.primary {
    color: blue !important;
}

/* Responsive navigation menu (for mobile devices) */
@media screen and (max-width: 700px) {
    .topnav-centered {
        position: fixed;
        top: 73px;
        left: 0;
        transform: translate(0, 0);
        background-color: white;
        width: 100%;
    }
}


/* Spacers */
.spacer {
    height: 73px;
}

.spacer2 {
    height: 73px;
}

@media screen and (max-width: 700px) {
    .spacer {
        height: 148px;
    }
    .spacer2 {
        height: 50px;
    }
}


/* Header */
header {
    height: 75%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

header picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

header .half-left {
    position: relative;
    height: 100%;
    width: 50%;
    float: left;
    text-align: center;
}

header .half-right {
    position: relative;
    height: 100%;
    width: 50%;
    float: right;
    text-align: center;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin: 0;
}

.content-text {
    white-space: nowrap;
    background-color: rgba(144, 238, 144, 0.5);
    padding: 10px;
}

.content h1 {
    font-size: 5vw;
}

header .form {
    text-align: center;
    background-color: white;
    padding: 10px;
    width: 100%;
    border-radius: 25px;
}

header form {
    width: 100%;
}

header input {
    width: calc(100% - 100px);
}

.center {
    text-align: center;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Hyperlinks */
body a {
    text-decoration: none;
    color: inherit;
}

body a:hover {
    text-decoration: none;
    color: inherit;
}

body a:active {
    text-decoration: none;
    color: inherit;
}

body a:visited {
    text-decoration: none;
    color: inherit;
}

.a {
    text-decoration:none;
    border-bottom: 2px solid blue;
    color: inherit;
    transition-duration: 1s;
}

.a:hover {
    background: blue;
    color: lightblue;
    transition-duration: 1s;
}


/* Buttons */
button {
    border: 2px solid blue;
    border-radius: 15px;
    background-color: lightblue;
    color: blue;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    transition-duration: 1s;
}

button:hover {
    background-color: blue;
    color: lightblue;
}

button .active {
    background-color: lightblue;
    color: lightgrey;
}

button:disabled, button[disabled]{
    border: 2px solid grey;
    color: grey;
    cursor: not-allowed;
    background: rgb(35, 35, 35);
}

.fa-button{
    margin-left: -12px;
    margin-right: 8px;
}


/* Input */
form {
    display: block;
}

input {
    background-color: rgba(0, 0, 0, 0);
    width: 300px;
    padding: 14px 28px;
    font-size: 16px;
    color: blue;
    border: none;
    outline: none;
    border-bottom: 2px solid blue;
}

input::placeholder {
    color: blue;
}

input:disabled {
    border-bottom: 2px solid grey;
    color: grey;
}

input:disabled::placeholder {
    color: grey;
}

input[type=checkbox] {
    width: 20px;
    height: 20px;
    accent-color: blue;
}

select {
    background-color: rgba(0, 0, 0, 0);
    width: 300px;
    padding: 14px 28px;
    font-size: 16px;
    color: lightblue;
    border: none;
    outline: none;
    border-bottom: 2px solid lightblue;
}

option {
    padding:0 30px 0 10px;
    min-height: 40px;
    display: flex;
    background: white;
    border: none;
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
    overflow: hidden;
}

option:hover {
    color: lightblue;
}

input:user-invalid {
    border-bottom: 2px solid crimson;
}

.price {
    background-color: blue;
    color: lightgrey;
    border-radius: 5px;
    padding: 2px;
}


/* Table */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 15px;
}

th, td {
    text-align: center;
    padding: 16px;
}

th:first-child, td:first-child {
    text-align: left;
}

tr:nth-child(even) {
    background-color: rgba(68, 85, 90, 0.25);
}


/* Clickable */
.clickable:hover {
    cursor: pointer;
}


/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}