/* Victory Christian Fellowship Main Index.CSS File */

body {
    background-image: url('/images/VCFAltar.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 1024px;
}

header {
    color: black;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: smaller;
    font-style: italic;
    text-align: center;
}

h1 {
    font-size: 54px;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 0;
}

h2 {
    font-size: large;
    color: rgb(0, 0, 0);
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 0;
}

nav {
    text-align: center;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

nav a {
    background-color: rgb(255 255 255 / 70%);
    color: black;
    border-radius: 7px;
    padding: 5px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    background-color: black;
    color: white;
    /* transform: translateY(-5px) */
}

/* Dropdown Button */
.dropbtn {
    background-color: rgb(255 255 255 / 70%);
    border-radius: 9px;
    color: black;
    padding: 5px;
    font-weight: bold;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
  /* display: none; */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 10px 16px;
  margin: 2px;
  text-decoration: none;
  display: block;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    border: none;
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: black;
    color: white;
}

button.side-link {
  /* justify-content: flex-end; */
  /* display: flex; */
  /* float: right; */
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-90deg);
  background: #ff9800;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  /* text-align: right; */
  /* text-decoration: none; */
  font-weight: bold;
  /* border-radius: 0 0 0 0; Remove rounding if you want it fully flush */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.2); */
  /* z-index: 1000; */
  cursor: pointer;
  border: none;
  outline: none;
  box-sizing: border-box;
  margin: 0;
}

button.side-link:hover {
  background: #e65100;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 24px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
}

.close {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

footer p { 
 background-color: rgba(255, 255, 255, 0.35);
 color: rgb(0, 0, 0);
 text-align: center; 
 font-size: 17px;
 padding-top: 10px;
 padding-bottom: 10px;
 position: absolute;
 bottom: 0;
 width: 65%;
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding-right: 0;
    box-sizing: border-box;
  }
  header, h1, h2 {
    font-size: 1.2em;
    text-align: center;
    padding: 5px 0;
  }
  .dropbtn {
    background-color: rgb(255 255 255 / 70%);
    border-radius: 10px;
    color: black;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
  }
  .dropdown {
    font-size: 10px;
    padding: 5px;
  }
  nav {
    text-align: center;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: Arial, Helvetica, sans-serif;
}
  nav a {
    background-color: rgb(255 255 255 / 70%);
    color: black;
    border-radius: 7px;
    padding: 2px 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px 14px;
    margin-top: 12px;
    display: inline-block;
    border-radius: 30px;
  }
  .dropdown-content {
    position: static;
    left: 0;
    right: 0;
    min-width: 100%;
    font-size: 12px;
    border-radius: 4px;
  }
  .dropdown-content a {
    padding: 4px 8px;
  }
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  button.side-link {
    right: 0;
    margin: 0;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 8px;
    margin-right: 0;
    box-sizing: border-box;
  }
  .modal-content {
    max-width: 100vw;
    transform: none;
  }
  .modal-content video {
    transform: rotate(0deg) !important;
    width: 100%;
    height: auto;
    max-width: 100vw;;
  }
  footer p {
    width: 100%;
    left: 0;
    right: 0;
    font-size: 12px;
    padding: 8px 0;
  }
}