@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Raleway:wght@100..900&display=swap');

/* Html Tags ______________________ */

body {
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 13px !important;
    line-height: 2em;
}

p {
    margin-bottom: 60px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body, p, ul {
    font-size: 13px;
}

small,
a.mahawa {
    font-size: 12px;
}

a {
    text-decoration: none;
}

.btn, #ddmenu a {
    -webkit-transition: opacity .3s ease-out;
    -moz-transition: opacity .3s ease-out;
    -ms-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}

small, a:hover, a.btn:hover, a.mahawa:hover img {
    filter: alpha(opacity=75);
    opacity: .75;
}

.clearfix {
    clear: both;
}

/* Colors ______________________ */

body, .pin a, h1, h2, h3, h4, h5, h6 {
    color: #4a4a4a;
}

#ddmenu a, #book h1, #book p, #footer *, .pin h5 {
    color: #fff;
}

a, #ddmenu li.active a, #book h1 span, .pin a:hover, #musicologist i, #student i {
    color: #c10000;
}

/* Typography ______________________ */

h1 {
    font-size: 60px;
}

h1, h2, h3, h4, h5, h6, #ddmenu, .btn {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.5em;
    margin: 0 0 60px;
}

h1 span, h2 span, h3 span, h4 span {
    color: #999;
}

body, h1, h2, h3, h4, h5, h6, #ddmenu a, a.btn, #musicologist h4 span, #footer a {
    font-weight: 300;
}

h2, h3, h4, h1 span, h2 span, h3 span, h4 span {
    font-weight: 400;
}

a, #ddmenu ul li.active a {
    font-weight: 700;
}

/* Header ______________________ */

#header {
    background-color: rgba(0, 0, 0, 0.85);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
    height: 60px;
    padding: 10px 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
}

#header img {
    height: 40px;
    width: 209px !important;
}

#ddmenu {
    margin-top: 10px;
    float: right;
}

#ddmenu ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

#ddmenu ul li {
    cursor: pointer;
    float: left;
    font-size: 14px;
    font-style: normal;
    line-height: 14px;
    padding: 0 30px;
}

#ddmenu ul li:first-child {
    padding-left: 0;
}

#ddmenu ul li:last-child {
    padding-right: 0;
}

/* Hero ______________________ */

.hero{
    background-image: url('../img/bg-hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

/* Footer ______________________ */

#footer {
    background-color: #000;
    background-image: url("../img/bg-footer.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
}

#footer .title hr {
    border-top: 1px solid rgba(255, 255, 255, .3);
}

#footer .social-links {
    display: flex;
    justify-content: space-between;
    margin: 10px 0px;
}

#footer .social-links a i {
    font-size: 1.5em;
}

#footer a:hover {
    color: rgba(255, 255, 255, .5);
}

.mahawa {
    font-weight: 300;
    opacity: .75;
}

.mahawa img {
    height: 16px;
    margin: -3px 6px 0 0;
    width: 16px;
}

/* General Section ______________________ */

.section {
    background-color: #fff;
    background-attachment: scroll;
    display: block;
    padding: 150px 0;
    position: relative;
    z-index: 1;
}

.section h2, .section h3 {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 48px;
}

.title hr {
    border: 0;
    border-top: 1px solid #e6e6e6;
    margin-top: 30px;
}

.paper-section {
    background-image: url("../img/bg-paper.png");
}

.paper-section hr {
    border-top: 1px solid #ccc;
}

/* Book ______________________ */

#first-section {
    background-color: transparent;
    padding-bottom: 0;
}

#home #first-section {
    height: 640px;
}

#video-slider-wrapper {
    box-shadow: 0px 3px 3px rgba(0, 0, 0, .25);
    display: block;
    margin: -450px 0 4em;
    padding: 0px;
}

#book h1 {
    font-size: 54px;
    line-height: 1.25em;
    margin: 0;
}

#book img {
    background-color: #fff;
    max-width: 240px;
    padding: 5px;
    width: 100%;
}

/* Red y Publicaciones ______________________ */

.mm-item {
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.mm-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-item img {
    border-radius: 100%;
}

.mm-item .large-2 img {
    height: 128px;
    width: 128px;
}

.mm-item h3, .mm-item h4, .mm-item p {
    margin: 0;
}

.mm-item h4 {
    margin-bottom: 5px;
}

.no-border {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Clases */

.pinterest {
    -webkit-column-count: 4;
    -webkit-column-gap: 10px;

    -moz-column-count: 4;
    moz-column-gap: 10px;

    column-count: 4;
    column-gap: 10px;
}

.pin {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(34, 25, 25, 0.25);

    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;

    display: inline-block;
    margin: 0 2px 20px;
}

.pin img {
    border-radius: 6px 6px 0 0;
}

.pin h5 {
    font-weight: 400;
    text-shadow: 0px 1px 1px #000;
    margin: -32px 10px 12px;
}

.pin ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pin ul li {
    border-bottom: 1px solid #f5f5f5;
}

.pin ul li:last-child {
    border-bottom: none
}

.pin ul li a {
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 5px 10px;
}

/* Red */

#musicologist .mm-item img {
    height: 48px;
    width: 48px;
}

#musicologist h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    text-transform: none;
}

#musicologist i {
    margin-left: 6px;
}

#musicologist a:hover {
    text-decoration: underline;
}

#musicologist .no-border {
    border-bottom: none;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

/* Buttons ______________________ */

a.btn {
    background-color: #c10000;
    cursor: pointer;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    line-height: 20px;
    padding: 20px;
    text-align: left;
    text-transform: uppercase;
}

.btn span {
    font-weight: 700;
}

.btn i {
    color: #fff;
    float: right;
    line-height: 20px;
    margin-left: 10px;
}

.btn .fa-youtube {
    font-size: 30px;
}

/* Background slider */

.cb-slideshow,
.cb-slideshow:after {
    height: 1200px;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 0;
}

.cb-slideshow:after {
    content: '';
    background: transparent url("../img/pattern.png") repeat top left;
}

.cb-slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 36s linear infinite 0s;
    -moz-animation: imageAnimation 36s linear infinite 0s;
    -o-animation: imageAnimation 36s linear infinite 0s;
    -ms-animation: imageAnimation 36s linear infinite 0s;
    animation: imageAnimation 36s linear infinite 0s;
}

.cb-slideshow li:nth-child(1) span {
    background-image: url("../img/1.jpg");
}

.cb-slideshow li:nth-child(2) span {
    background-image: url("../img/2.jpg");
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -o-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}

.cb-slideshow li:nth-child(3) span {
    background-image: url("../img/3.jpg");
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    -o-animation-delay: 12s;
    -ms-animation-delay: 12s;
    animation-delay: 12s;
}

.cb-slideshow li:nth-child(4) span {
    background-image: url("../img/4.jpg");
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    -o-animation-delay: 18s;
    -ms-animation-delay: 18s;
    animation-delay: 18s;
}

.cb-slideshow li:nth-child(5) span {
    background-image: url("../img/5.jpg");
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    -o-animation-delay: 24s;
    -ms-animation-delay: 24s;
    animation-delay: 24s;
}

.cb-slideshow li:nth-child(6) span {
    background-image: url("../img/6.jpg");
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    -o-animation-delay: 30s;
    -ms-animation-delay: 30s;
    animation-delay: 30s;
}

/* Animation for the slideshow images */

@-webkit-keyframes imageAnimation {
    0% {
        opacity: 0;
        -webkit-animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        -webkit-transform: scale(1.05);
        -webkit-animation-timing-function: ease-out;
    }
    17% {
        opacity: 1;
        -webkit-transform: scale(1.1);
    }
    25% {
        opacity: 0;
        -webkit-transform: scale(1.1);
    }
    100% {
        opacity: 0
    }
}

@-moz-keyframes imageAnimation {
    0% {
        opacity: 0;
        -moz-animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        -moz-transform: scale(1.05);
        -moz-animation-timing-function: ease-out;
    }
    17% {
        opacity: 1;
        -moz-transform: scale(1.1);
    }
    25% {
        opacity: 0;
        -moz-transform: scale(1.1);
    }
    100% {
        opacity: 0
    }
}

@-o-keyframes imageAnimation {
    0% {
        opacity: 0;
        -o-animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        -o-transform: scale(1.05);
        -o-animation-timing-function: ease-out;
    }
    17% {
        opacity: 1;
        -o-transform: scale(1.1);
    }
    25% {
        opacity: 0;
        -o-transform: scale(1.1);
    }
    100% {
        opacity: 0
    }
}

@-ms-keyframes imageAnimation {
    0% {
        opacity: 0;
        -ms-animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        -ms-transform: scale(1.05);
        -ms-animation-timing-function: ease-out;
    }
    17% {
        opacity: 1;
        -ms-transform: scale(1.1);
    }
    25% {
        opacity: 0;
        -ms-transform: scale(1.1);
    }
    100% {
        opacity: 0
    }
}

@keyframes imageAnimation {
    0% {
        opacity: 0;
        animation-timing-function: ease-in;
    }
    8% {
        opacity: 1;
        transform: scale(1.05);
        animation-timing-function: ease-out;
    }
    17% {
        opacity: 1;
        transform: scale(1.1);
    }
    25% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0
    }
}

.no-cssanimations .cb-slideshow li span {
    opacity: 1;
}

/* Video ______________________ */

.video-container {
    background-color: #fff;
    margin: 40px 0 0;
    padding: 2%;
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Media Queries */

/* min 641px - max 1024px */

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    #header {
        height: 100px;
        padding: 10px 0;
        text-align: center;
    }

    #ddmenu {
        float: none;
        margin-top: 15px;
    }

    #ddmenu ul li {
        width: 25%;
    }
}

@media only screen and (max-width: 880px) {
    #video-slider-wrapper {
        display: none;
    }
}

/* max 640px */

@media only screen and (max-width: 40em) {

    #video-slider-wrapper {
        display: none !important;
    }

    #ddmenu {
        margin-top: 0px;
    }

    #ddmenu ul {
        position: absolute;
        display: none;
        left: 0;
        width: 100%;
    }

    #ddmenu ul li {
        background-color: rgba(0, 0, 0, 0.85);
        border-bottom: 1px solid #666;
        position: relative;
        display: block;
        float: none;
        text-align: center;
        padding: 0;
        width: 100% !important;
    }

    #ddmenu ul li:last-child {
        border-bottom: none;
    }

    #ddmenu ul li a {
        display: block;
        padding: 15px;
    }

    #ddmenu div.menu-icon {
        cursor: pointer;
        display: block;
        font-size: 24px;
        height: 30px;
        margin: -35px 0 15px auto;
        position: relative;
        outline: 0;
        text-align: center;
        width: 30px;
    }

    #ddmenu div.menu-icon::before {
        border-top: 0.375em double #fff;
        border-bottom: 0.125em solid #fff;
        box-sizing: content-box;
        content: "";
        left: 3px;
        position: absolute;
        height: 0.125em;
        top: 0.25em;
        width: 1em;
    }

    .section {
        padding: 60px 0;
        text-align: center;
    }

    .section hr {
        display: none;
    }

    h1 {
        font-size: 40px;
        margin-top: 20px;
        line-height: 1.2em;
    }

    h4 span,
    .mus-email {
        display: block;
    }

    h1,
    p,
    #book img,
    #book h1,
    .section h2,
    .section h3 {
        margin-bottom: 30px;
    }

    #book h1,
    .section h2 {
        font-size: 24px;
    }

    .section h3 {
        font-size: 18px;
    }

    #book {
        margin-top: 60px;
        padding: 30px;
        text-align: center;
    }

    #book img {
        max-width: 200px;
    }

    .large-2 a.btn {
        font-size: 14px;
        margin: 20px auto 0;
    }

    .pinterest {
        -webkit-column-count: 1;
        -webkit-column-gap: 0;

        -moz-column-count: 1;
        -moz-column-gap: 0;

        column-count: 1;
        column-gap: 0;

    }

    .pin {
        display: block;
        margin: 0 auto 20px;
        width: 290px;
    }

    .pin img {
        border-radius: 100%;
        height: 100px;
        margin-top: 10px;
        width: 100px;
    }

    .pin h5 {
        background-color: rgba(0, 0, 0, 0.85);
        font-size: 24px;
        font-weight: 400;
        text-shadow: 0px 1px 1px #000;
        margin: -70px 10px 40px;
        position: relative;
        text-shadow: none;
        z-index: 10;
    }

    .pin ul li a {
        padding: 15px 10px;
    }

    #footer {
        background-image: none;
        height: auto;
        padding: 30px 0;
    }

    #footer .social-links {
        justify-content: space-evenly;
    }

}