@import url('./background.css');
@import url('./navigation.css');
@import url('./content.css');
@import url('./subcontent.css');

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    outline: 0;
}

:root {
    --color-light: #ffffff;
    --color-gallery: #efefef;
    --color-mine-shaft: #202020;
    --color-tundora: #474747;
    --color-hawkes-blue: #d7d5fc;
    --color-snowy-mint: #d6fcd5;
    --color-cornflower-lilac: #ffa8a8;
    --color-anakiwa: #a8e0ff;
    --color-flesh: #ffcea8;
    --color-alto: #d9d9d9;
    --color-gray-chateau: #9aa0a6;
    --color-gray-mercury: #e3e3e3;
    --color-picton-blue: #43aaE3;    
    --color-apple: #4aab48;
    --color-french-pass: #bde3ff;    
    --color-reef: #b4ffb2;

    --text-8: 0.8rem;
    --text-10: 1rem;
    --text-12: 1.2rem;
    --text-14: 1.4rem;
    --text-16: 1.6rem;
    --text-18: 1.8rem;  
    --text-20: 2rem;    

    --title-32: 3.2rem;    
}

html { 
    font-size: 62.5%; 
}

body {
    margin: 0;
    padding: 0;    
    background: white;
}

.app {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    position: relative;
}

.spin {
    animation-name: spin;
    animation-duration: 5000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}
  
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

.has-iframe .fancybox__content, .has-map .fancybox__content, .has-pdf .fancybox__content {
    height: 95vh !important;
}

.mobile-title {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;    
    justify-content: center;
    z-index: 100;
    left: 0;
    right: 0;
    margin: auto;
    font-family: sans-serif;
    color: #fff;
    padding: 80px;
    pointer-events: none;
}

@media(min-width: 1025px) {
    .mobile-title {
        display: none;
    }
}

.mobile-title h1 {
    font-size: 42px;
    text-align: center;
    text-transform: uppercase;
}

@media(max-width: 767px) {
    .mobile-title h1 {
        font-size: 32px;
    }
}

@media(min-width: 768px) and (max-width: 1024px) {
    .mobile-title h1 {
        font-size: 42px;
        align-items: flex-start;
        margin-bottom: 120px;
    }
}

@media(max-height: 720px) {
    .mobile-title h1 {
        margin-bottom: 120px;
    }
}

.contact {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 1;
}

.contact:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;   
}