/* Utilities */

@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

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

:root {
    --main-boarder-color: #696867d5;
    --main-background-color: rgb(248, 248, 248);
    --main-white-font-color: rgb(240, 235, 235);
    --main-black-font-color: rgb(41, 39, 39);
    --main-span-color: antiquewhite;
}

body {
    background: var(--main-background-color);
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-size: 16px;
}

.body_container_to_push_footer {
    min-height: 100vh;
    position: relative;
    padding-bottom: 150px;
}

/* Language Switch */

.langSwitch {
    margin: 0px 5px;
    display: flex;
    align-items: center;
}

.langCheck {
    width: 10px;
    /* align-self: center; */
    position: relative;
    margin: 0px 30px 0px 10px;
    top: -5px;
}

.langCheck:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 20px;
    background: rgb(16, 168, 24);
    border-radius: 20px;
    left: -5px;
}

.langCheck:checked:before {
    background: #00a1ff;
}

.langCheck:after {
    content: "";
    position: absolute;
    left: 0px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 20px;
    transition: 0.25s;
    border: 2px solid rgb(16, 168, 24);
    box-sizing: border-box;
    left: -5px;
}

.langCheck:checked:after {
    left: 15px;
    border: 2px solid #00a1ff;
}

/* textarea input focus */

textarea:focus,
input:focus {
    outline: none;
}

/* Footer */
/* touch */

.footer-distributed {
    position: absolute;
    bottom: 0;
    background-color: #ccc;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
}

.footer-distributed .footer-left p {
    color: #8f9296;
    margin: 0;
}
/* Footer links */

.footer-distributed p.footer-links {
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 10px;
    padding: 0;
    transition: ease 0.25s;
}

.footer-distributed p.footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
    transition: ease 0.25s;
}

.footer-distributed .footer-links a:before {
    content: "·";
    font-size: 20px;
    left: 0;
    color: #fff;
    display: inline-block;
    padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
    content: none;
}

.footer-distributed .footer-right {
    float: right;
    margin-top: 6px;
    max-width: 180px;
}

.footer-distributed .footer-right a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #33383b;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-left: 3px;
    transition: all 0.25s;
}

.footer-distributed .footer-right a:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.footer-distributed p.footer-links a:hover {
    text-decoration: underline;
}

/* Media Queries */

@media (max-width: 649px) {
    .footer-distributed .footer-left,
    .footer-distributed .footer-right {
        text-align: center;
    }
    .footer-distributed .footer-right {
        margin: 0 auto 20px;
    }
    .footer-distributed .footer-left p.footer-links {
        line-height: 1.8;
    }
}

@media only screen and (min-width: 650px) {
    h1 {
        font-size: 25px;
    }

    h4 {
        font-size: 12px;
    }

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

    /* Header */
    header {
        background-image: linear-gradient(
                rgba(0, 0, 0, 0.5),
                rgba(0, 0, 0, 0.5)
            ),
            url(images/hero.jpg);
        background-size: cover;
        background-position: center;
        height: 100vh;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        color: var(--main-white-font-color);
        overflow: hidden;
    }

    .hero_textbox {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    header .photo_credit {
        position: absolute;
        top: 96%;
        right: 5%;
    }

    header .photo_credit a {
        color: var(--main-white-font-color);
        font-size: 12px;
    }

    /* Body min-width 650px */

    .body {
        display: flex;
        justify-content: center;
        margin-top: 50px;
        margin-left: 5%;
        margin-right: 5%;
        overflow: hidden;
    }

    .message {
        font-size: 20px;

        position: fixed;
        top: 15%;
        left: 50%;
        width: 300px;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 0.3rem;
        animation: messageFadeOut 5s;
        opacity: 0;
    }

    /* Form */

    .body .form {
        border: 1px solid var(--main-boarder-color);
        border-radius: 10px;
        padding: 10px;
        min-width: 500px;
        max-width: 500px;
    }

    .body .form h2 {
        text-align: center;
    }

    .body .form form .form-group {
        display: flex;
        justify-content: flex-end;
        padding: 0.5em;
    }

    .body .form form .form-group > label {
        flex: 1;
        padding: 0.3em;
    }

    .body .form form .form-group > input {
        flex: 2;
        padding: 0.3em;
        border: 1px solid var(--main-boarder-color);
        border-radius: 10px;
    }

    .body .form form .form-group > button {
        margin: auto;
        padding: 0.5rem;
        background-color: #6060d1;
        color: white;
        border-radius: 10px;
    }

    /* Shop */

    .productContainer {
        display: flex;
        width: 100%;
    }

    .column-1 {
        flex-shrink: 0; /* shrinks to 0 to apply 70% width*/
        flex-basis: 70%; /* sets initial width to 70%*/
    }

    .box {
        background-color: rgba(146, 111, 47, 0);
        padding: 10px;
        margin: 1rem;
    }

    @media only screen and (max-width: 800px) {
        .container {
            flex-direction: column;
        }

        .box {
            margin: 0 0 1rem;
        }
    }

    .productTitle h3 {
        font-size: 16px;
        text-align: left;
        margin-left: 1rem;
    }

    .productTitle p {
        font-size: 16px;
        margin-left: 1rem;
    }

    .productTitle a {
        margin-left: 1rem;
        font-size: 13px;
        text-transform: uppercase;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .productHeader .description {
        font-family: "PT Serif";
        margin-top: 10px;
        font-size: 15px;
        background-color: #fff;
        color: #030e12;
        display: inline-block;
        margin: 25px 0;
        padding: 10px 25px;
        text-decoration: none;
        transition: all 150ms ease-in-out;
    }

    .productsContainer a {
        text-align: left;
        margin-bottom: 15px;
        text-decoration: none;
        border-radius: 40px/50px;
        background-color: white;
        outline: 0;
        padding: 4px;
        color: #030e12;
        border: 1px solid #5bccf6;
        text-align: center;
        cursor: pointer;
        width: 20%;
    }

    .productDescription_li {
        color: #030e12;
        display: inline-block;
        margin: 30px 0;
        padding: 15px 35px;
        text-decoration: none;
        transition: all 150ms ease-in-out;
        font-size: 13px;
        display: flex;
        width: 700px;
        line-height: 100%;
        padding: 5px;
        border-bottom: 1px solid #5bccf6;
    }

    .productDescription_li a {
        text-transform: uppercase;
        color: #030e12;
        font-size: 10px;
        margin-bottom: 10px;
        text-decoration: none;
        margin-left: 20px;
        border-radius: 40px/50px;
        outline: 0;
        padding: 4px;
        border: 1px solid #5bccf6;
        text-align: center;
        cursor: pointer;
        width: 20%;
    }

    .fa {
        color: #030e12;
        margin-right: 10px;
    }

    .productDescription_li .cp_name {
        width: 250px;
        margin-left: 10px;
    }

    .productDescription_li .cp_written_by {
        width: 200px;
    }

    .productDescription_li .cp_price {
        text-transform: uppercase;
    }

    .product {
        display: flex;
        padding: 1rem;
        margin: 1rem;
        /* border: 1px solid var(--main-boarder-color);
    border-radius: 10px; */
    }

    .productHeader img {
        max-width: 200px;
        max-height: 200px;
        width: auto;
        height: auto;
        /* margin-left: 1rem; */
        margin: auto;
        border-radius: 5%;
    }

    .productHeader .description .musicians {
        margin-right: 30px;
    }

    .productSongList {
        padding: 1rem;
        margin-left: 3rem;
    }

    .productDescription_li a {
        margin-left: 20px;
    }

    .productDescription_li {
        display: flex;
    }

    .productDescription_li .cp_name {
        width: 250px;
    }

    .productDescription_li .cp_written_by {
        width: 200px;
    }

    /* Product */
    .product .description {
        margin-left: 50px;
        display: flex;
    }

    .product .description .musicianName {
        margin-left: 5px;
    }

    .product .price {
        margin: 0px 10px;
    }

    /* Checkout */

    .cartItem .purchasedBefore {
        margin-left: 50px;
    }

    /* Dashboard */

    .leftContainer {
        width: 100%;
    }

    .leftContainer h2 {
        margin-bottom: 30px;
    }

    .leftContainer .itemGroup {
        display: flex;
        margin-bottom: 15px;
        padding: 10px;
        border: black 1px solid;
        border-radius: 5px;
    }

    .leftContainer .itemGroup div {
        min-width: 150px;
        margin-right: 5px;
    }

    .leftContainer .itemGroup .purchasedLink {
        margin-right: 10px;
    }

    /* Admin */

    /* adding genres */

    .leftContainer .adminItems {
        margin-bottom: 50px;
    }

    .adminItems form {
        display: inline-block;
        padding: 5px;
        border: 1px solid var(--main-boarder-color);
        border-radius: 5px;
    }

    .adminItems form div {
        margin-bottom: 5px;
        display: flex;
    }

    .adminItems form div label {
        display: inline-block;
        min-width: 130px;
    }

    .adminItems form .submitButton {
        padding: 2px;
        background-color: rgb(60, 50, 250);
        color: white;
    }

    .adminItems form div .input {
        min-width: 250px;
    }

    /* adding musicians */

    .leftContainer .newMusicians {
        margin-bottom: 50px;
    }

    .newMusicians form {
        display: inline-block;
        padding: 5px;
        border: 1px solid var(--main-boarder-color);
        border-radius: 5px;
    }

    .newMusicians form div {
        margin-bottom: 5px;
        display: flex;
    }

    .newMusicians form div label {
        display: inline-block;
        min-width: 130px;
    }

    .newMusicians form .submitButton {
        padding: 2px;
        background-color: rgb(60, 50, 250);
        color: white;
    }

    .newMusicians form div .input {
        min-width: 250px;
    }

    /* adding products */

    .newProducts {
        margin-bottom: 50px;
    }
    .newProducts form {
        display: inline-block;
        padding: 5px;
        border: 1px solid var(--main-boarder-color);
        border-radius: 5px;
    }

    .newProducts form div {
        margin-bottom: 5px;
        display: flex;
    }

    .newProducts form div label {
        display: inline-block;
        min-width: 130px;
    }

    .newProducts form div .input {
        min-width: 250px;
    }

    .newProducts form .inputText {
        min-width: 250px;
        min-height: 100px;
    }

    .newProducts .form .submit {
        display: flex;
    }

    .newProducts form .submitButton {
        padding: 2px;
        background-color: rgb(60, 50, 250);
        color: white;
    }

    .newProducts form .submitButton:hover {
        background-color: rgb(93, 86, 243);
        cursor: pointer;
    }

    .newProducts .productName label {
        margin-right: 5px;
    }

    .existingProduct {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .existingProduct .files {
        margin-left: 10px;
    }

    .existingProduct .update {
        display: flex;
    }

    .existingProduct .update .publish {
        margin-right: 15px;
        padding-top: 2px;
    }

    .existingProduct .removeForm {
        display: flex;
    }

    .existingProduct .removeForm .fileItem {
        margin-right: 10px;
    }

    /* Welcome Page */
    /* touch */
    .full-width-bg {
        background: linear-gradient(
            90deg,
            rgba(41, 39, 39, 0) 0%,
            #fff 13%,
            #ccc 13%,
            #ccc 100%
        );
        width: 100%;
        height: 100%;
    }
    /* touch */
    .helloFromDirector {
        margin: 5% 100px;
        display: flex;
        overflow: hidden;
    }
    /* touch */
    .helloFromDirector img {
        width: 250px;
        height: auto;
        top: 10vh;
        overflow: hidden;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
        background-blend-mode: screen;
    }
    /* touch */
    .helloFromDirector .comment {
        margin: 20px;
    }
    /* touch */
    .playalongApp {
        background: rgb(248, 248, 248);
        border-radius: 2rem;
        padding: 5px;
        margin: 5% 100px;
        display: flex;
        overflow: hidden;
    }
    /* touch */
    .playalongApp img {
        border-radius: 27px;
        box-shadow: 10px 10px 3px #ccc;
        -moz-border-radius: 25px;
        -webkit-border-radius: 25px;
        width: 200px;
        height: auto;
        margin-right: 120px;
    }
    /* touch */
    .playalongApp .comment {
        padding: 5px;
        margin-top: 2rem;
        margin-left: 20%;
        margin-right: 90px;
    }
    /* touch */
    .container {
        margin: 5% 100px;
        background-color: rgb(248, 248, 248);
        border-radius: 2rem;
    }

    /* Jamappios */

    .jamappios p {
        text-align: center;
    }

    .jamappios .img {
        margin-bottom: 100px;
    }
    .jamappios img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 649px) {
    /* Body */

    /* Message */

    .message {
        color: rgb(52, 52, 126);
        font-size: 25px;
        text-align: center;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: messageFadeOut 5s;
        opacity: 0;
    }

    /* Header */

    header {
        height: 200px;
        display: flex;
        overflow: hidden;
    }

    header h4 {
        display: none;
    }

    header h1 {
        position: absolute;
        top: 400px;
        left: 20%;
        z-index: 990;
        color: var(--main-white-font-color);
        font-size: 20px;
    }

    /* Welcome page */

    .helloFromDirector img {
        width: 100%;
        overflow: hidden;
    }

    .filter {
        background: black;
        margin: 3%;
        overflow: hidden;
    }

    .filter-img {
        display: block;
        opacity: 0.5;
        overflow: hidden;
    }

    .comment {
        width: 100%;
        margin: 5%;
    }

    .comment p {
        width: 90%;
    }

    .playalongApp img {
        display: block;
        margin: auto;
        border-radius: 30px;
    }

    /* Forms */

    .form {
        margin-top: 30%;
        margin-left: 5%;
        margin-right: 5%;
        border: 1px solid var(--main-boarder-color);
        padding: 5px;
        border-radius: 15px;
    }

    .form h2 {
        text-align: center;
    }

    .form-group {
        display: flex;
        justify-content: flex-end;
        padding: 0.5em;
    }

    .form-group > label {
        flex: 1;
        padding: 0.3em;
    }

    .form-group > input {
        flex: 2;
        padding: 0.3em;
        border: 1px solid var(--main-boarder-color);
        border-radius: 10px;
        outline: none;
    }

    .form-group > button {
        margin: auto;
        padding: 0.5rem;
        background-color: #6060d1;
        color: white;
        border-radius: 10px;
    }

    /* Cart -> in cart.css */

    /* Shop */

    .productsContainerMaster {
        width: 100%;
    }
    .productsContainer {
        width: 100%;
    }

    .product {
        display: flex;
        padding: 1rem;
        margin: 1rem;
        /* border: 1px solid var(--main-boarder-color);
        border-radius: 10px; */
    }

    .productHeader img {
        display: none;
        /* max-width: 200px;
        max-height: 200px; */
        /* width: 100%;
        height: 100%;
        border-radius: 5%; */
        /* margin-left: 1rem; */
    }

    .productHeader .productTitle .productPrice {
        display: flex;
    }

    .productHeader .productTitle .productPrice a {
        margin-left: 10px;
    }

    .productHeader .description {
        margin: 10px 0px 0px 0px;
        display: flex;
        align-items: flex-end;
    }

    .productHeader .description .musicians {
        margin-right: 30px;
    }

    .productSongList {
        padding: 1rem;
        /* margin-left: 3rem; */
    }

    .productDescription_li a {
        margin-left: 20px;
    }

    .productDescription_li {
        display: flex;
    }

    .productDescription_li .cp_name {
        width: 55%;
    }

    .productDescription_li .cp_written_by {
        display: none;
    }

    .productDescription_li .cp_price {
        margin-left: 10px;
    }

    .productsContainer {
        width: 90%;
        margin: 5%;
    }

    .productsContainer .product {
        border: 1px solid var(--main-boarder-color);
        padding: 5px;
        border-radius: 8px;
        margin: 5px 0px;
    }

    /* Dashboard and Admin */

    .leftContainer {
        width: 90%;
        margin: 5%;
        overflow: hidden;
    }

    /* Dashboard */

    .leftContainer .itemGroup {
        border: 1px solid var(--main-boarder-color);
        padding: 5px;
        border-radius: 8px;
        margin: 5px 0px;
    }

    .leftContainer .newProducts {
        margin: 20px 0px;
    }

    .leftContainer .existingProduct {
        border: 1px solid var(--main-boarder-color);
        padding: 5px;
        border-radius: 8px;
        margin: 5px 0px;
    }

    /* Jamappios */

    .jamappios p {
        text-align: center;
    }

    .jamappios .img {
        margin-bottom: 50px;
        margin-top: 50px;
    }
    .jamappios img {
        width: 100%;
        height: auto;
    }
}
