@media screen and (max-width: 1024px) {
    .w3-bar {
        height: 80px; /* Increase vertical padding */
        font-size: 44px !important;
    }

    .w3-bar-item {
        font-size: 18px !important; /* Increase font size */
        padding: 12px 16px !important; /* Increase button padding */
    }

    .w3-dropdown-content {
        font-size: 16px !important; /* Ensure dropdown items are readable */
    }

    .w3-button {
        padding: 16px 24px !important; /* Make buttons larger */
    }
}

body {
	margin: 0px;
	padding: 0px;
	color: black;
	font-family: Arial;
}


.rs_h1 {
 background-color: white;
 color: black;
}


#first {
	height: 800px;
	background: url(../img/logo.png) no-repeat center top; 
	
}

.container {
	width: 1170px;
	margin: 0px auto;
}

/* Style the video: 100% width and height to cover the entire window */
#myVideo {

    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
}

.content_UN {

    position: fixed;
    
    bottom: 0%; 
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
}

/* Add some content at the bottom of the video/page */
.content {
    position: relative; 
    max-width: 800px; /* Maximum width */
    margin: 0 auto; /* Center it */
}

.content_project_relative {

    position: relative;
    bottom: 0;
    margin: auto;
    top: 0%; 
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 64px;
    
}

.content_project_fixed {

    position: fixed;
    margin: auto;
    top: 0%; 
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 64px;
    
}

/* Style the button used to pause/play the video */
#myBtn {
    width: 200px;
    font-size: 18px;
    padding: 10px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;

}

#myBtn:hover {
    background: #ddd;
    color: black;
}

header {
	padding-top: 50px;
}

.mail {
	float: right;
}

.logo {
	float: left;
}

.projects {
	margin-top: 350px; 
	font-size: 24px;
	text-transform: uppercase;
	float: left;
	text-align: center;


}
.projects span{
	color: #000;
}




* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  background-color: #000;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 1px;
  width: 1px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #000;
}

/* Fading animation */
.fade {

  -webkit-animation-name: fade;
  -webkit-animation-duration: 6s;
  -webkit-animation-direction: alternate;
  animation-name: fade;
  animation-duration: 6s;
  animation-direction: alternate;
}

@-webkit-keyframes fade {

  0% {opacity: 0} 
  20% {opacity: 1}
  80% {opacity: 1} 
  100% {opacity: 0}
}

@keyframes fade {
 
  0% {opacity: 0} 
  20% {opacity: 1}
  80% {opacity: 1} 
  100% {opacity: 0}
  
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}