/* Typography */

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Helvetica, arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    width: 100%;
    margin-top: 3rem;
}

nav {
    display: flex;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    background-color: white;
    flex-direction: column;
    z-index: 1;
}

a {
    text-decoration: none;
    color: rgb(5, 68, 164);
}

a:hover {
    text-decoration: underline;
}

footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    color: rgb(255, 255, 255);
    background-color: #444444;
    flex:1;
    width: 100%;
}

footer div {
    padding-bottom: 2rem;
}

input, textarea {
    outline: none;
}

input, form button, textarea {
    height: 3rem;
    border: 0;
    background-color: #e9e9e9;
    box-shadow: #808080 0 5px;
    font-size: large;
    padding-left: 10px;
}

button:hover {
    cursor: pointer;
}

input::placeholder {
    color: #808080; 
}

textarea::placeholder {
    padding-top: 0.5rem;
}

textarea {
    resize: vertical;
    overflow: auto;
    font-family: inherit;
    min-height: 10rem;
    max-height: 20rem;
}

/* Classes */

.navlist li {
    list-style-type: none;
}

.icon i {
    right: calc(10%);
    visibility: hidden;
    float: right;
    display: none;
    list-style-type: none;
}

.icon {
    list-style-type: none;
}

.paddingtop {
    padding-top: 2rem;
}

.linedown {
    background-color: gray;
    width: 1px;
    padding: 0;
    margin: 0;
}

.lineright {
    background-color: gray;
    height: 1px;
    width: 100%;
    padding: 0;
}

.container {
    width: 58%;
    display: flex;
    justify-self: center;
}

.maxwidth .iframe1, .maxwidth .iframe2 {
    display: flex;
    flex-direction: row;
    background-color: grey;
    margin-bottom: 3rem;
}

.iframe {
    display: flex;
    flex-direction: row;
    height: 33rem;
}

.holes {
    height: auto;
    width: 100%;
    max-width: 60rem;
    aspect-ratio: 16/9;
}

.iframe1 {
    padding-left: 1rem;    
}

.iframe2 {
    padding-right: 1rem;
}

.iframe1 h2, .iframe2 h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
    width: 540px;
    font-size: 30px;
    background-color: rgb(182, 182, 182);
    font-weight: lighter;
    height: 315px;
}

.slideleft, .slideright, .iframe1, .iframe2 {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.slideleft {
    transform: translateX(-100px);
}

.slideright {
    transform: translateX(100px);
}

.slideleft, .slideright {
    border-color: #808080;
}

.maxwidth {
    width: 1120px;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pricecontainer {
    width: 40%;
    display: flex;
    justify-self: center;
    flex-direction: column;
    margin-bottom: 3rem;
}

.priceheader h2 {
    color: rgb(5, 68, 164);
    font-size: 40px;
    font-weight: lighter;
    padding: 0;
    margin-bottom: 10px;
}

.priceheader p {
    color: #808080;
    padding: 0;
    margin: 0;
}

.priceinfo {
    display: flex;
    flex-direction: column;
}

.priceinfo div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.priceinfo div div {
    display: flex;
    flex-direction: column;
}

.priceinfo div h3 {
    font-weight: lighter;
    font-size: 25px;
}

.pricecost {
    font-style: italic;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

.priceinfo div div h3 {
    margin-bottom: 0;
    font-weight: lighter;
}

.priceinfo div div p {
    margin-top: 5px;
    color: #808080;
}

.pricecontainer .lineright {
    margin: 2rem 0rem;
}

.active {
    background-color:#808080;
    color: white;
}

.show {
    opacity: 1;
    transform: translateX(0);
}

.unavailablebox {
    height: 70vh;
    padding: 0 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.unavailablebox h1 {
    font-size: 4vw;
}

.holelist {
    height: 31rem;
    width: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: large;
    list-style-type: none;
    align-items: end;
}

.holelist li {
    cursor: pointer;
    padding: 0.5rem;
    width: 100%;
}

.holelist li:hover {
    text-decoration: underline;
}

/* ID's */

#home {
    display: flex;
    flex-direction: row;
    width: 50%;
}

#homelink {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 24px;
    color: rgb(5, 68, 164);
    margin-left: 2rem;
}

#clicked {
    margin-top: 100rem;
}

#row {
    display: flex;
    flex-direction: row;
}

#navcolumn {
    display: flex;
    flex-direction: column;
}

#navoptions {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 50%;
}

#navoptions a {
    font-size: 18px;
    font-weight: bold;
    color: black;
}

#navoptions li {
    transition: transform 0.5s ease-in-out;
}

#navoptions li:hover:not(:last-child) {
    transform: scale(1.2);
    transition: transform 0.5s ease-in-out;
}

#booking {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(5, 68, 164);
    color: white;
    padding-bottom: 4rem;
    flex: 0;
}

#masthead {
    display: flex;
    flex-direction: row;
}

#masthead img {
    width: 50%;
    padding: 0;
    margin: 0;
}

#title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#title h1 {
    color: rgb(5, 68, 164);
    font-size: 40px;
    max-width: 20rem;
    text-align: center;
}

#booking h2 {
    font-weight: lighter;
    padding-top: 2.5rem;
    font-size: 26px;
}

#booking p {
    font-size: 18px;
    padding-bottom: 2rem;
}

#booking span {
    background-color: white;
    color: rgb(5, 68, 164);
    padding: 1.25rem 2rem;
    font-weight: 550;
}

#booking span:hover {
    background-color: rgb(189, 189, 189);
    cursor: pointer;
}

#booking a {
    text-decoration: none;
}

#details {
    display: flex;
    flex-direction: row;
}

#details div {
    padding: 1rem;
    font-weight: bold;
}

#details div a {
    color: white;
}

#underline {
    text-decoration: underline;
}

#aboutgroup {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgb(5, 68, 164);
    padding: 9rem 15%;
    width: 70%;
    justify-self: center;
}

#aboutgroup div:not(.linedown) {
    margin: 0 5rem;
    width: 20rem;
}

#aboutgroup div h2 {
    color: white;
    font-size: 30px;
}

#aboutgroup div p {
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-style: italic;
}

#bluecontainer {
    display: flex;
    justify-self: center;
    background-color: rgb(255, 255, 255);
    padding: 2rem;
    max-width: 100%;
}

#contact {
    display: flex;
    justify-self: center;
    width: 60%;
    gap: 3rem;
}

#contact div, #contact div form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    justify-content: space-around;
}

#contact div h2, #contact div div h2 {
    font-weight: lighter;
}

#submit {
    background-color: rgb(5, 68, 164);
    color: white;
    box-shadow: 0 0;
}

#message::placeholder {
    font-family: inherit;
}

#contactterms {
    font-size: 0.9rem;
    color: #444444;
    text-align: center;
}

#iframelist {
    height: 15rem;
}

#videocontainer {
    background-color: #808080;
    padding: 1rem;
    width: 100vw;
    
}

#videocontainer iframe {
    border: 0;
    height: 100%;
}

#row ul {
        list-style-type: none;
}

#holelist1 {
    display: auto;
}

#holelist2 {
    display: none;
}

#center {
    text-align: center;
}



/* Media Queries */

@media screen and (max-width: 1500px) {
    #navoptions a {
        font-size: 15px;
    }

    #homelink {
        font-size: 20px;
    }
}

@media screen and (max-width: 1300px) {
    #navoptions a {
        font-size: 12px;
    }
    #homelink {
        font-size: 16px;
    }
    #aboutgroup {
        flex-direction: column;
        align-items: center;
    }
    .linedown {
    background-color: gray;
    height: 1px;
    width: 50%;
    padding: 0;
    }
}

@media screen and (max-width: 950px) {
    .navlist li {
        position: fixed;
        visibility: hidden;
    }

    .icon i {
        display: block;
        visibility: visible;
        position: absolute;
        top: 0rem;
        right: 0rem;
    }

    nav {
        display: flex;
        margin-right: 2.5rem;
    }

    .responsive {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    ul.holelist {
        display: flex;
        flex-direction: row;
        width: max-content;
    }

    #navoptions {
        justify-content: right;
        margin-right: 1rem;
    }

    #navoptions:not(:last-child) {
        display: flex;
        flex-direction: column;
    }

    #homelink a {
        margin-top: 0.5rem;
    }

    #row {
        margin-bottom: 0.5rem;
    }

    #masthead {
        height: 10rem;
    }

    #masthead div#title {
        background-image: url('../images/image.png');
    }

    #masthead #title h1 {
        color: white;
    }

    #masthead img {
        display: none;
    }

    #row ul {
        list-style-type: none;
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .iframe {
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #bluecontainer {
        width: 100%;
        padding: 1rem 0;
        box-sizing: border-box;
    }

    #iframelist {
        order: 1;
        width: 100vw;
        height: auto;
        margin-bottom: 1rem;
    }

    #videocontainer {
        order: 2;
        width: 90vw;
        height: auto;
    }

    #videocontainer iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    #holelist1 {
        display: none;
    }

    #holelist2 {
        width: 100vw;
        height: 1rem;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        justify-items: center;
        align-items: end;
        margin: 0;
        padding: 0;
    }
}