body {
    margin: 0;
    padding: 0;
    background-color: #000; /*#121212;*/
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group {
    display: flex;
    width: 80%;
    margin: 10px 0px 0px 0px; 
}

#videoUrl {
    flex-grow: 1; 
    margin-right: 10px; 
    padding: 10px; 
    border: 1px solid #ccc; 
    box-sizing: border-box; 
    border-radius: 4px;
}

#loopButton {
    padding: 10px 20px; /* Padding should match the input field */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    border: none; /* Remove border or set to the same as the input if it has one */
    background-color: #ff0000;
    color: #fff;
    cursor: pointer;
    text-align: center;
    line-height: normal; /* Reset line height to normal to match input */
    height: 100%; /* Make the button fill the height of the input-group container */
    border-radius: 4px;
}

.container {
    width: 100%;
    
}

input[type="text"] {
    background-color: #333;
    border: none;
    color: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}
.video-container {
    /*height: calc(100vh - 160px);  100vh is the full height, subtract the total estimated height of ads and margins */
    width: 100%;
    height: calc(100vh - 80px); /* Adjusted height */
    background-color: #000;
    position: relative; /* Needed for absolute positioning of the placeholder */
    display: flex;
    justify-content: center;
    align-items: center;
}
.placeholder-image {
    max-width: 100%; /* Ensures the image is responsive */
    max-height: 100%; /* Maintains aspect ratio */
    opacity: 0.5; /* 50% opacity */
    position: absolute; /* Overlay the image on the video container */
}
.red-button {
    background-color: #ff0000;
    border: none;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.ad-space-top, .ad-space-bottom {
    background-color: #242424;
    color: #bbb;
    padding: 10px;
    width: 80%;
    text-align: center;
}
.ad-space-top {
	margin-top:0px;
	margin-bottom:10px;
}
.ad-space-bottom {
	margin-top:10px;
	margin-bottom:0px;
}
.info-div {
    background-color: #000;
    color: #bbb;
    padding: 10px;
    width: 80%;
    text-align: center;	
    margin-top:10px;
    margin-bottom:10px;
}

@media (max-width: 600px) {
    .ad-space-top, .ad-space-bottom {
        width: 95%;
    }
}
