@import "reset";
@import "mixins";
@import "color";
@import "typography";


body {
    background-color: #CCC5C1;
    color: $black;
    background-size: cover;
}

pre {
    white-space: pre-line;
}



.c-cohen-opening, .c-loveit-opening, .c-albums-opening {

    background-size: cover;
    background-repeat: none;
    background-position: center;
    
    height: 100vh;
    padding: 50px;

    @media (max-width: 600px) {
        padding: 25px;
    }

    &__heading {
        @include font-size(70);
        color: $grey;
        background: $black;
        padding: 0px 10px;
        margin-bottom: 20px;
        display: inline-block;
        font-weight: 600;

        &--small {
            @include font-size(36);
        }

        @media (max-width: 600px) {
            @include font-size(36);
            margin-bottom: 10px;

            &--small {
                @include font-size(24);
                margin-bottom: 10px;
            }
        }
    }

    &__main {
        position: absolute;
        top: 50px;
        left: 50px;
        display: block;

        @media (max-width: 600px) {
            position: relative;
            top: auto;
            left: auto;
        }

        a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: block;
        }
    }

    &__other {
        text-align: right;
        position: absolute;
        top: 50px;
        right: 50px;
        display: inline-block;

        a {
            text-decoration: none;
        }

        @media (max-width: 600px) {
            position: static;
            text-align: left;
            margin-top: 25px;
        }
    }
}

.c-loveit-opening {
    height: calc(100vh - 44.5px);
    font-family: 'Noto Serif Display', serif;
    background: black;
    background-image: url('../img/loveit_main.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}


.c-tag {
    @extend .t-p1;
    font-weight: bold;
    // @include font-size(18);
    margin-left: 10px;

    &:before {
        content: "(";
    }

    &:after {
        content: ")";
    }
}

.c-auto-ratio {
    margin-top: 50px;
    &__inner {
        padding-top: 56.25%;
        position: relative;

        iframe {
            position: absolute;
            top:0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    }
}

.c-loveit-opening {
    background-image: url("/static/img/loveit_main.jpg");
}
.c-albums-opening {
    background-image: url("/static/img/albums_main.jpg");
}
.c-cohen-opening {
    background-image: url("/static/img/cohen_main.jpg");

    @media (max-width: 600px) {
        background-position: right 65% top;
    }
}

.c-page-section {
    padding: 50px 0;
    &--full {
        min-height: 100vh;
    }

    &__content {
        max-width: 1024px;
        margin: 0 auto;
        padding: 0 25px;
    }

    @media (max-width: 600px) {
        padding: 25px 0;
    }
}

.c-footer {
    width: 100%;
    padding: 25px;
    color: $grey;
    @include font-size(24);
    background-color: $black;
    text-align: center;
    span {
        display: inline-block;
        margin-right: 25px;
        vertical-align: middle;

        &:last-of-type {
            margin-right: 0;
        }
    }

    @media (max-width: 600px) {
        @include font-size(18);
    }

    &--new {
        @include font-size(18);
        font-family: 'Noto Serif Display', serif;
        @media (max-width: 600px) {
            @include font-size(12);
        }
    }
}

.c-event {
    // display: block;
    @include font-size(24);
    min-width: 100%;
    vertical-align: top;
    font-family: 'Noto Serif Display', serif;

    li {
        margin-bottom: 5px;
    }

    &__date {
        font-weight: bold;
    }

    &-month-section {
        margin-bottom: 35px;
        @media (max-width: 600px) {
            margin-bottom: 0px;
        }
    }

    td {
        padding: 0 25px 5px 0
    }

    td:nth-of-type(4n + 1) {
        width: 200px;
        text-align: left;
    }

    td:nth-of-type(4n + 2) {
        width: 225px;
        text-align: left;
    }

    td:nth-of-type(4n + 3) {
        text-align: left;
    }

    td:nth-of-type(4n + 4) {
        text-align: right;
        width: 100px;
    }

    &__button {
        @extend .c-btn;
        padding: 5px 15px;

        &--disabled {
            cursor: default;
            background-color: #8c8988;
            opacity: 0.4;
        }
    }

    // @media (max-width: 850px) {
    //     td:nth-of-type(4n + 4) {
    //         display: none;
    //     }
    // }

    &__title {
        @extend .t-h2-2;
        text-transform: uppercase;
    }

    @media (max-width: 600px) {
        @include font-size(18);

        td {
            padding: 0 0 5px 0;
            display: block;
            width: auto!important;
            text-align: left!important;

            &:nth-of-type(4n + 1) {
                display: inline-block;

                &::after {
                    content: "  /  ";
                }
            }

            &:nth-of-type(4n + 2) {
                display: inline-block;
                text-align: right!important;
            }
        }

        tr {
            display: block;
            margin-bottom: 15px;
        }
    }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    background-color: $black;
    color: $grey;
    display: table;

    transform: translateY(-100%);
    transition: all 200ms ease-out;

    &.open {
        transform: translateY(0);
    }

    &.always-open {
        transform: translateY(0);
    }

    a {
        text-decoration: none;
        color: $grey!important;
        @include font-size(28);
        margin-right: 15px;
        font-weight: bold;

        &:last-of-type {
            margin-right: 0;
        }

        @media (max-width: 600px) {
            @include font-size(20);
        }


        &.c-nav-invert-button {
            background: $grey;
            color: $black!important;
            display: inline-block;
            padding-left: 5px;
            padding-right: 5px;

			@media(max-width: 600px) {
				display: none;
			}
        }
    }

    &__section {
        display: table-cell;
    }

    &__right {
        text-align: right;
    }


}

.c-album {
    &__left {
        display: inline-block;
        vertical-align: top;
        width: 49.5%;
        padding-right: 25px;
        @media (max-width: 600px) {
            width: 100%;
            padding-right: 0;
        }
    }
    &__right {
        display: inline-block;
        vertical-align: top;
        width: 49.5%;
        @media (max-width: 600px) {
            width: 100%;
            padding-top: 25px;
        }
    }
}

#scroll {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
}

#scroll a {
    padding-top: 70px;
    position: relative;
    color: $grey;
    text-decoration: none;
    font-size: 26px;
}

#scroll a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid $grey;
    border-bottom: 1px solid $grey;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb05 {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}
@keyframes sdb05 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}
.c-form-row {
    margin-bottom: 25px;
}

.c-label {
    @extend .t-p1;
    margin-bottom: 5px;
}

.c-input {
    font-family: 'bebas_neue';
    font-size: 30px;
    border: 0;
    width: 100%;
    border-bottom: 2px solid $black;
    padding: 5px;
}


.c-number-input {
    input {
        width: 75px;
    }

    span {
        display: inline-block;
        @extend .t-p1;
        margin-left: 10px;
    }
}

.c-submit {
    border: 0;
    outline: 0;
    @extend .t-p1;
    @extend .t-p1--invert;
    cursor: pointer;
    font-weight: normal;
    // padding: 5px 15px;
    font-family: 'bebas_neue';
}

.c-table {
    width: 100%;
    margin-bottom: 50px;

    td {
        @extend .t-p1;

        &:last-of-type {
            text-align: right;
        }
    }

    &__border {
        border-top: 1px solid $black;
    }
}

.o-full {
    min-height: calc(100vh - 76px);
}

.disabled {
    cursor: default;
    opacity: 0.2;
}


.red {
    color: red!important;
}

.c-new-nav {
    width: 100%;
    padding: 10px;
    background-color: #b99970;

    &__ul {
        display: flex;
        padding: 0 15px;
        justify-content: center;
        @media (max-width: 600px) {
            justify-content: space-between;
        }
    }

    &__li {
        margin-right: 35px;
        &:last-of-type {
            margin-right: 0;
        }

        @media (max-width: 600px) {
            margin-right: 0px;
        }
    }

    &__a {
        font-family: 'Noto Serif Display', serif;
        text-transform: uppercase;
        color: $black;
        @include font-size(18);
        font-weight: bold;
        display: inline-block;
        padding: 0;
        text-decoration: none;
    }
}