/* Background Video Styling */
#background-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 15px;
  line-height: 34px;

}

* {
  box-sizing: border-box;
}

/* general */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  clear: both;

}

h1,
h2,
h3,
p {
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, Times, "Times New Roman", serif;
  font-weight: 700;
  color: #4aaaa5;
}

h1 {
  padding-bottom: 20px;
  font-size: 30px;
  line-height: 49px;
  border-bottom: 3px solid #dddddd;
}

h2,
h3 {
  font-size: 22px;
}

/* Nav bar */

#masthead {
  position: fixed;
  z-index: 99;
  width: 100%;
  margin: 0 0 30px;
  overflow: auto;
  color: #ffffff;
  background: #666666;
  border-bottom: 2px solid #cccccc;
}

#logo {
  float: left;
  width: 300px;
  height: 90px;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 90px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background: #4aaaa5;
  border-radius: 5px;
}

nav {
  float: right;
  height: 90px;
  color: #ffffff;
}

.navbar-item {
  color: #ffffff;
  padding-right: 25px;
  font-size: 18px;
}

.nav-link {
  color: #ffffff;
}

.nav-link:hover {
  color: #4aaaa5;
}

.navbar-item:hover {
  color: #4aaaa5;
}

/* footer */
footer {
  padding: 30px 0;
  clear: both;
  font-size: 12px;
  color: #ffffff;
  color: #cccccc;
  text-align: center;
  background: #666666;
  border-top: 8px solid #4aaaa5;
  height: 40px;
}

h3,
h2 {
  padding-bottom: 20px;
  margin-bottom: 15px;
  line-height: 22px;
  border-bottom: 2px solid #eeeeee;
}

/* main */

#main-container {

  padding-top: 130px;
  min-height: calc(100vh - 70px);
}

.main-section {
  float: left;
  width: 100%;
  max-width: 960px;
  padding: 30px;
  margin: 0 0 40px;
  border: 1px solid #dddddd;
  background: #ffffff;
  opacity: .95;
  border-radius: 10px;
}

/* portfolio page */

.work {
  position: relative;
  float: left;
  width: 274px;
  margin: 20px 0 25px;
  overflow: auto;
  margin-right: 10px;
}



.work:nth-child {
  margin-right: 40px;

}

.work img {
  width: 100%;
  border: 0 none;
  border-radius: 10px; /* Optional: Rounds the corners */
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* Adds a soft 3D shadow */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover effect to "lift" the image */
.work img:hover {
  transform: translateY(-5px); /* Moves image slightly up */
  box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.5); /* Increases shadow for depth */
}


.work h3 {
  position: absolute;
  bottom: 0.5px;
  width: 100%;
  padding: 15px;
  margin-bottom: 0;
  font-weight: 300;
  line-height: 30px;
  color: #ffffff;
  text-align: center;
  background: #4aaaa5;
  border-bottom: 0;
  }

.profile-image {
  float: left;
  width: 200px;
  height: auto;
  margin-top: 10px;
  margin-right: 25px;
  border-radius: 10px;
}

/* contact page */

#contact-form ul {
  margin-bottom: 20px;
}

#contact-form li {
  margin-bottom: 10px;
}

label,
input[type=text],
input[type=email],
textarea {
  display: block;
  width: 100%;
}

input[type=text],
input[type=email],
textarea {
  height: 35px;
  padding: 0 10px;
  font-size: 14px;
  border: 1px solid #dddddd;
}

textarea {
  height: 200px;
}

input[type=submit] {
  padding: 10px 30px;
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  background: #4aaaa5;
  border: 0 none;
  border-radius: 10px;
}

#navbar-example2 {

  background-color: #666666;
}
/* Center everything */
/* Center everything */
#connect {
  text-align: center;
}

/* Ensure icons are aligned and spaced */
#connect a {
  display: inline-block;
  margin: 10px;
}

/* Force all icons to be the exact same size while keeping proportions */
#connect img {
  width: 80px;  /* Ensures all icons have the same width */
  height: 80px; /* Ensures all icons have the same height */
  object-fit: cover; /* Ensures they fill the space without stretching */
  border-radius: 10px; /* Optional: Rounds the edges */
  transition: transform 0.3s ease-in-out;
}

/* Optional hover effect */
#connect img:hover {
  transform: scale(1.1);
}



