@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
.hidden{display:none;}
.show{display:block;}

body {
    font-family: 'Libre Baskerville';
    font-weight: normal;
    font-style: normal;
    font-size:14px;
}
a {
  color: #000000;
  transition: 0.5s;
}
a:hover,
a:focus {
  color: #000000;
  text-decoration: none;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
  background-color: #ffffff;
  opacity: .7;
  padding: 20px;
  height: 150px;
}
#header .logo{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;
    top:70px;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
    width: 100%;
    height: 100vh;
    background-position: center center; 
    background-attachment: fixed; 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-image: url('../img/villa-margon.jpg'); 
    position: relative;
    overflow:hidden;
}
#intro h1 {
    color: #fff;
    font-weight: normal;
    font-style: normal;
    font-size: 56px;
    text-transform: uppercase;
}
#intro h2 {
    font-style: normal;
    font-size: 26px;
    margin:0px;
    margin-top: 5px;
    text-transform: uppercase;
}
#intro h2 a{
    color:#ffffff;
}
#intro .loghi ul {
    margin: 0;
    padding-inline-start: 0px;
}
#intro .loghi ul li {
    display: inline;
}
#intro .loghi img,
#intro #enter img
{
    filter: brightness(0) invert(1);
    max-width: 100px;
}
#intro .fixed-bottom{
    margin: 0 auto;
    margin-bottom: 30px;
}
#intro #enter{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding:5px 10px;
    color: #000000;
}

/*--------------------------------------------------------------
# virtual-tour Section
--------------------------------------------------------------*/
#virtual-tour {
  position: relative;
  height: 100vh;
}

/* The Overlay (background) */
#virtual-tour .overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.7); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

#virtual-tour .bd-highlight{
    min-width:360px;
    line-height: 100px;
    border:1px solid transparent;
}
#virtual-tour .bd-highlight:hover{
    border:1px solid #ffffff;
    background:#000000;
}


/* The side navigation menu */
#virtual-tour .sidenav {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.7); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}
#virtual-tour .sidenav .sidenav-inner{
  padding:20px;
  text-align:center;
}
#virtual-tour .sidenav .sidenav-inner ul{
    list-style-type: none;
}
#virtual-tour .sidenav .sidenav-inner ul li{
    line-height: 2.5em;
    text-align: left;
}
  
#virtual-tour .sidenav .sidenav-inner-open,
#virtual-tour .sidenav .sidenav-inner-close{
    padding: 0px 4px 0px 4px;
    top: 50%;
    right: 0;
    font-size: 40px;
    position: absolute;
    height: 120px;
}
#virtual-tour .sidenav .sidenav-left{
    height: 100vh;
    width: 20px;
    float: left;
}
#virtual-tour .sidenav .sidenav-inner-wrapper{
    padding: 10px 30px;
}

/* The navigation menu links */
#virtual-tour .sidenav a {
    text-decoration: none;
    color:#ffffff;
}
#virtual-tour .sidenav a:hover,
#virtual-tour .sidenav a:active,
#virtual-tour .sidenav a:focus {
    text-decoration: none;
    color: #C70037;    
}

#virtual-tour .sidenav img {
    margin: 0 auto;
    margin: 40px 0px;
    max-width: 200px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 1500px) { 
    #intro #milano{position: absolute; left: 0; right: 0; margin-left: auto; margin-right: auto;width:50%;top:45%;text-align:center;}
    #intro #cantu{position: absolute; left: 0; right: 0; margin-left: auto; margin-right: auto;width:50%;top:55%;text-align:center;}
}

@media (max-width: 414px) { 

    #header{
        height: 100px;
    }
    #header .logo{
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 175px;
        top:50px;
    }
    #intro .img-fluid{
        filter: brightness(0) invert(1);
        max-width: 75px;
    }
    #intro .loghi ul li {
        padding:20px 0px;
    }    
    #virtual-tour .overlay img.collection {max-width:200px;}
    #virtual-tour .overlay img.cavalli {max-width:125px;}
    #virtual-tour .overlay img.ferre {max-width:100px;}
    #virtual-tour .overlay img.etro {max-width:100px;}
    #virtual-tour .overlay img.jcp {max-width:80px;}
    .overlay-content .d-flex{display:block !important;}
    .menu-btn{width:240px;margin: 5px auto;font-size:20px;}
    .text-small-red{margin-top:20px;}
    #intro #milano{position: absolute; left: 0; right: 0; margin-left: auto; margin-right: auto;width:75%;top:45%;text-align:center;}
    #intro #cantu{position: absolute; left: 0; right: 0; margin-left: auto; margin-right: auto;width:75%;top:55%;text-align:center;}
    #virtual-tour .bd-highlight{line-height:60px;}
}

@media (max-width: 1199px) {
  #header .container {
    max-width: 100%;
  }
}