@font-face {
    font-family: 'Handsome';
    src: url('/public/fonts/Handsome-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Imperial';
    src: url('/public/fonts/ImperialScript-Regular.ttf') format('truetype');
}

.font-cormorant-garamond {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-size: 2.5rem;
  font-weight: 600;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.font-handsome {
    font-family: 'Handsome';
    font-weight: bold;
    font-size: 4rem;
    position: relative;
}

.font-imperial {
    font-family: 'Imperial';
    font-weight: bold;
    font-size: 4rem;
    position: relative;
}

.header-bg {
    height: 100vh;
    background-image: url('/public/images/dudububuguitar2.jpeg');
    background-color: #00000044;
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}

.header-content {
    container-type: size;
    resize: both;
    width: 50vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.header-card {
    width: 85%;
    background-color: #00000088;
    border-style: solid;
    border-width: 2px;
    border-radius: 16px;
    border-color: #ffffffdd;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.header-text {
    float: left;
    z-index: 1;
}

.local-bg {
    width: 100%;
    background-image:url('public/images/espaco-quintal.jpg');
    background-size: cover;
    background-color: #00000088;
    background-blend-mode: overlay;
}

@media (orientation: portrait) {
    .header-bg {
        min-width:100%;
        background-image: url('public/images/dudububuguitar-mobile.jpeg');
        background-size: cover;
    }
    .header-content {
        width: 100vw;
        min-width:60ch;
    }
    .header-card {
        width: 70%;
    }
    .local-bg {
        background-image: url('public/images/espaco-quintal-mobile.jpg');
    }
}

.content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-content: center;
}

.section {
    width: 70%;
    height: auto;
    display: flex;
    align-self: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.horizontal {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.box {
    min-width: 16cqi;
    min-height: 16cqi;
    margin: 1cqi;
    font-size: 1.8cqi;
    background-color: #4682b488;
    border-radius: 8cqi;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.button {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-size: 2rem;
    width: 30ch;
    padding:0.35em;
    color:white;
    border: 2px solid white;
    border-radius: 1em;
    background-color: #00000000;
}

.button:hover {
    background-color: #ffffff22;
}

.button:active {
    background-color: white;
    color: slategray
}

input {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-size: 2rem;
    width: 30ch;
    padding:0.35rem;
    margin: 0.5rem;
    color:white;
    border: 2px solid white;
    border-radius: 0.5em;
    background-color: #00000000;
}

.blinking {
  animation: blinkingText 4s infinite;
}

@keyframes blinkingText {
  0% { color: transparent; }
  25% { color: white; }
  75% { color: white; }
  100% { color: transparent; }
}

.gallery {
    width:100vw;
    height: 40vw;
    display: flex;
    gap: 4vw;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin-top: 8rem;
    margin-bottom: 8rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.gallery-item {
    list-style-type: none;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    flex: 0 0 33%;
    padding: 2rem;
}

.gallery-item img {
    max-height: 100%;
    box-shadow: 1rem 1rem 2rem;
    border-radius: 2rem;
    object-fit: cover;
}

@media (orientation: portrait) {
    .gallery {
        height: 80vw;
    }
    .gallery-item {
        flex: 0 0 100%;
    }
}

ul::scroll-button(*) {
  border: 0;
  font-size: 2rem;
  background: none;
  color: black;
  opacity: 0.7;
  cursor: pointer;
}
ul::scroll-button(left) {
  content: "◄";
}

ul::scroll-button(right) {
  content: "►";
}

ul {
  anchor-name: --my-carousel;
}
ul::scroll-button(*) {
  position: absolute;
  position-anchor: --my-carousel;
}
ul::scroll-button(left) {
  right: calc(anchor(left) - 70px);
  bottom: calc(anchor(top) + 13px);
}

ul::scroll-button(right) {
  left: calc(anchor(right) - 70px);
  bottom: calc(anchor(top) + 13px);
}

ul::scroll-button(*):hover,
ul::scroll-button(*):focus {
  opacity: 1;
}

ul::scroll-button(*):active {
  translate: 1px 1px;
}

ul::scroll-button(*):disabled {
  opacity: 0.2;
  cursor: unset;
}*/
