:root {
    --main-color: #28D9C7;
}

html {
    height: 100%;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

/* Montserrat or Roboto */

* {
    margin: 0;
    padding: 0;
}

/* Headers */

.home-header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.2)), url(img/luna-somnia/somnia4.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

.events-header,
.activities-header,
.album-header,
.raids-header,
.comics-header,
.header {
    min-height: 80vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.4), rgba(4, 9, 30, 0.4)), url(img/events-gallery.png);
    background-position: top;
    background-size: cover;
    position: relative;
}

.activities-header {
    background-image: linear-gradient(rgba(4, 9, 30, 0.4), rgba(4, 9, 30, 0.4)), url(img/Album/Baguette.png);
}

.album-header {
    background-image: linear-gradient(rgba(4, 9, 30, 0.4), rgba(4, 9, 30, 0.4)), url(img/Album/Clemont.png);
}

.raids-header {
    background-image: linear-gradient(rgba(4, 9, 30, 0.4), rgba(4, 9, 30, 0.4)), url(img/raidgroups/HEADER.png);
}

.comics-header {
    background-image: linear-gradient(rgba(4, 9, 30, 0.4), rgba(4, 9, 30, 0.4)), url(img/easter/easter3.jpg);
}

.header {
    background-image: linear-gradient(rgba(4, 9, 30, 0.4), rgba(4, 9, 30, 0.4)), url(img/fireplace.png);
    background-position: center;
}

/* Nav */

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;

}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #28D9C7;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid var(--main-color);
    background: var(--main-color);
    color: #fff;
    transition: 1s;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #28D9C7;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}

/* Quote */

.quote p {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    width: 460px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

.quote hr {
    width: 300px;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    background-color: #777;
    border: 0 none;
    margin-top: 20px;
}

/* Shared style */

h1 {
    font-size: 30px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

h2 {
    font-family: 'Roboto', sans-serif;
}

h3 {
    font-family: 'Roboto', sans-serif;
}

h4 {
    font-family: 'Roboto', sans-serif;
}

p {
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
    padding-bottom: 10px;
}

.row {
    margin-top: flex;
    display: flex;
    justify-content: space-between;
}

/* We are the Seers */

.about {
    width: 70%;
    margin: auto;
    text-align: left;
    padding-top: 70px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.about img {
    width: 100%;
}

.about-col {
    flex: 1;
    overflow: hidden;
}

.about-col:nth-of-type(even) {
    flex: 2;
}

#about-text {
    padding-left: 20px;
}

.about p {
    padding-top: 10px;
}

.about h1 {
    font-size: 45px;
}

.about h4 {
    padding-top: 15px;
    font-size: 30px;
}

@media(max-width: 1000px) {
    .about {
        flex-direction: column;
    }

    .about h4 {
        padding-top: 5px;
        font-size: 20px;
    }

    .about h1 {
        font-size: 39px;
    }
}

/* Events */

.events {
    width: 70%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.events img {
    width: 100%;
}

.event-col {
    flex: 1;
    overflow: hidden;
}

.event-col:nth-of-type(even) {
    flex: 2;
}

#event-text {
    padding-right: 20px;
}

.events p {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: left;
}

@media(max-width: 1000px) {
    .events {
        flex-direction: column;
    }

    .events img {
        margin-top: 30px;
    }

    .events h4 {
        padding-top: 5px;
        font-size: 20px;
    }

    .events h1 {
        font-size: 39px;
    }
}

/* Activities */

.activities {
    width: 70%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.activities img {
    width: 100%;
}

.act-col {
    flex: 1;
    overflow: hidden;
}

.act-col:nth-of-type(even) {
    flex: 2;
}

#act-text {
    padding-left: 20px;
}

#act-right {
    padding-right: 20px;
}

.activities p {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: left;
}

.activities h4 {
    padding-top: 15px;
    font-size: 25px;
}

@media(max-width: 1000px) {
    .activities {
        flex-direction: column;
    }

    .activities img {
        margin-top: 30px;
    }

    .activities h4 {
        padding-top: 5px;
        font-size: 20px;
    }

    .activities h1 {
        font-size: 39px;
    }
}

/* Album */

.album {
    width: 70%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.album img {
    width: 100%;
}

.album-col {
    flex: 1;
    overflow: hidden;
}

.album-col:nth-of-type(even) {
    flex: 2;
}

#album-text {
    padding-right: 20px;
}

.album p {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
}

@media(max-width: 1000px) {
    .album {
        flex-direction: column;
    }

    .album img {
        margin-top: 30px;
    }

    .album h4 {
        padding-top: 5px;
        font-size: 20px;
    }

    .album h1 {
        font-size: 39px;
    }
}

.hero-btn-blue {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #28D9C7;
    border-radius: 5px;
    padding: 12px 34px;
    font-size: 13px;
    background: #28D9C7;
    position: relative;
    cursor: pointer;
}

.hero-btn-blue:hover {
    border: 1px solid black;
    background: black;
    color: #fff;
    transition: 1s;
}

/* Mist */

.mist,
.act-btm {
    width: 70%;
    margin: auto;
}

.mist img,
.act-btm img {
    width: 100%;
}

.mist h1,
.act-btm h1 {
    margin: 60px auto;
    text-align: center;
    font-size: 40px;
    max-width: 100%;
    position: relative;
}

.mist h1:before {
    content: "";
    display: block;
    width: 35%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -2;
}

.mist h1:after {
    content: "";
    display: block;
    width: 35%;
    height: 2px;
    background-color: #000;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: -2;
}

.act-btm h1:before {
    content: "";
    display: block;
    width: 30%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -2;
}

.act-btm h1:after {
    content: "";
    display: block;
    width: 30%;
    height: 2px;
    background-color: #000;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: -2;
}

.mist span,
.act-btm span {
    background: #fff;
}

@media(max-width: 1300px) {
    .mist h1:before {
        width: 25%;
    }

    .mist h1:after {
        width: 25%;
    }
}

/* Activities Bottom */

@media(max-width: 1200px) {
    .act-btm h1:before {
        width: 25%;
    }

    .act-btm h1:after {
        width: 25%;
    }
}

@media(max-width: 1000px) {
    .act-btm h1:before {
        width: 0px;
    }

    .act-btm h1:after {
        width: 0px;
    }

    .act-btm h1 {
        font-size: 35px;
    }
}

@media(max-width: 700px) {
    .mist h1:before {
        width: 0px;
    }

    .mist h1:after {
        width: 0px;
    }

    .mist h1 {
        font-size: 30px;
        margin: 40px auto;
    }
}

/* Rules */

.rules {
    width: 70%;
    margin: auto;
    text-align: center;
    padding-top: 40px;
}

.rules h1 {
    color: #28D9C7;
}

.rules p {
    color: #fff;
    padding: 15px;
}

.rules-col {
    flex-basis: 19%;
    background: #303030;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

#blue-light {
    background: #8F8F8F;
}

#blue-dark {
    background: #606060;
}

.rules h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #28D9C7;
}

.rules h1 {
    margin: 50px auto;
    text-align: center;
    font-size: 40px;
    max-width: 100%;
    position: relative;
    color: #28D9C7;
}

.rules h1:before {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -2;
}

.rules h1:after {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    background-color: #000;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: -2;
}

.rules span {
    background: #fff;
}

.rules-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
}

.fa-quote-right {
    color: #28D9C7;
}

@media(max-width: 1300px) {
    .row {
        flex-direction: column;
    }

    .rules h1:before {
        width: 35%;
    }

    .rules h1:after {
        width: 35%;
    }
}

@media(max-width: 700px) {
    .rules h1:before {
        width: 35%;
    }

    .rules h1:after {
        width: 35%;
    }

    .rules h1 {
        font-size: 30px;
    }

}

/* Footer */

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa {
    color: #28D9C7;
    margin: 0 13px;
    padding: 18px 0;
}

.fa-heart-o {
    color: #28D9C7;
}

/* Event Gallery */

.events-gallery {
    width: 80%;
    margin: 30px auto 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

#comics-gallery {
    width: 80%;
    margin: 30px auto 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    grid-gap: 30px;
}

.events-gallery-text {
    padding-top: 50px;
    width: 80%;
    margin: auto;
}

.events-gallery-text h1 {
    margin: 30px auto;
    text-align: center;
    font-size: 40px;
    max-width: 100%;
    position: relative;
}

.events-gallery-text p {
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
    position: relative;
}

.events-gallery-text h1:before {
    content: "";
    display: block;
    width: 35%;
    height: 2px;
    background: #777;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -2;
}

.events-gallery-text h1:after {
    content: "";
    display: block;
    width: 35%;
    height: 2px;
    background-color: #777;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: -2;
}

@media(max-width: 1200px) {
    .events-gallery-text h1:before {
        width: 25%;
    }

    .events-gallery-text h1:after {
        width: 25%;
    }
}

@media(max-width: 700px) {
    .events-gallery-text h1:before {
        width: 23%;
    }

    .events-gallery-text h1:after {
        width: 23%;
    }

    .events-gallery-text h1 {
        font-size: 30px;
    }

}

.events-gallery img {
    width: 100%;
    cursor: pointer;
}

.events-gallery img:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.3);
}

.events-full-img {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.events-full-img img {
    width: 90%;
    max-width: 1200px;
}

.events-full-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* Activities Gallery */

.activities-slider {
    width: 70%;
    margin: auto;
    text-align: left;
    padding-top: 50px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.activities-slider-notrev {
    width: 70%;
    margin: auto;
    text-align: left;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.activities-slider p,
.activities-slider-notrev p {
    padding-top: 10px;
}

.activities-col {
    flex: 1;
    overflow: hidden;
}

.activities-col:nth-of-type(even) {
    flex: 2;
}

@media(max-width: 1000px) {

    .activities-slider,
    .activities-slider-notrev {
        flex-direction: column;
    }

    .activities-slider img,
    .activities-slider-notrev img {
        margin-top: 10px;
    }

    .activities-slider h1,
    .activities-slider-notrev h1 {
        font-size: 30px;
        text-align: center;
    }
}

.act-btm p {
    text-align: center;
}

.mySlides {
    display: none
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

/* Rules Page */

.rules-page {
    width: 50%;
    margin: auto;
}

.rules-page h1 {
    margin-top: 70px;
    margin-bottom: 30px;
    font-size: 40px;
}

.rules-page p {
    margin-top: 10px;
    margin-bottom: 10px;
}

@media(max-width: 1000px) {
    .rules-page {
        width: 70%;
    }
}