/*Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/*Custom Scroll Bar*/
/* Width */
::-webkit-scrollbar {
    width: 8px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background-color: white;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: lightslategray;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: slategray; 
  }
/*Custom Scroll Bar*/

/*Top Navigation Style*/

header{
    width: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
}

nav{
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1c1c1c;
}

nav ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li{
    display: inline-block;
}

nav ul li .item{
    min-width: 195px;
    display: block;
    padding: 20px 20px;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

nav ul li .item:hover{
    background-color: slategrey;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: slategrey;
    z-index: 1;
}

.dropdown-content .dropdown-content-item{
    min-width: 195px;
    padding: 20px 20px;
    display: block;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

.dropdown-content .dropdown-content-item:hover{
    color: white;
}

.dropdown-item-link{
    color: white;
    text-decoration: none;
}
.dropdown-item-link:hover{
    text-decoration: underline;
}

.dropdown-content .btn-wrapper .sqr-btn{
    width: 24px;
    height: 24px;
    display: inline-block;
    border-radius: 2px;
    background-color: transparent;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

.dropdown-content .btn-wrapper .btn-360{
    margin: 0 0 0 20px;
    background-image: url("../img/icons/cube-3d-icon-white.svg");
}

.dropdown-content .btn-wrapper .btn-projects{
    margin: 0 0 0 10px;
    background-image: url("../img/icons/list-icon-white.svg");
}

[data-title]{
    font-size: 12px;
    position: relative;
    cursor: help;
}

[data-title]:hover::before{
    content: attr(data-title);
    position: absolute;
    bottom: -35px;
    padding: 8px;
    background-color: #1c1c1c;
    color: white;
    white-space: nowrap;
}

.open{
    display: block;
}
.dropdown:hover .item{
    background-color: slategrey;
}

.overflow{
    white-space: nowrap;
    width: 110px;
    overflow: hidden;
    box-sizing: border-box;
}

.overflow-larger{
    width: 130px;
}

.overflow p{
    margin: 0;
}

.dropdown-content-item:hover .overflow p{
    margin: 0;
    animation: marquee 8s linear infinite;
    -webkit-animation: marquee 8s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0,0); -webkit-transform: translate(0,0); -moz-transform: translate(0,0); -ms-transform: translate(0,0); -o-transform: translate(0,0); }
    5% { transform:translate(0,0) ; -webkit-transform:translate(0,0) ; -moz-transform:translate(0,0) ; -ms-transform:translate(0,0) ; -o-transform:translate(0,0) ; }
    95% { transform:translate(-250%, 0) ; -webkit-transform:translate(-250%, 0) ; -moz-transform:translate(-250%, 0) ; -ms-transform:translate(-250%, 0) ; -o-transform:translate(-250%, 0) ; }
    100% { transform:translate(-250%, 0) ; -webkit-transform:translate(-250%, 0) ; -moz-transform:translate(-250%, 0) ; -ms-transform:translate(-250%, 0) ; -o-transform:translate(-250%, 0) ; }
}

/*Top Navigation Style*/

/*Logo Style*/

.logo{
    margin-right: 40px;
    font-family: 'Roboto', sans-serif;
    color: white;
    text-decoration: none;
    text-align: left;
    display: flex;
    justify-content: center;
}
.logo img{
    width: 70px;
    margin: 0 5px 0 0;
}
.logo p{
    margin: 0 0 0 5px;
    padding: 0;
    font-weight: 700;
}
.logo p span{
    font-weight: 400;
}

/*Logo Style*/

/*Toggle BTN Style*/

.position-toggle-btn{
    position: absolute;
    margin: 80px 100px;
    right: 0;
    font-family: 'Roboto', sans-serif;
}

.toggle-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 2px solid slategray;
    border-radius: 24px;
    text-decoration: none;
    color: #1c1c1c;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    -ms-border-radius: 24px;
    -o-border-radius: 24px;
    cursor: pointer;
}

.toggle-text{
    padding: 5px 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.hover-visual{
    background-color: slategray;
    color: white;
    border-radius: 22px;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    -ms-border-radius: 22px;
    -o-border-radius: 22px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

@media screen and (min-width: 1920px) {
    .position-toggle-btn{
        position: relative;
        margin: 0;
        font-family: 'Roboto', sans-serif;
    }
    .toggle-btn{
        border: 2px solid white;
        color: white;
    }
}

/*Toggle BTN Style*/

/*Room to 360 Style*/
#room-to-360-link{
    margin-bottom: 32.160px;
    padding: 10px 20px;
    background-color: white;
    border: 2px solid #1c1c1c;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    color: #1c1c1c;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
#room-to-360-link:hover{
    background-color: #1c1c1c;
    color: white;
    transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
}

/*Room to 360 Style*/

/*Projects Content Style*/
.projects-wrapper{
    width: 100%;
    height: 100%;
    margin: 50px auto;
}

.projects-intro-section{
    padding-top: 50px;
    margin-left: 100px;
    margin-right: 100px;
}

.projects-wrapper h1{
    margin-top: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
}

.projects-wrapper h3{
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

.projects-wrapper p{
    max-width: 50%;
    margin-bottom: 50px;
    font-family: 'Roboto', sans-serif;
}

.projects-wrapper .projects-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas: 
    "item1 item1 item1 item2 item2 item2"
    "item3 item3 item3 item4 item4 item4";
    gap: 20px;
    margin: 0 100px;
}

.projects-grid h2{
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    margin: 25px;
}

.projects-grid ul{
    list-style: none;
}

.projects-grid ul li{
    margin: 10px 0;
}

.projects-grid ul li a{
    font-family: 'Roboto', sans-serif;
    color: #1c1c1c;
    text-decoration: none;
}

.projects-grid ul li a:hover{
    text-decoration: underline;
}

.projects-grid .item1{
    grid-area: item1;
    background-color: #f9f9f9;
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.projects-grid .item2{
    grid-area: item2;
    background-color: #f9f9f9;
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.projects-grid .item3{
    grid-area: item3;
    background-color: #f9f9f9;
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.projects-grid .item4{
    grid-area: item4;
    background-color: #f9f9f9;
    width: 100%;
    height: 300px;
    border-radius: 8px;
}
/*Projects Content Style*/

/*Raum Content Style*/
.room-wrapper{
    width: 1400px;
    height: 100%;
    margin: 50px auto;
}

.room-intro-section{
    padding-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
    font-family: 'Roboto', sans-serif;
}

.room-wrapper h1{
    margin-top: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
}
.room-wrapper h2{
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    margin: 0;
}

.room-wrapper h3{
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}

#room-description{
    max-width: 50%;
    margin-bottom: 50px;
    font-family: 'Roboto', sans-serif;
}

.room-wrapper .room-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 50px;
    margin: 0 50px;
}

.room-grid .item{
    background-color: #E43D59;
    background-position: top center;
    background-size: cover;
    width: 400px;
    height: 400px;
    border-radius: 8px;
    cursor: pointer;
    background-repeat: no-repeat;
    border: 1px solid grey;
    display: flex;
    align-items: flex-end;
}
.room-grid .item:hover{
    border: 1px solid grey;
    opacity: .9;
    cursor: pointer;
}

.project-grid-title{
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    bottom: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/*Modal Style*/
.modal{
    position: fixed;
    top: 50%;
    left: 50%;
    text-align: justify;
    transform: translate(-50%, -50%) scale(0);
    -webkit-transform: translate(-50%, -50%) scale(0);
    -moz-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    -o-transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    z-index: 999;
    background-color: white;
    width: 1000px;
    max-width: 80%;
    -webkit-transition: 200ms ease-in-out;
    -moz-transition: 200ms ease-in-out;
    -ms-transition: 200ms ease-in-out;
    -o-transition: 200ms ease-in-out;
    font-family: 'Roboto', sans-serif;
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -o-transform: translate(-50%, -50%) scale(1);
}

.modal-header{
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
}

.modal-header .title{
    font-size: 48px;
    font-weight: bold;
}

.modal-header .close-button{
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-body{
    padding: 10px 15px;
    overflow: scroll;
    height: 600px;
}

#overlay{
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

#overlay.active{
    opacity: 1;
    pointer-events: all;   
}

/*Image Carousel Style*/
.carousel-container{
    width: 75%;
    margin: auto;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid #1c1c1c;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    align-items: center;
    flex-direction: column;
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 400px;
    background-color: #1c1c1c;
}

.carousel-slide img {
    width: 100%;
    height: fit-content;
}

#prev-BTN {
    position: static;
    z-index: 1000;
    left: 0;
    top: 420px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 8px 8px 3px 8px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    margin-right: 20px;
}

#next-BTN{
    position: static;
    z-index: 1001;
    right: 15%;
    top: 420px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 8px 8px 3px 8px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    margin-left: 20px;
}
/*Image Carousel Style*/

/*Video Style*/
.video-container {
    width: 75%;
    margin: auto;
}

#video-player{
    width: 728px;
    height: 400px;
    border: 2px solid #1c1c1c;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
/*Video Style*/

/*Audio Style*/
.audio-container {
    width: 75%;
    margin: 20px auto;
}
/*Audio Style*/

/*Modal Style*/

/*Raum Content Style*/


/*Footer Style*/

#credits-for-3d-model{
    
    bottom: 0;
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    margin: 0 0 50px 0;
}
#credits-for-3d-model img{
    width: 230px;
    margin: 0 20px 0 100px;
}

#credits-for-3d-model a{
    text-decoration: none;
    color: #1c1c1c;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    margin: 10px 100px 0px 100px;
}

#credits-for-3d-model a:hover{
    text-decoration: underline;
}

#credits-for-projects{
    position: absolute;
    left:210px;
    bottom: 0;
    display: none;
    flex-direction: column;
    margin: 50px 0;
}

#credits-for-projects img{
    width: 230px;
    margin: 0 20px 0 100px;
}

#credits-for-projects a{
    text-decoration: none;
    color: #1c1c1c;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    margin: 10px 100px 0px 100px;
}

#credits-for-projects a:hover{
    text-decoration: underline;
}