/*
Theme Name: Dado Magnelli
Theme URI: 
Author: @thiagocanto
Author URI: 
Description: 
Requires at least: 6.1
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: dadomagnelli
Tags:
*/

body {
    --main-bg-color: #EFEEDB;
    --main-font-color: #144B79;
    --header-bg-color: #144B79;
    --header-font-color: #EFEEDB;
    --transparent-white: rgb(239, 238, 219, 0.3);
    --body-hover-color: rgba(20, 77, 123, 0.30);
    --detail-color: rgba(20, 75, 121, 0.2);

    font-family: 'Roboto Flex', 'Verdana';
    margin: 0;
    background: var(--main-bg-color);
    color: var(--main-font-color);
}

header {
    color: var(--header-font-color);
    width: 100dvw;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 15;
    overflow: hidden;
}
header.open {
    overflow: visible;
}
header .bg-container {
    background: var(--header-bg-color);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
}
.admin-bar header {
    top: 2rem;
}
h1, h2, h3 {
    margin: 0;
    font-weight: 100;
}
h1 a, h2 a, h3 a, h4 a {
    color: inherit;
    text-decoration: none;
}
h1 {
    font-size: 2rem;
    letter-spacing: 0.0625rem;
}
h2 {
    font-size: 1.75rem;
}
h3 {
    font-size: 3.875rem;
    font-weight: 600;
    position: relative;
}
h3 span {
    font-size: 1.75rem;
    display: block;
    position: absolute;
    right: 0;
    bottom: 1.75rem;
    letter-spacing: 0.125rem;
}
h4 {
    font-size: 2.375rem;
    font-weight: bold;
}
h5 {
    font-size: 1.75rem;
    font-weight: bold;
}
header .header-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 1.5625rem 1.5rem;
    box-sizing: border-box;
    z-index: 2;
}
header nav {
    position: absolute;
    margin-left: -1.75rem;
    top: 5.4375rem;
    left: -30rem;
    width: 100dvw;
    display: block;
    background-color: var(--header-bg-color);

    align-items: center;
    gap: 7.375rem;
    transition: left 0.3s;
}
header.open nav {
    left: 1.75rem;
    transition: left 0.15s;
}
header button.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: transparent;
    border: 0;
}
header button.burger-menu span {
    display: block;
    background: var(--header-font-color);
    height: 0.375rem;
    width: 2.5rem;
    border-radius: 0.5rem;
    transition: opacity 0.5s;
}
header.open button.burger-menu span:nth-child(1),
header.open button.burger-menu span:nth-child(3) {
    opacity: 0;
    transition: opacity 0.15s;
}
header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: capitalize;
    border-top: 1px solid var(--header-font-color);
}
header li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--header-font-color);
    padding: 1rem 0;
}
header ul a {
    color: inherit;
    text-decoration: none;
    display: block;
    position: relative;
    font-weight: 100;
    font-size: 1.5rem;
}

.button {
    display: flex;
    min-width: 13.75rem;
    width: fit-content;
    box-sizing: border-box;
    color: inherit;
    padding: 1.125rem 2rem;
    border: 0.0625rem solid var(--main-font-color);
    border-radius: 4rem;
    text-decoration: none;;
    text-wrap: nowrap;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s ease-in-out;
    gap: 0.3125rem;
}
.button:hover {
    background-color: var(--header-bg-color);
    color: var(--header-font-color);
}

section {
    max-width: 100dvw;
    min-height: 15rem;
    margin: auto;
    padding: 3rem 1.5rem 0;
}
section h3 {
    padding-bottom: 3rem;
}
section h4 {
    margin: 3rem 0 0;
    padding-bottom: 0.8125rem;
}
section#release p {
    font-size: 1.125rem;
    font-weight: 200;
}
section#release .actions,
section#galeria .actions {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
}
#galeria h3 span {
    left: 8.75rem;
}

.copyright {
    font-size: 0.6875rem;
    color: var(--header-font-color);
    background: var(--header-bg-color);
    padding: 0.6875rem 0 0.6875rem 1.5rem;
    display: flex;
    justify-content: center;
}
.copyright span {
    display: block;
    width: 75rem;
}

#slideshow {
    position:relative;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 0;
    max-width: none;
}
.admin-bar #slideshow {
    height: calc(100dvh - 2rem);
    overflow: hidden;
}
#slideshow .slideshow-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
#slideshow .slideshow-img > img {
    width: 100%;
    opacity: 0;
}
#slideshow .swiper {
    max-width: 100%;
    height: 100%;
}
#slideshow h2 {
    color: var(--header-font-color);
    position: absolute;
    max-width: 27.75rem;
    padding: 1.75rem;
    bottom: 6.875rem;
    z-index: 5;
}
#slideshow button {
    position: absolute;
    bottom: 1.75rem;
    width: 3.375rem;
    height: 3.375rem;
    cursor: pointer;
    color: var(--header-font-color);
    background: transparent;
    border: 0.0625rem solid var(--header-font-color);
    border-radius: 50%;
}
#slideshow button img {
    max-width: 1rem;
    min-height: unset;
    height: 0.625rem;
}

.schedule {
    width: 100%;
}
.schedule tr:has(a) {
    cursor: pointer;
}
.schedule tr:hover {
    background-color: var(--body-hover-color);
}
.schedule tr:first-child td {
    border-top: 0.0625rem solid var(--body-hover-color);
}
.schedule td {
    border-bottom: 0.0625rem solid var(--body-hover-color);
    height: 3.0625rem;
    font-size: 0.8125rem;
}
.schedule td p {
    margin: 0;
}
.schedule td .desc,
.schedule td .desc span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.schedule td .desc {
    padding: 0.5rem 0;
}
.schedule td:nth-child(1) {
    width: 6.25rem;
}
.schedule td:nth-child(2) {
    width: 6rem;
}
.schedule td:nth-child(4) {
    display: none;
}
.schedule td:nth-child(5) {
    display: none;
}
.schedule tr:hover td {
    /* border-color: var(--main-font-color); */
}
.schedule a {
    font-family: "Inter", sans-serifl;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: inherit;
    background: transparent;
    text-decoration: none;
}
.schedule a:hover {
    text-decoration: none;
}
.schedule td:last-child {
    text-align: right;
}


.services-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 4rem;
}
.services-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: calc(100dvw - 3rem);
}
.services-item h5 {
    margin: 0;
}
.services-item p {
    margin: 0;
}

.gallery-wrapper {
    display: flex;
    justify-content: space-between;
}

.wp-block-post-excerpt {
    padding-bottom: 1rem;
}
figure.wp-block-gallery,
.wp-block-file {
    display: none;
}


.album {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 7.3125rem 0 2.75rem;
    border-bottom: 0.0625rem solid var(--main-font-color);

    flex-direction: column;
}
.album:nth-child(2) {
    margin-top: -2.9375rem;
}
.album:last-child {
    border: 0;
    padding-bottom: 7rem;
}

.album .info {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}
.album .info .gallery {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 20.9375rem;
    overflow: hidden;
    margin-bottom: 1rem;
}
#slideshow .swiper .swiper-pagination-bullet,
.album .info .gallery .swiper-pagination-bullet {
    width: 1.0625rem;
    height: 1.0625rem;
}
#slideshow .swiper .swiper-pagination-bullet-active,
.album .info .gallery .swiper-pagination-bullet-active {
    background: #FFF;
}
.album .info .gallery .swiper-button-prev svg,
.album .info .gallery .swiper-button-next svg {
    width: 1.1875rem;
    color: #FFF;
}
.album .info .gallery img {
    max-height: 100%;
}
.album .info .props {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-style: italic;
    font-size: 0.9375rem;
}
.album .info .props :last-child {
    font-size: 0.8125rem;
    margin: 0;
}
.album .songs {
    max-width: 90dvw;
    margin-top: 0.8125rem;
    padding-left: 1.25rem;
}
.album .songs li {
    position: relative;
    counter-increment: song-list;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.album .songs li a {
    text-decoration: none;
    padding-left: 1.1875rem;
    line-height: 1.375rem;
    color: inherit;
    width: 100%;
}
.album .songs li a.downloadable:hover {
    text-decoration: underline;
}
.album .songs li::before {
    content: "" counter(song-list) " ";
    margin-right: 1.1875rem;
    font-weight: bold;
    position: absolute;
    top: 0.125rem;
    width: 1.5rem;
    text-align: right;
    left: -1.5rem;
}
.album .songs li span {
    float: right;
    font-style: italic;
    font-size: 0.8125rem;
}
.album .songs li span.download::after {
    content: '';
    display: block;
    width: 0.0625rem;
    height: 0.0625rem;
    background: transparent;
    position: absolute;
    bottom: -0.5rem;
    left: 1.25rem;
    border-top: 0.5rem solid var(--header-bg-color);
    border-right: 0.5rem solid transparent;
    border-left: 0.5rem solid transparent;
}
.album .songs li span.download {
    position: absolute;
    top: -2rem;
    left: 50%;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--header-bg-color);
    color: var(--header-font-color);
    white-space: nowrap;
    font-size: 0.9375rem;
    font-style: normal;
    transform: translateX(-30%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.album .songs li a.disabled {
    cursor: default;
}
.album .songs li a:hover .download {
    opacity: 1;
}
.album .streaming {
    max-width: 90dvw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.album .streaming h5 {
    margin: 0.9375rem 0 1.8125rem;
}
.album .streaming ul {
    list-style: none;
    padding: 0;
}
.album .streaming li {
    font-size: 1.25rem;
}
.album .streaming li.disabled {
    color: var(--body-hover-color);
}
.album .streaming li a {
    color: inherit;
    cursor: default;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.75rem;
}
.album .streaming li:not(.disabled) a {
    cursor: pointer;
}
.album .streaming li:not(.disabled) a:hover {
    color: var(--header-font-color);
}
.album .streaming .button {
    margin: 2rem 0 0;
}
    
.album h4 {
    margin: 0;
    padding: 0;
    font-size: 1.75rem;
    max-width: 15rem;
}

.discography-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.discography-swiper {
    box-sizing: border-box;
    margin: 0 auto;
    width: 66.5rem;
}
.discography-item {
    display: flex;
    flex-direction: column;
    max-width: 21.25rem;
    gap: 0.25rem;
    position: relative;
    color: var(--main-font-color);
    text-decoration: none;
}
.discography-item:visited {
    color: var(--main-font-color);
}
.discography-item__image {
    position: relative;
}
.discography-item__image img {
    max-width: 100%;
    display: block;
}
.discography-item__image::after {
    content: '+';
    display: flex;
    opacity: 0;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: bold;
    background: var(--body-hover-color);
    color: var(--header-font-color);
    transition: opacity 0.3s;
}
.discography-item:hover .discography-item__image::after {
    opacity: 1;
}
.discography-item h5 {
    margin: 0;
}
.discography-item span {
    font-style: italic;
    font-size: 0.9375rem;
    padding-top: 0.75rem;
}


.discography-wrapper .swiper-button-prev,
.discography-wrapper .swiper-button-next {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 19px 35px;
    top: 40% !important;
}
.discography-wrapper .swiper-button-prev svg,
.discography-wrapper .swiper-button-next svg {
    width: 1.1875rem;
    color: #FFF;
}

footer {
    max-width: 100dvw;
    margin: auto;
    padding: 4rem 1.5rem;
}
.footer-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer > h4 {
    margin: 0;
    padding: 0.875rem 0;
    border-bottom: 0.0625rem solid var(--detail-color);
}

footer form {
    display: flex;
    flex-direction: column;
}
.footer-wrapper h4 {
    margin: 2.5rem 0 1.75rem;
    font-size: 1.75rem;
}
footer .social,
footer .streaming {
    display: flex;
    flex-direction: column;
    width: 45%;
}
.streaming ul,
.social ul {
    list-style: none;
    padding: 0;
    line-height: 1.75rem;
}
.streaming ul a,
.social ul a {
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--main-font-color);
}
.streaming ul :not(.disabled) a:hover,
.social ul :not(.disabled) a:hover {
    color: var(--main-bg-color);
    background: var(--main-font-color);
}

footer form {
    display: flex;
    flex-direction: column;
    max-width: 22.875rem;
    gap: 0.625rem;
}
footer form p {
    margin: 0;
}
footer form p:nth-child(2) {
    padding-top: 2.5rem;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 0.625rem;
}
footer form p:nth-child(3) {
    display: flex;
    flex-direction: row-reverse;
}
footer form p span {
    display: flex;
    flex-direction: column;
}
footer form p span span {
    padding: 0.5rem 1.5rem 0;
}
.wpcf7-not-valid-tip {
    font-size: 0.75rem;
}
footer form br {
    display: none;
}
footer form span {
    width: 100%;
    display: flex;
}
form input,
form textarea,
form button {
    font-size: 0.9375rem;
    background: transparent;
    color: var(--main-bg-color);
    border: 0.0625rem solid var(--main-bg-color);
    border-radius: 2rem;
    box-sizing: border-box;
}
form input {
    width: 100%;
    line-height: 2.625rem;
    padding: 0 1.375rem;
}
form textarea {
    width: 100%;
    line-height: 1.5rem;
    padding: 0.625rem 1.375rem;
    min-height: 9.875rem;
}
form input[type=submit] {
    width: 7.5625rem;
    line-height: 2.625rem;
    cursor: pointer;
    font-size: 1rem;
}

form .wpcf7-response-output {
    margin: 0.5rem;
}

footer form input,
footer form textarea,
footer form button {
    color: var(--main-font-color);
    border-color: var(--main-font-color);
}


.buy-album {
    z-index: 10;
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    max-width: 44.4375rem;
    padding: 1.4375rem;
    border-radius: 1.5rem;
    background: var(--header-bg-color);
    color: var(--header-font-color);
    opacity: 0;
    transition: opacity 0.2s;
}
.buy-album .close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.buy-album .close button {
    border: 0;
    border-radius: 2rem;
    background-color: var(--header-font-color);
    color: var(--header-bg-color);
    height: 2rem;
    width: 2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.buy-album .close button svg {
    width: 1.5rem;
}
.buy-album.visible {
    opacity: 1;
}
.buy-album h4 {
    margin: 0;
}
.buy-album > p {
    float: left;
    max-width: 15rem;
    font-size: 0.9375rem;
    line-height: 1.375rem;
}
.buy-album .wpcf7 {
    margin-top: 8rem;
}
.buy-album .wpcf7 .wpcf7-spinner {
    display: none;
}
.buy-album form {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-direction: column;
}
.buy-album input::placeholder {
    color: var(--header-font-color);
}
.buy-album .wpcf7 form > p:nth-child(2) {
    min-width: 15rem;
    margin: 0;
}
.buy-album .wpcf7 form > p:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5625rem;
}
.buy-album .wpcf7 form > p:nth-child(3) > span {
    width: 100%;
}
.buy-album .wpcf7 form > p:nth-child(3) br { 
    display: none;
}
.buy-album .wpcf7 form > p:nth-child(2) .wpcf7-checkbox{
    display: flex;
    flex-direction: column;
    line-height: 1.625rem;
    font-size: 1.0625rem;
    font-weight: 800;
}
.buy-album .wpcf7 form .wpcf7-not-valid-tip {
    position: absolute;
    width: 100%;
    background: var(--main-bg-color);
    padding: 0.9375rem;
    border-radius: 1.5rem;
    color: #d04b19;
    z-index: 2;
    bottom: 0;
    right: 0;
    pointer-events: none;
    box-sizing: border-box;
}
.buy-album .wpcf7 form .wpcf7-response-output{
    position: absolute;
    width: 32rem;
    bottom: 2.4375rem;
    right: 11rem;
    line-height: 1.625rem;
    font-size: 0.8125rem;
    margin: 0;
    padding: 0.5625rem 1.75rem;
    border: 0;
    border-radius: 2rem;
    background: var(--main-bg-color);
    color: var(--main-font-color);
}
.buy-album .wpcf7 form.invalid .wpcf7-response-output {
    background: var(--main-bg-color);
    color: #d04b19;
}

form span[data-name="album"] > span {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
form span[data-name="album"] .wpcf7-list-item {
    display: flex;
    gap: 0.8125rem;
    margin: 0;
    position: relative;
    cursor: pointer;
}
form span[data-name="album"] .wpcf7-list-item::before,
form span[data-name="album"] .wpcf7-list-item::after {
    position: absolute;
    display: block;
    content: '';
    border-radius: 1.5rem;
    pointer-events: none;
}
form span[data-name="album"] .wpcf7-list-item::before {
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--main-bg-color);
    top: 0.25rem;
    left: 0.25rem;
}
form span[data-name="album"] .wpcf7-list-item::after {
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--main-font-color);
    top: 0.5rem;
    left: 0.5rem;
    opacity: 0;
}

form span[data-name="album"] > span input {
    width: 1.25rem;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
}
form span[data-name="album"] .wpcf7-list-item:has(input:checked)::after {
    opacity: 1;
}
pre {
    visibility: hidden;
}

@media (min-width: 769px) {
    h1 {
        font-size: 2.375rem;
    }
    h3 {
        font-size: 4.875rem;
    }
    h3 span {
        font-size: 2.25rem;
        left: 15.4375rem;
        bottom: 2.5rem;
    }

    header {
        position: fixed;
    }
    header .header-wrapper {
        width: 75rem;
    }
    header nav {
        display: flex;
        position: static;
        top: auto;
        margin-left: auto;
        right: auto;
        width: auto;
        align-items: center;
        background-color: transparent;
    }
    header button.burger-menu {
        display: none;
    }
    header .bg-container {
        background: var(--header-bg-color);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        opacity: 0;
    }

    header ul {
        gap: 2.5em;
        flex-direction: row;
        border: 0;
    }
    header ul li {
        border: 0;
        padding: 0;
    }
    header ul a {
        font-weight: 300;
        font-size: 1rem;
    }
    header ul a::before {
        content: '';
        display: block;
        height: 0.4375rem;
        width: 0;
        background-color: var(--header-font-color);
        position: absolute;
        top: -0.9375rem;
        right: 0;
        transition: width 0.3s ease-out;
    }
    header ul a:hover::before,
    header ul .current-menu-item a::before {
        width: calc(100% + 1.25rem);
    }
    section {
        max-width: 75rem;
        padding: auto;
        padding-top: 11.25rem
    }
    section h3 {
        padding-bottom: 3.75rem;
        margin-left: 18.75rem;
    }
    section h4 {
        margin: 3rem 0 0;
        padding-bottom: 0.8125rem;
    }

    section#release p {
        font-size: 1.375rem;
    }

    section#release .actions,
    section#galeria .actions {
        flex-direction: row;
    }

    .schedule td {
        font-size: 1rem;
    }
    .schedule td .desc span {
        display: none;
    }
    .schedule td:nth-child(4) {
        display: table-cell;
        width: 12rem;
    }
    .schedule td:nth-child(5) {
        display: table-cell;
        width: 10rem;
    }

    .services-wrapper {
        flex-direction: row;
        gap: 1.125rem;
    }
    .services-item {
        width: 23.125rem;
    }

    section#release p {
        margin: 0 6.5rem 0 18.75rem;
        line-height: 1.875rem;
    }

    section#release .actions,
    section#galeria .actions {
        margin-left: 18.75rem;
    }

    .album {
        flex-direction: row;
    }
    .album .info {
        width: 21.25rem;
    }
    .album .songs {
        width: 20rem;
        padding-left: auto;
    }
    .album .streaming {
        width: 27.5rem;
        align-items: center;
    }
    .album .streaming .button {
        margin: 8.75rem 0 0;
    }

    .buy-album {
        right: 4.375rem;
        bottom: 0.5rem;
        max-width: 44.4375rem;
        padding: 2.4375rem;
    }
    .buy-album form {
        flex-direction: row;
    }
    .buy-album .wpcf7 form > p:nth-child(3) {
        margin: -10rem 0 0;
    }

    form input,
    form textarea,
    form button {
        font-size: 1rem;
    }

    footer {
        max-width: 75rem;
        min-height: 15rem;
        padding-top: 15rem;
        padding-bottom: 5rem;
    }
    .footer-wrapper > * {
        min-width: 17rem;
    }
    footer .social,
    footer .streaming {
        display: flex;
        flex-direction: column;
        width: auto;
    }
    .copyright {
        font-size: 0.8125rem;
        padding: 0.6875rem 0;
    }
}