* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

.container1{
    position: fixed;
}

html, body {
    height: 100%;
    width: 100%; 
}

html {
    overflow: scroll;
}

html::-webkit-scrollbar {
    display: none;
}

.bg_image { 
    width: 100%;
    height: auto;
    position: fixed;
    z-index: -1;
}

.header {
    padding: 0px; 
    width: 100%;
}

.nav a {
    text-decoration: none;
    font-family: "Inter",'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    color: white;
    margin: 0 30px;
}

.nav a:hover {
    font-weight: bolder;
    font-size: larger;
    transform: scale(1.05); 
}

.logo_image {
    float: left;
    width: 40px;
}
#d1 {
    position: relative;
    display: flex;
    align-items: flex-start;
}

#d2 {
    display: flex; 
    align-items: flex-start; 
    padding: 30px;
}

/* navigation links */
.nav {
    display: flex; 
    align-items: flex-start; 
    font-family: "Inter" !important;
    padding-top: 10px;
}

.nav a {
    transition: transform 0.1s ease; 
}

/* Passionfruut services drop down menu */
.CTA {
    float: right;
}

.d3:hover {
    transform: scale(1.05);
}

.d3 {
    position: absolute; 
    top: 40px; 
    right: 80px;
    z-index: 1; 
    display: flex; 
    flex-direction: column; 
    background: transparent;
    color: white; 
    padding: 5px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 20px;
    width: 340px;
    transition: transform 0.2s ease;
}

.dropdown {
    background-color: white;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px;
    border-radius: 10px;
    clear: right !important;
}

.d8 {
    position: absolute; 
    top: 40px; 
    right: 20px;
    z-index: 1; 
    display: flex; 
    flex-direction: column; 
    background: transparent;
    color: white; 
    padding: 5px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 20px;
    width: 280px;
    transition: transform 0.2s ease;
}

ul {
    list-style: none;
}

ul li ul.dropdown li {
    display: block;
}

ul li ul.dropdown {
    margin-top: 25px;
    position: absolute;
    width: 100%;
    z-index: 1;
    display: none;
    clear: right !important;
}

ul li:hover ul.dropdown {
    margin-top: 25px;
    display: block;
    clear: right !important;
}

ul.dropdown li:hover {
    background-color: #F2F2F2;
}

.dropdown li span {
    color: black;
    font-size: 16px;
    font-weight: normal !important;
}

.dropdown li {
    color: black;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.plus {
    font-size: 20px;
    top: 43px !important; 
    right: 0px !important;
    width: 20px !important;
    position: absolute; 
    top: 40px; 
    right: 24px !important;
    z-index: 1; 
    transition: transform 0.2s ease;
}

.d8:hover, .plus:hover {
    transform: scale(1.05);
}

.audio {
    top: 25px; 
    right: 40px !important;
    width: 40px;
    background-color: white;
    border-radius: 50%;
}

/* text in the center */
.parent1 {
    margin-top: 300px;
    position: relative;
}

#storytelling {
    display: block;
    color: white;
    z-index: 999;
    position: relative;
    left: 50px;
    font-family: "Inter", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bolder;
    font-size: 20px;
}

#d4, #d5 {
    color: black;
    z-index: 999;
    position: relative;
    display: inline-block;
    vertical-align: top; 
    overflow: hidden;
    margin-left: 50px;
    width: 400px;
    box-sizing: border-box; 
    font-size: 25px;
    font-family: "Inter", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-style: italic;
    background-color: white; /* Black background */
    border-radius: 10px; /* Rounded corners */
    padding-top: 25px;
    text-align: center; /* Center the text */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition */
    cursor: pointer; /* Change cursor to pointer */
    height: 120px;
}

#d6 {
    width: 100vw;
    margin-top: 50px;
}

#d4 span, #d5 span {
    font-weight: 600;
    font-style: normal !important;
    text-decoration: none !important;
}

#d4 a {
    text-decoration: none;
    color: black;
}

#d4:hover, #d5:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    background-color: rgb(196, 190, 190); /* Darker background on hover */
    border-radius: 10px;
}

/* tiles */

.container2 {
    overflow-y: auto;
    margin-top: 900px;
    z-index: 1000; 
    position: absolute;
    background-color: white;
    width: 100%;
    border-radius: 10px;
    display: flexbox;
}

.commercial, .social-media, .corporate {
    position: relative;
    display: flex; 
    overflow: visible;
    padding: 10px; 
    white-space: nowrap;
    scrollbar-width: none; 
    background-color: white;
    transition: overflow 0.3s ease;
    height: 310px; /* this is new */
}

.corporate {
    height: 470px !important;
}

.commercial:has(.container_tiles:hover){
    overflow: visible;
}

.social-media:has(.container_tiles:hover){
    overflow:visible;
}

.corporate:has(.container_tiles:hover){
    overflow:visible;
}

.corporate {
    margin-bottom: 30px;
}

.commercial::-webkit-scrollbar, .social-media::-webkit-scrollbar, .corporate::-webkit-scrollbar {
    display: none; 
}

.container_tiles {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 340px;
    height: 270px;
    padding: 30px;
    transition: opacity 0.3s ease, height 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 1; 
    float: left;
    margin: 10px;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
}

.container_tiles:hover {
    transform: scale(1.05);
    z-index: 2000;
    background-color: #F2F2F2;
}

.tiles, .tiles-2 {
    top: 0;
    left: 0;
    width: 340px !important;
    height: 270px;
    transition: opacity 0.3s ease;
}

.tiles {
    position: absolute;
    background-color: #F2F2F2;
    /* z-index: 1;*/
    border: 1px solid rgb(184, 180, 180);
    border-radius: 10px;
    margin: 10px; /* Adjust margin for spacing */
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer; 
    display: flex; /* Use Flexbox */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center horizontally */
    box-shadow: 5px 5px 10px black;
}

.additional-info {
    color: black; 
    font-family: "Inter", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 6px; 
    display: flex
}

.additional-info span {
    font-weight: bold;
}

.tiles-2 {
    position: absolute;
    display: none;
    background-color: #F2F2F2;
    z-index: 1;
    border: 1px solid rgb(184, 180, 180);
    border-radius: 10px;
    margin: 10px; /* Adjust margin for spacing */
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer; 
    flex-direction: column;  
    align-items: center;  
    justify-content: flex-start; 
    gap: 10.37px; 
    box-shadow: 5px 5px 10px black; 
}

.container_tiles:hover .tiles {
    opacity: 0;
    z-index: 0;
}

.container_tiles:hover .tiles-2 {
    display: flex;  
    transform: scale(1.1);
    height: 380px;
    opacity: 1;
}

/* for .container_tiles:hover .tiles-2 {
    flex-direction: column;  
    align-items: center; 
    background-color: #F2F2F2;
    border-radius: 10px;
    z-index: 1000;
    position: relative; 
}*/

.container2 h3 {
    display: block;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    position: relative;
    margin: 20px 0px 10px 10px;
    font-size: 25px;
}

.video-container {
    border-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    height: 160px; 
    width: 280px; 
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
}

.speaker {
    border-radius: 50%;
    width: 45px;
    height: 50px;
    z-index: 200;
    position: absolute;
    top: 115.5px;
    left: 267px;
    opacity: 0;
}

.no-speaker {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 200;
    position: absolute;
    top: 120px;
    left: 270px;
    opacity: 1;
}

.navigation {
    padding: 7px;
    border-radius: 360px; 
    justify-content: space-between; 
    align-items: center; 
    display: inline-flex;
    background-color: white;
    margin: 5px;
    margin-bottom: 10px !important;
    font-size: 15px;
    width: 280px; 
    height: 40px;
}

.navigation p {
    font-family: "Inter", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
    font-size: 12px;
}

.profile {
    width: 248.69px;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    position: relative;
    bottom: 20px;
}

.box1 {
    width: 121px;
    height: 42px;
    justify-content: flex-start;
    align-items: center;
    gap: 11.80px;
    display: flex;;
}

.box1 img {
    display: inline-block;
    border-radius: 50%;
    width: 35.39px; 
    height: 34.49px; 
    background: linear-gradient(0deg, black 0%, black 100%); 
    border-radius: 9999px;
}

.arthouse {
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: flex-start; 
    display: inline-flex;
}

.profile_text {
    align-self: stretch; 
    color: black; 
    font-size: 13px; 
    font-family: "Inter", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 700; 
    word-wrap: break-word;
}

.box2 {
    width: 0px; 
    height: 30px; 
    position: relative;
}

.max {
    width: 20px; 
    height: 20px; 
    bottom: 10px;
    left: 120px;
    position: relative;
}

.tiles:hover .max {
    display: none;
}

.max-2 {
    display: none;
    width: 20px; 
    height: 20px;
    position: relative;
    left: 10px;
    top: 130px;
}

.tiles:hover .max-2 {
    display: inline-block;
}

.call-to-action {
    flex: 1 1 0; 
    align-self: stretch; 
    justify-content: flex-end; 
    align-items: flex-end; 
    gap: 10.37px; 
    display: flex;
}

/* hover effect on cards */

.heading {
    position: absolute; 
    top: 170px; 
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 6px; display: flex; 
    width: 100%; 
    padding-left: 10px;
}

.card-title {
    max-width: 90%; 
    color: black; 
    font-size: 14px; 
    font-family: 'Inter', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; 
    font-weight: 800; 
    letter-spacing: 2.49px; 
    word-wrap: break-word
}

.card-details {
    position: absolute; 
    top:235px; 
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 6px; display: flex; 
    width: 100%; 
    padding-left: 10px;
}

.sub1 {
    color: black; 
    font-size: 13px; 
    font-family: 'Inter', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important; 
    font-weight: 400; 
    word-wrap: break-word;
}

.sub2 {
    color: black; 
    font-size: 12px; 
    font-family: "Inter", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; 
    font-weight: 700; 
    word-wrap: break-word
}

.profile-arthouse {
    position: absolute; 
    top: 320px; 
    width: 100px; 
    height: 42px; 
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 6px; 
    display: flex; 
    width: 100%; 
    padding-left: 10px;
}

.tiles > .profile-arthouse {
    left: 20px;
}