* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-snap-points-y: repeat(100vh);
}

p {
    font-family: 'EB Garamond', serif;
}

a {
    color: lightcoral;
    font-family: 'Roboto', sans-serif;
}

a:hover {
    color: white;
}

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

.small {
    font-size: 11px;
}

.category {
    display: flex;
    justify-content: center;
    color: lightcoral;
}

.colorBar {
    grid-row: 3 / 4;
    grid-column: 1 / 6;
    background-color: #2f2f2f;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

@media only screen and (max-width: 766px) {
    .mobileBar {
        grid-row: 4 / 5;
    }
}

.impress {
    justify-content: flex-end;
    padding-bottom: 5px;
}

.slide {
    /* border: 5vh solid #2f2f2f; */
    /* padding: 15vh 5vw; */
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    text-align: center;
    position: relative;
}

.slide:nth-child(1) {
    background-image: url("IMG_0032_sw_2000.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.slide:nth-child(2) {
    background-color: whitesmoke;
    /* border-bottom: 10vh solid lightseagreen; */
    display: grid;
    grid-template-columns: 10% 30% 50% 10%;
    grid-template-rows: 20% 70% 10%;
    padding: 0;
}

@media only screen and (max-width: 766px) {
    .slide:nth-child(2) {
        grid-template-columns: 10% 80% 10%;
        grid-template-rows: 12% 25% 53% 10%;
    }
}

@media only screen and (max-width: 580px) {
    .slide:nth-child(2) {
        grid-template-columns: 7% 86% 7%;
    }
}

@media only screen and (max-width: 590px) {
    .hide {
        display: none;
    }
}

.slide:nth-child(2) img {
    height: 50vh;
    justify-self: right;
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

@media only screen and (max-width: 766px) {
    .slide:nth-child(2) img {
        height: 25vh;
        justify-self: center;
    }
}

.myText {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
    text-align: left;
    margin-left: 20px;
}

@media only screen and (max-width: 766px) {
    .myText {
        grid-row: 3 / 4;
        grid-column: 2 / 3;
        margin-left: 0;
        text-align: justify;
    }
}

.slide:nth-child(3) {
    background-color: whitesmoke;
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-rows: 16% 74% 10%;
    padding: 0;
}

.carousel {
    grid-row: 2 / 3;
    grid-column: 2 / 2;
}

.slide:nth-child(4) {
    background-color: whitesmoke;
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-rows: 16% 74% 10%;
    padding: 0;
}

.insta {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

.insta img {
    height: 40vh;
    margin-top: 25px;
}

@media only screen and (max-width: 766px) {
    .insta img {
        height: 35vh;
    }
}


/* h1  {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    width: 100%;
    left: 0;
    font-size: calc(1rem + 3vw); 
} */

h2 {
    font-family: 'EB Garamond', serif;
    font-weight: lighter;
    font-size: calc(1rem + 2vw);
}

@media only screen and (max-width: 766px) {
    h2 {
        font-size: calc(1rem + 4vw);
    }
}

@media only screen and (max-width: 766px) {
    .myTextHeading {
        line-height: 60%;
        margin-top: 15px;
    }
}

.mainHeading {
    padding-top: 20vh;
    font-size: calc(0.5rem + 7vw);
    text-transform: uppercase;
    color: lightcoral;
    /* font-family: 'Merriweather', serif; */
    font-family: 'Roboto', sans-serif;
    /* color: lightcoral; */
    /* text-shadow: 2px 2px 5px #2f2f2f; */
    /* position: fixed; */
    letter-spacing: 3pc;
    line-height: 120%;
    margin-left: 4.5%;
}

@media only screen and (max-width: 766px) {
    .mainHeading {
        margin-top: 2vh;
        letter-spacing: 2pc;
        margin-left: calc(1rem + 3vw);
        ;
        font-size: calc(1rem + 7vw);
    }
}

.secondHeading {
    font-size: calc(1rem + 1.5vw);
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 4vh;
    line-height: 120%;
    margin-left: 3%;
}

@media only screen and (max-width: 766px) {
    .secondHeading {
        margin-left: 20px;
        letter-spacing: 3vh;
        font-size: 20px;
    }
}


/* Animations */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    animation-delay: 0.5s;
}

.colorChange {
    animation-name: color_change;
    animation-duration: 60s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    /* animation-direction: alternate; */
}

@-webkit-keyframes color_change {
    0% {
        color: lightcoral;
    }
    10% {
        color: lightblue;
    }
    30% {
        color: lightgoldenrodyellow;
    }
    50% {
        color: lightsalmon;
    }
    70% {
        color: lightskyblue;
    }
    90% {
        color: lightseagreen;
    }
    100% {
        color: lightcoral;
    }
}

@-moz-keyframes color_change {
    0% {
        color: lightcoral;
    }
    10% {
        color: lightblue;
    }
    30% {
        color: lightgoldenrodyellow;
    }
    50% {
        color: lightsalmon;
    }
    70% {
        color: lightskyblue;
    }
    90% {
        color: lightseagreen;
    }
    100% {
        color: lightcoral;
    }
}

@-ms-keyframes color_change {
    0% {
        color: lightcoral;
    }
    10% {
        color: lightblue;
    }
    30% {
        color: lightgoldenrodyellow;
    }
    50% {
        color: lightsalmon;
    }
    70% {
        color: lightskyblue;
    }
    90% {
        color: lightseagreen;
    }
    100% {
        color: lightcoral;
    }
}

@-o-keyframes color_change {
    0% {
        color: lightcoral;
    }
    10% {
        color: lightblue;
    }
    30% {
        color: lightgoldenrodyellow;
    }
    50% {
        color: lightsalmon;
    }
    70% {
        color: lightskyblue;
    }
    90% {
        color: lightseagreen;
    }
    100% {
        color: lightcoral;
    }
}

@keyframes color_change {
    0% {
        color: lightcoral;
    }
    10% {
        color: lightblue;
    }
    30% {
        color: lightgoldenrodyellow;
    }
    50% {
        color: lightsalmon;
    }
    70% {
        color: lightskyblue;
    }
    90% {
        color: lightseagreen;
    }
    100% {
        color: lightcoral;
    }
}


/* external css: flickity.css */

.gallery {
    background: #EEE;
}

.gallery-cell {
    height: 60vh;
    margin-right: 20px;
    /* background: #8C8; */
    counter-increment: gallery-cell;
}

@media only screen and (max-width: 766px) {
    .gallery-cell {
        height: unset;
        width: 75vw;
    }
}


/* cell number */

.gallery-cell:before {
    display: block;
    text-align: center;
    content: counter(gallery-cell);
    line-height: 200px;
    font-size: 80px;
    color: white;
}


/* scroll arrow and navigation */

.main_nav {
    position: fixed;
    top: 0px;
    max-height: 50px;
    z-index: 999;
    width: 100%;
    padding-top: 17px;
    background: none;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0;
    top: -100px;
    padding-bottom: 6px;
}

@media only screen and (max-width: 766px) {
    .main_nav {
        padding-top: 25px;
    }
}

.open-nav {
    max-height: 400px !important;
}

.sticky {
    background-color: #2f2f2f;
    opacity: 1;
    top: 0px;
}

nav {
    width: 100%;
    margin-top: 5px;
}

@media only screen and (max-width: 766px) {
    nav {
        width: 100%;
    }
}

nav ul {
    list-style: none;
    overflow: hidden;
    text-align: center;
}

@media only screen and (max-width: 766px) {
    nav ul {
        padding-top: 0px;
        margin-bottom: 22px;
        text-align: center;
        width: 100%;
    }
}

nav ul li {
    display: inline-block;
    margin-left: 12px;
    margin-right: 12px;
    line-height: 1.5;
    letter-spacing: 1px;
}

@media only screen and (max-width: 766px) {
    nav ul li {
        width: 100%;
        padding: 7px 0;
        margin: 0;
    }
    nav ul li:first-child {
        margin-top: 10px;
    }
}

nav ul a {
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
}

nav ul a:hover {
    color: lightcoral;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    right: 22px;
    top: 12px;
    width: 30px;
}

@media only screen and (max-width: 766px) {
    .mobile-toggle {
        display: block;
    }
}

.mobile-toggle span {
    width: 30px;
    height: 4px;
    margin-bottom: 6px;
    background: lightcoral;
    display: block;
}

.colorChangeSpan {
    animation-name: color_change_Span;
    animation-duration: 60s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
}

@-webkit-keyframes color_change_Span {
    0% {
        background: lightcoral;
    }
    10% {
        background: lightblue;
    }
    30% {
        background: lightgoldenrodyellow;
    }
    50% {
        background: lightsalmon;
    }
    70% {
        background: lightskyblue;
    }
    90% {
        background: lightseagreen;
    }
    100% {
        background: lightcoral;
    }
}

@-moz-keyframes color_change_Span {
    0% {
        background: lightcoral;
    }
    10% {
        background: lightblue;
    }
    30% {
        background: lightgoldenrodyellow;
    }
    50% {
        background: lightsalmon;
    }
    70% {
        background: lightskyblue;
    }
    90% {
        background: lightseagreen;
    }
    100% {
        background: lightcoral;
    }
}

@-ms-keyframes color_change_Span {
    0% {
        background: lightcoral;
    }
    10% {
        background: lightblue;
    }
    30% {
        background: lightgoldenrodyellow;
    }
    50% {
        background: lightsalmon;
    }
    70% {
        background: lightskyblue;
    }
    90% {
        background: lightseagreen;
    }
    100% {
        background: lightcoral;
    }
}

@-o-keyframes color_change_Span {
    0% {
        background: lightcoral;
    }
    10% {
        background: lightblue;
    }
    30% {
        background: lightgoldenrodyellow;
    }
    50% {
        background: lightsalmon;
    }
    70% {
        background: lightskyblue;
    }
    90% {
        background: lightseagreen;
    }
    100% {
        background: lightcoral;
    }
}

@keyframes color_change_Span {
    0% {
        background: lightcoral;
    }
    10% {
        background: lightblue;
    }
    30% {
        background: lightgoldenrodyellow;
    }
    50% {
        background: lightsalmon;
    }
    70% {
        background: lightskyblue;
    }
    90% {
        background: lightseagreen;
    }
    100% {
        background: lightcoral;
    }
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 5vh;
    display: block;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0;
    width: 30px;
    height: 30px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    z-index: 9;
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    -moz-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 2s ease-in-out infinite;
    -moz-animation: fade_move_down 2s ease-in-out infinite;
    animation: fade_move_down 2s ease-in-out infinite;
}

.colorChangeArrow {
    animation-name: colorChangeArrow;
    animation-duration: 60s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    /* animation-direction: alternate; */
}

@-webkit-keyframes colorChangeArrow {
    0% {
        border-color: lightcoral;
    }
    10% {
        border-color: lightblue;
    }
    30% {
        border-color: lightgoldenrodyellow;
    }
    50% {
        border-color: lightsalmon;
    }
    70% {
        border-color: lightskyblue;
    }
    90% {
        border-color: lightseagreen;
    }
    100% {
        border-color: lightcoral;
    }
}

@-moz-keyframes colorChangeArrow {
    0% {
        border-color: lightcoral;
    }
    10% {
        border-color: lightblue;
    }
    30% {
        border-color: lightgoldenrodyellow;
    }
    50% {
        border-color: lightsalmon;
    }
    70% {
        border-color: lightskyblue;
    }
    90% {
        border-color: lightseagreen;
    }
    100% {
        border-color: lightcoral;
    }
}

@-ms-keyframes colorChangeArrow {
    0% {
        border-color: lightcoral;
    }
    10% {
        border-color: lightblue;
    }
    30% {
        border-color: lightgoldenrodyellow;
    }
    50% {
        border-color: lightsalmon;
    }
    70% {
        border-color: lightskyblue;
    }
    90% {
        border-color: lightseagreen;
    }
    100% {
        border-color: lightcoral;
    }
}

@-o-keyframes colorChangeArrow {
    0% {
        border-color: lightcoral;
    }
    10% {
        border-color: lightblue;
    }
    30% {
        border-color: lightgoldenrodyellow;
    }
    50% {
        border-color: lightsalmon;
    }
    70% {
        border-color: lightskyblue;
    }
    90% {
        border-color: lightseagreen;
    }
    100% {
        border-color: lightcoral;
    }
}

@keyframes colorChangeArrow {
    0% {
        border-color: lightcoral;
    }
    10% {
        border-color: lightblue;
    }
    30% {
        border-color: lightgoldenrodyellow;
    }
    50% {
        border-color: lightsalmon;
    }
    70% {
        border-color: lightskyblue;
    }
    90% {
        border-color: lightseagreen;
    }
    100% {
        border-color: lightcoral;
    }
}


/*animated scroll arrow animation*/

@-webkit-keyframes fade_move_down {
    0% {
        -webkit-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@-moz-keyframes fade_move_down {
    0% {
        -moz-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -moz-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes fade_move_down {
    0% {
        transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}