@tailwind base;
@tailwind components;
@tailwind utilities;




@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-Bold.woff2') format('woff2'),
        url('fonts/BaiJamjuree-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-ExtraLight.woff2') format('woff2'),
        url('fonts/BaiJamjuree-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-BoldItalic.woff2') format('woff2'),
        url('fonts/BaiJamjuree-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-Italic.woff2') format('woff2'),
        url('fonts/BaiJamjuree-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-ExtraLightItalic.woff2') format('woff2'),
        url('fonts/BaiJamjuree-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-LightItalic.woff2') format('woff2'),
        url('fonts/BaiJamjuree-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-Light.woff2') format('woff2'),
        url('fonts/BaiJamjuree-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-MediumItalic.woff2') format('woff2'),
        url('fonts/BaiJamjuree-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-Regular.woff2') format('woff2'),
        url('fonts/BaiJamjuree-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-Medium.woff2') format('woff2'),
        url('fonts/BaiJamjuree-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-SemiBoldItalic.woff2') format('woff2'),
        url('fonts/BaiJamjuree-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fonts/BaiJamjuree-SemiBold.woff2') format('woff2'),
        url('fonts/BaiJamjuree-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}








/* Header and footer */
body > header{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow:0px 0px 5px #333;
}
body > header,
body > footer{
    background-color: #000;
    color: #FFF;
}
body > header .ativo{
    font-size: 120%;
    font-weight: 600;
}

/* Supress google translate window */
body{
    top: 0px !important;
}
.skiptranslate{
    display: none;
}





/* Container */
.my-container {
    width: 100%;
    margin: auto;
}
@media (max-width: 768px) {
    .my-container{
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
@media (min-width: 640px) {
    .my-container {
        max-width: 640px;
    }
}
@media (min-width: 768px) {
    .my-container {
        max-width: 768px;
    }
}
@media (min-width: 1024px) {
    .my-container {
        max-width: 1024px;
    }
}
/* @media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}
@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
} */





/* Titles */
html{
    font-family: 'Bai Jamjuree', serif;
}
* {
    font-family: 'Bai Jamjuree', serif;
    font-size: 1.05rem;
}
h1{
    font-family: 'Bai Jamjuree', serif;
    font-size: 2.3rem !important;
}
@media (max-width: 640px) {
    h1{
        line-height: 80%;
    }
}


small *,
small{
    font-size: 0.7rem !important;
}
h2{
    font-size: 1.4rem !important;
    font-weight: bold !important;
}
h3{
    color: #ab0f16;
    font-size: 1.4rem !important;
    font-weight: bold !important;
}
h4{
    font-size: 1.2rem !important;
    font-weight: bold !important;
}
h5{
    font-size: 1rem !important;
    font-weight: bold !important;
}
h6 {
    color: #ab0f16;
    font-size: 0.9rem !important;
    font-weight: bold;
}









/* Extra Bg */
.bg-light{
    background-color: #F3ECE6;
}

.bg-light-s{
    background: linear-gradient(to right, #F3ECE6, #F3ECE6);
    background-repeat: no-repeat;
    background-position: 100% 40%;
    background-size: 100% 60%;
}














/* General */
.hover-animation{
    transition: 0.3s font-size ease-in-out;
    /* transition: 0.6s letter-spacing ease-out; */
    cursor: pointer;
    white-space: nowrap;
}
.hover-animation:hover{
    font-size: 110%;
    /* letter-spacing: 1px; */
}
.hover-animation:focus{
    font-size: 120%;
    font-weight: 600;
    /* letter-spacing: 1px; */
}

.absolute{
    color: #FFF;
    text-shadow: 0px 2px 2px #666;;
}
.absolute h1{
    font-weight: bold;
    font-size: 2.3rem !important;
}

@media (max-width: 1024px) {
    .absolute h1{
        font-size: 1.3rem !important;
    }
}


/* Custom components */
#galeria-modal{
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.28);
    top: 0px;
    bottom: 0px;
    left: 0px;
    overflow: hidden;
    -webkit-transition: opacity 1s ease-out;
    transition: opacity 1s ease-out;
}
#galeria-modal > div > div {
    background-color: #FFF;
    box-shadow: 0px 0px 40px #333;

}











/* carrousel */
html, body {
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

.carousel {
    position: relative;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.64);
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-open:checked + .carousel-item {
    position: static;
    opacity: 100;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
    aspect-ratio: 16 / 5;
}

.carousel-item img {
    display: block;
    height: auto;
    max-width: 100%;
}

.carousel-control {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 40px;
    height: 40px;
    line-height:35px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 40px;
    z-index: 10;
}

.carousel-control.prev {
    left: 2%;
}

.carousel-control.next {
    right: 2%;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1,
#carousel-2:checked ~ .control-2,
#carousel-3:checked ~ .control-3 {
    display: block;
}

.carousel-indicators {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators li {
    display: inline-block;
    margin: 0 5px;
}

.carousel-bullet {
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 4rem;
}

.carousel-bullet:hover {
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1 ~ .carousel-indicators li:nth-child(1) .carousel-bullet,
#carousel-2:checked ~ .control-2 ~ .carousel-indicators li:nth-child(2) .carousel-bullet,
#carousel-3:checked ~ .control-3 ~ .carousel-indicators li:nth-child(3) .carousel-bullet {
    color: #ab0f16;
    font-size: 4.2rem;
    font-weight: bold;
}

#title {
    width: 100%;
    position: absolute;
    padding: 0px;
    margin: 0px auto;
    text-align: center;
    font-size: 27px;
    color: rgba(255, 255, 255, 1);
    z-index: 9999;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.33), -1px 0px 2px rgba(255, 255, 255, 0);
}

.carousel-text{
    background: linear-gradient(0deg, black, transparent 60.71%);
}

