/* CSS File: main.css */

/* Define Kalameh Black font */
@font-face {
    font-family: 'Kalameh';
    src: url('Fonts/Kalameh-Black.ttf') format('truetype');
  /*  font-weight: 900;
    font-style: normal; */
}

/* Define Digi Madasi Bold font */
@font-face {
    font-family: 'Digi Madasi';
    src: url('Fonts/Digi Madasi Bold.ttf') format('truetype');
  /*  font-weight: bold;
    font-style: normal; */
}

/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

/* Logo Container */
#logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 7;
}

#logo-container img {
    height: 70px;
    width: auto;
}

/* Responsive Styles for Logo */
@media (max-width: 1080px) {
    #logo-container {
        top: 77%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
    }

    #logo-container img {
        height: 30px;
        width: auto;
    }
}

/* Background Video and Video Player Container */
#background-video-container{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: absolute;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.1s ease-in-out;
}

#backgroundVideo {
	position: fixed;
    /*width: 432px; */
    height: 98.9%;
    object-fit: cover;
    border: 5px solid #0c4f4e;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

#playOverlayContainer{
	position: fixed;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 4;
	opacity: 1;
	transition: opacity 0.5s ease-in-out;	
	
	}


#overlayVideo{
	width: 100%;
	height: 100%;	
		
	}


#countdown {
    display: none;
}

#video-player-container {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 98.5%;
    z-index: 4;
    position: absolute;
    opacity: 0;
    transition: transform 1s ease-in-out;
}

#clientVideo {
	position: fixed;
    height: 98.5%;
    border: 8px solid #0c4f4e;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

/* Social Icons */
#social-icons {
    position: absolute;
    bottom: 20px;
	left: 21px;
    display: flex;
    gap: 20px;
    z-index: 3;
}

#social-icons img {
    height: 40px;
    width: auto;
    transition: transform 0.3s;
}

#closeButton{
	width:40px;
	height:40px
}
	
#social-icons img:hover {
    transform: scale(1.1);
}

/* Floating Text */
#floating-text {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
}

/* Animation for fading in the floating text */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animation for fading out the floating text */
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

/* Class to fade in */
.fade-in {
    animation: fadeIn 2s forwards;
}

/* Class to fade out */
.fade-out {
    animation: fadeOut 1s forwards;
}

/* Arrow Styles */
#floating-arrow {
    position: absolute;
    top: 31.8%; /* Adjust based on play button position */
    left: 50%;
    transform: translateX(-50%);
    width: 50px; /* Adjust arrow size */
    height: auto;
    opacity: 0; /* Initially hidden */
    animation: arrowBounce 1s infinite; /* Looping bounce animation */
}

/* Keyframes for arrow bounce animation */
@keyframes arrowBounce {
    0% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
    100% { transform: translate(-50%, 0); }
}

/* Floating Text */
#floating-text {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Smooth transition */
}

/* Client Name Styling */
#client-name {
    font-family: 'Kalameh', sans-serif; /* Different font for the name */
	font-weight: 900;
    font-size: 66px; /* Larger size for client name */
    /* letter-spacing: 6px;  Stretch between letters  */
    color: #BC804D; /* Different color for name */
}

/* Text Styling for Rest of the Message */
#welcome-message {
    font-family: 'Digi Madasi', sans-serif; /* Use different font */
	font-weight: bold;
    font-size: 21px;
    line-height: 1.7em; /* Line spacing */
    color: #ffffff;
}

/* Animation for fading in the floating text and arrow */
.fade-in {
    animation: fadeIn 1s forwards;
}

/* Animation for fading out the floating text and arrow */
.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    #floating-text {
        font-size: 20px; /* Smaller font size for mobile screens */
        top: 14%; /* Adjust position */
        padding: 7px;
		background-color: rgba(0, 0, 0, 0.8);
    }
	
	#client-name{
		font-size: 30px;
		
	}
	
	#welcome-message {
		font-size: 17px;
		line-height: 1.6em; /* Line spacing */
	}
	
	#floating-arrow {
		position: absolute;
		top: 31%; /* Adjust based on play button position */
		left: 50%;
	}
	
	#social-icons {
		position: absolute;
		bottom: 20px;
		left: 40%;
		display: flex;
		gap: 20px;
		z-index: 3;
	}
}

@media (max-width: 480px) {
    #floating-text {
        font-size: 20px; /* Even smaller for very small screens */
        top: 14%; /* Further adjust position */
        padding: 7px;
		background-color: rgba(0, 0, 0, 0.8);
    }
	
	#client-name{
		font-size: 30px;
		
	}
	
	#welcome-message {
		font-size: 17px;
		line-height: 1.6em; /* Line spacing */
	}
	
	#floating-arrow {
		position: absolute;
		top: 31%; /* Adjust based on play button position */
		left: 50%;
	}
	
	#social-icons {
		position: absolute;
		bottom: 20px;
		left: 40%;
		display: flex;
		gap: 20px;
		z-index: 5;
		background: transparent; /* Ensure no background interferes */
	}
	
	#social-icons img {
    height: 30px;
    width: auto;
    transition: transform 0.3s;
	}
	
	#closeButton{
		width:30px;
		height:30px
	}

	#logo-container {
        top: 85%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
    }
    
    #floating-arrow {
    width: 55px; /* Adjust arrow size */
    height: auto;
	}
	
	#background-video-container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 70vh;
    z-index: 1;
    position: absolute;
    top: 10%;
    left: 10%;
    padding: 20px;
    box-sizing: border-box;
    transition: all 0.1s ease-in-out;
	}
	
	#backgroundVideo {
	position: fixed;
    object-fit: cover;
    border: 5px solid #0c4f4e;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	width: 97.5%;
    height: 98.5%;
	top:0
	}
	
	#playOverlayContainer{
	position: fixed;
	top: 0%;
	left: 0%;
	transform: translate(-0%, -0%);
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 4;
	opacity: 1;
	transition: opacity 0.5s ease-in-out;
	}
	
	#overlayVideo{
	width: 100%;
	height: 100%;	
	object-fit:cover;	
	}

	#video-player-container{
	display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 6;
    position: absolute;
	top:-1px;
    opacity: 0;
    transition: transform 1s ease-in-out;	
	}
	#clientVideo {
	position: fixed;
	width:96%;
    height: 98%;
    border: 8px solid #0c4f4e;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    object-fit: contain;
	background-color: black;
	}
}