/* RESET */

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

body {
    display: flex;
    flex-direction: column;
    background-image: url(/images/beachbg.jpg);
    background-size: cover;
    background-position:  center;
    background-repeat: no-repeat;
    background-attachment: fixed ;
    min-height: 100vh;
    margin: 0;
    line-height: 1.25;
    font-family: 'Lobster', Arial, Helvetica, sans-serif;
}

html, body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* HEADER DESIGN */

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background:linear-gradient(to top left, rgba(175, 194, 182, 0) 0%, rgba(175, 194, 182, 1) 90%);
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    text-decoration: underline;
    font-size: 1.5rem;
}

header a:hover {
    color: rgb(255, 206, 161);
    text-shadow: 
    -1px -1px rgb(59, 43, 46),
    1px -1px rgb(59, 43, 46),
    -1px 1px 0 rgb(59, 43, 46),
    1px 1px rgb(59, 43, 46);
    transform: scale(1.2);
    transition: all 0.2s ease-in-out;
}


/* MAIN PAGE ELEMENT DESIGN */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    opacity: 1;
    transition: opacity 1s ease;
}

.splash-screen img {
    max-width: 65%;
    height: auto;
    margin-bottom: 1rem;
}

button img {
    width: 3rem;
    height: auto;
    vertical-align: middle;
    margin: 5px;
}

main {
    margin: 60px auto;
    padding-bottom: 20vh;
}

.main-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    margin: 10px;
    gap: 2rem;
    scroll-snap-type: y mandatory;
    max-width: 1600px;
}

.main-content {
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE 10+ */
    overflow-y: auto;             /* Allow scrolling */
}

.main-content::-webkit-scrollbar {
    display: none;                /* Chrome, Safari, Opera */
}


/* MAIN CONTENT DESIGN */

.content-box {
    background: linear-gradient(to bottom, rgba(161, 201, 176, 0.6) 0%, rgba(238, 217, 196, .8) 100%);
    border-radius: 15px;
    width: 100%;          
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 10px;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.top {
    width: 100%;
    margin: 0;
}


.content-box img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 10px;
}

.content-box .text-container {
    background-color: blanchedalmond;
    padding: 20px;
    opacity: 1;
    border-radius: 10px;
    white-space: normal;
    overflow-wrap: break-word;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
}

.content-box .text-container h1, h2 {
    color: black;
    opacity: 1;
    text-align: center;
    display: block;
    text-decoration: underline;
    margin: 1rem;
}

.text-container h2 {
    font-size: 1.75rem;
}

.content-box .text-container p {
    color: black;
    opacity: 1;
    display: block;
    width: 100%;
    font-size: 1.2rem;
    line-height: 2rem;
}

.text-container a {
    margin: auto;
    font-size: 1.5rem;
    text-decoration: underline solid black;
    padding: 1rem;
}

.heading-icon {
    width: 3rem;
    height: auto;
    vertical-align: middle;
    margin: 8px;
}

/* FOOTER DESIGN */

footer {
    background: linear-gradient(to bottom right, rgba(119, 97, 75, 0) 0%, rgb(59, 43, 46, 1) 90%);
    color: whitesmoke;
    text-shadow: 0px 0px 5px rgb(0, 0, 0);
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 1.25rem;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

#footer_hours_location,
.footer-center,
.footer-icons {
    flex: 1;
    max-width: 30%;
}

.footer-center {
    text-align: center;
}

.footer-center p:hover {
    color: rgb(255, 206, 161);
    transform: scale(1.2);
    transition: all 0.2s;
}

.footer-icons {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    padding-right: 1rem;
}

.footer-icons a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 2rem;
}

.footer-icons a:hover {
    color: rgb(255, 206, 161);
    transform: scale(1.2);
    transition: all 0.2s;
}

/* DIVS AND ITEMS */

.enter-button {
    font-family: 'Lobster', Arial, Helvetica, sans-serif;
    font-size: 2rem;
    border: 2px solid rgb(181, 164, 140);
    border-radius: 15px;
    background: linear-gradient(to bottom, 
    rgba(175, 194, 182, 0) 0%,
    rgba(175, 194, 182, .2) 30%,
    rgba(175, 194, 182, .5) 50%,
    rgba(59, 43, 46, .4) 70%,
    rgba(59, 43, 46, .5) 90%);
    cursor: pointer;
 }

 .enter-button:hover {
    scale: 1.2;
    transition: scale 0.2s;
 }

 .map {
    min-width: 70%;
    max-width: 100%;
    min-height: 45vh;
    border: none;
    border-radius: 10px;
 }


/* MAGIC MODIFIERS */

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

.read_but_hide {
    display: none;
}

.link {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgb(233, 226, 198);
}

.png_outline
 {
    border: 2px solid black;
    align-items: center;
    margin-top: 5px;
 }

.text_outline_light {
    color: rgb(233, 226, 198);
    text-shadow: 
    -1px -1px rgb(59, 43, 46),
    1px -1px rgb(59, 43, 46),
    -1px 1px 0 rgb(59, 43, 46),
    1px 1px rgb(59, 43, 46);
}

.text_outline_dark {
    color: rgb(59, 43, 46);
    text-shadow: 
    -1px -1px rgb(233, 226, 198),
    1px -1px rgb(233, 226, 198),
    -1px 1px 0 rgb(233, 226, 198),
    1px 1px rgb(233, 226, 198);
}


/* ANIMATIONS */

.fade_in {
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade_out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/*  BREAKPOINTS */

@media screen and (max-width: 760px) {
    footer {
        flex-direction: row-reverse;
    }

    #footer_hours_location, .footer-center, .footer-icons {
        max-width: 90%;
        text-align: center;
        margin: .5rem auto;
    }

    #footer_hours_location {
        display: none;
    }

    .footer-icons {
        justify-content: center;
        padding: 0;
    }
}

@media screen and (min-width: 1024px) {
    .content-box {
        flex-direction: row;
    }

    .text-container p {
        padding: 20px;
    }

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

    .splash-screen img {
        max-width: 40%;
    }
}