/*
Theme Name: Poma Virtual Tour
Theme URI: https://poma.fr
Author: Stéphane Donna
Author URI: https://eleckid.github.io
Description: Thème qui permet de se connecter au Virtual Tour de Poma.
Version: 1.0.0
License: MIT
License URI: https://opensource.org/licenses/MIT
Tags: virtual-tour, poma, tour, 360, 3d, panorama
Text Domain: poma-virtual-tour
*/


:root {
    --color-1: #334E5B;
    --color-2: #FFF482;
    --color-3: rgba(255, 255, 255, 0.64);
    --font-1: 'Montserrat', sans-serif;
    --box-shadow: 0px 4px 8px 0px rgba(51, 78, 91, 0.10);
}

* {
    font-family: var(--font-1);
}

.form-button {
    transition: all 0.3s ease;
}

.form-button.active, .form-button:hover, .form-button:active {
    background-color: var(--color-2);
    color: var(--color-1);
    font-weight: bold;
}

input {
    box-shadow: var(--box-shadow);
}

input:focus{
    border: 1px solid var(--color-2) !important;
}

.container {
    max-width: 1440px;
}

.fade-in {
    animation: fade-in 0.5s ease-in-out;
}


@keyframes fade-in {
    0% {
        -webkit-transform: translateY(-50px);
                transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
}

.error-message {
    color: rgb(239 68 68); /* text-red-500 */
    font-size: 0.75rem; /* text-xs */
    margin-top: 0.25rem; /* mt-1 */
    padding-left: 1rem; /* pl-4 */
}

.error-input {
    border-color: rgb(239 68 68); /* border-red-500 */
}

.error-input:focus {
    border-color: rgb(239 68 68); /* focus:border-red-500 */
}

.swiper-container, .swiper-wrapper {
    height: 100% !important;
}

.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background-color: var(--color-1) !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-2) !important;
}
.swiper-slide {
    height: 500px !important;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

main {
    width: 100%;
    height: 100%;
}

.bg-slideshow {
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    background-repeat: no-repeat;
}

.bg1 {
    opacity: 1;
}

.bg2 {
    opacity: 0;
}
