@charset "UTF-8";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";
  background-color: #f4f4f4;
}

/* Header */
#divHead {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,.2);
  text-align: center;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 10;
}

/* Main Container */
#divCont {
  width: 100%;
  height: 1100px;
  background: url("../media/AZAIIX-18.jpg") center/cover no-repeat;
}

/* About Section */
#divAbout {
	position: relative;
	text-align: center;
	width: 100%;
	height: auto;
	padding: 20px 0;
	overflow: hidden;
}

/* Image Section - Positioned on the Left */
#abtImg {
  position: absolute;
  top: 60px;
  left: 40px;
  width: 60%;
  max-width: 800px; /* Adjust max-width if needed */
  overflow: hidden;
  border-radius:10px;
}

#abtImg img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Bio Section - Overlapping the Image */
#abtBio {
  position: absolute;
  top: 50%; /* Starts halfway down the image */
  left: calc(40px + 60% - 30%); /* 40px from the left + 60% width of the image - 30% overlay */
  width: calc(40% + 40px); /* Overlaps 30% into the image and stops 40px before the right */
  background: rgba(255, 235, 209, 0.85);
  padding: 20px;
  border-radius: 10px;
  transform: translateY(-50%); /* Center bio vertically */
}

/* Responsive Fix for Smaller Screens */
@media (max-width: 1024px) {
  #abtImg {
    width: 80%; /* Adjust image size on smaller screens */
  }

  #abtBio {
    left: 10%;
    width: 80%;
    transform: none; /* Remove vertical alignment on smaller screens */
    position: relative;
    top: auto;
    margin-top: 20px;
  }
}

/* Image Section */
#divImages {
	background-color:lightblue;
	text-align: center;
	padding: 20px;
}

#tabImgs {
  margin: 0 auto;
}

.imgTd {
  width: 300px;
  height:300px;
  border-radius: 10px;
  overflow: hidden;
}

/* Events Section */
#divEvents {
  text-align: center;
  padding: 30px;
}

#divEvents table {
  margin: auto;
  border-collapse: collapse;
  width: 80%;
}

#divEvents td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.imgEvents img {
  border-radius: 5px;
}

/* Footer */
#divFoot {
  text-align: center;
  padding: 20px;
  background: #222;
  color: white;
}

#divVideos {
	background-color: lightgrey;
	text-align: center;
  	padding: 20px;
}

#tabVideos {
	margin: 0 auto;
}

#divContact {
	text-align: center;
	padding: 20px;
}

#tabContact {
	position: relative;
	top: 20px;
	margin: 0 auto;
}
