﻿html {padding-bottom: 50px;}

body {
      font-family: 'Roboto', 'Helvetica Neue', sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f4f4f4; /* Light background color */
      color: #0f34aa;
      background-image: url('../images/bg.jpeg'); /* Replace with the path to your image */
      background-size: cover; /* Cover the entire viewport */
      background-position: center; /* Center the background image */
      background-repeat: repeat-y;
      background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) for opacity */
    }

    header {
      background-color: #ffffff; /* Dark background color for the header */
      display: flex;
      align-items: center;
      text-align: center;
      z-index: 1000; /* Ensure the header is above other content */
    }

    nav {
      display: flex;    
      justify-content: center;
      background-color: #001f3f; /* Dark blue background color */
      /*padding: 10px 0;  Add some padding for spacing */
      margin-top: 0px; /* Adjust the margin to create space for the fixed header */
      width:100%
    }

    nav a {
      color: #3498db; /* Blue text color for the links */
      text-decoration: none;
      padding: 10px 10px; /* Spaces between the links */
      display: inline-block;
      transition: color 0.3s; /* Add transition for smoother color change */
    }

    nav a:hover {
      color: #ffffff; /* White text color on hover */
    }


    .container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: stretch;
      min-height: 100vh;
    }

    .shadow-box {
      width: 80%;
      margin: 20px auto;
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      padding: 20px;
      text-align: center;
      z-index: 2
    }

    video {
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

      #videoContainer {
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    #combinedVideo {
      width: 100%;
      transition: opacity 1s ease-in-out;
    }

    #combinedVideo.fade-out {
      opacity: 0;
    }

    img {
      max-width: 80%;; /* Adjust the maximum width of the image */
      /*margin-right: 20px;  Add margin for spacing between logo and header */
    }
    .icon{max-width: 40px; max-height: 40px;}

    .img_aboutus{max-width: 100%; padding-top: 30px;}
    .img_missionvision{max-width: 100%; padding-top: 30px;}

     h1 {
      color: #0f34aa;
      text-align: center;
      font-family: Aptos Serif;
      font-weight: bolder;
    }

    h2 {
      font-family: Aptos Serif;
      margin: 0; /* Remove default margin for h2 */
    }
    ul{text-align: left;}

      .blue-box {
      border: 2px solid #3498db; /* Blue border color */
      border-radius: 8px; /* Border radius for rounded corners */
      padding: 10px; /* Add padding for space inside the border */
    }

    /* Style for the unordered list inside the blue box */
    .blue-box ul {
      list-style-type: disc; /* Bulleted list style */
      margin: 0; /* Remove default margin for the list */
      padding: 0 0 0 20px; /* Add left padding for indentation */
    }

    /* Style for the list items inside the blue box */
    .blue-box li {
      margin-bottom: 8px; /* Add margin between list items */
    }
         
    p {text-align: justify; text-indent: 0px; line-height: 20px; margin-top: 10px;}
    .p_home {text-align: center; text-indent: 0px; font-size: larger; margin-top: 0px;}
    .p_staff{text-align: center; text-indent: 0px; margin-left: 14%; margin-right: 14%;}
    
    textarea{width:400px; height:200px;}

    .blue-border-paragraph {
     border: 2px solid #3498db; /* Blue border color */
     border-radius: 8px;
     padding: 10px; /* Add padding for space inside the border */
    }

    .article-container {
      display: flex;
      justify-content: space-between;
      max-width: 1200px;
      margin: 20px auto;
      padding: 20px;
      padding-top: 0px;
      padding-bottom: 0px;
      background-color: #fff;
      font-family: 'Roboto', 'Helvetica Neue', sans-serif;
      font-size: 16px;
      font-weight: normal;      
    }

    .article-column {
      flex: 0 0 48%; /* Adjust the width of each column as needed */
      box-sizing: border-box;
     }

    .gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
    }

    .gallery img {
      /*width: 300px;
      height: 200px;*/
      max-width: 70%;
      border-radius: 8px;
      object-fit: cover;
      border: 1px solid #ddd;
      transition: transform 0.3s ease-in-out;
      margin-right: 0px; 

    }

    .gallery img:hover {
      transform: scale(1.2);
    }


   .img_header{
    max-width: 30%;
    
    }

   .img_subheader{
    max-width: 30%;
    padding-top:20px;
    padding-bottom: 5px;
    }


    .links {
      text-align: center;
      padding: 20px;
      padding-bottom: 0px;
    }

    .links a {
      display: inline-block;
      margin: 0 5px;
      color: #0f34aa;
      text-decoration: none;
      cursor: pointer;
    }

    .gallery_services {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      padding: 0px;
    }

    .gallery_services img {
      width: 275px;
      height: 150px;
      object-fit: cover;
      margin: 10px;
      border-radius: 8px;
      transition: transform 0.3s ease-in-out;
    }

    .gallery_services img:hover {
      transform: scale(1.3);
    }

        
    .img_ceo {border-radius:8px; margin-bottom: 20px;}

    .header_ceo{padding-bottom: 0px; padding-top: 5px;}

    .p_ceo {
      font-family: 'Roboto', 'Helvetica Neue', sans-serif;
      font-size: 16px;
      font-weight: normal;
      text-indent: 40px;
      }
    hr {
    clear: both;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,.75),rgba(0,0,0,0));  
    margin: 30px auto;
	}
    .container_ceo
    {
    margin-top: 0px;
    margin-left: 20px;
    margin-right: 20px;
    }

    .img_vessel {width: 1000px; height: 400px; margin: 50% auto; margin-top: 20px; margin-bottom: 0; border-top-left-radius: 8px; border-top-right-radius: 8px;}
    .button_vessel {margin-left: 10%; margin-right: 10%; opacity: 0.6;}
    .img_flag {width: 25px;}

    .table_vessel {margin: 50px;}
    table {
      width: 80%;
      border-collapse: collapse;
      margin: auto;
    }

    th, td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }

    th {
      background-color: #f2f2f2;
    }

    .logo_menu{width:40px; height: 40px;}

   /* CSS styles for the footer */
   .content {
      min-height: calc(100vh - 140px); /* Adjusted to account for footer height and padding */
    }

    .footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #001f3f;
      color: #acc4dc;
      padding: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 15px;
      box-sizing: border-box;
      flex-wrap: wrap; /* Allow items to wrap to the next line */
      padding-left: 0px;
      padding-right: 0px;
}

    .footer-left, .footer-right {
      display: flex;
      align-items: left;
    }

    .footer-left p {
      margin: 0;
      margin-bottom: 5px;
      display: flex;
      align-items: left;
      text-align: left;
      padding-left: 15px;
    }

    .footer-left p img {
      margin-right: 5px;

    }

    .footer-left p a {
      color: #acc4dc;
      text-decoration: none;
    }

    .footer-right p a {
      margin: 0;
      margin-bottom: 5px;
      display: flex;
      align-items: center;
      text-align: center;
      padding-left: 15px;
    }


    .footer-right p a {
      color: #acc4dc;
      text-decoration: none;
    }
    .footer-right img {
      width: 30px;
      height: 30px;
      margin-right: 20px;
    }

    .footer_icon {
      width: 20px;
      height: 20px;
    }

    #myBtn {
      display: none;
      position: fixed;
      bottom: 5%;
      right: 0px;
      z-index: 99;
      font-size: 18px;
      border: none;
      outline: none;
      background-color: none;
      color: white;
      cursor: pointer;
      padding: 15px;
      border-radius: 4px;
      width: 90px;
      height: 90px;
}
    }

    #myBtn:hover {
      background-color: none;
    }

     /* POEA - MARINA */
    .myImg {
      border-radius: 5px;
      cursor: pointer;
      transition: 0.3s;
    }

    .myImg:hover {opacity: 0.7;}

    /* The Modal (background) */
    .modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      padding-top: 50px; /* Location of the box */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgb(0,0,0); /* Fallback color */
      background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    }

    /* Modal Content (image) */
    .modal-content {
      margin: auto;
      display: block;
      width: 80%;
      max-width: 700px;
    }

    /* Caption of Modal Image */
    .caption {
      margin: auto;
      display: block;
      width: 80%;
      max-width: 700px;
      text-align: center;
      color: #ccc;
      padding: 10px 0;
      height: 150px;
    }

    /* Add Animation */
    .modal-content, .caption {  
      -webkit-animation-name: zoom;
      -webkit-animation-duration: 0.6s;
      animation-name: zoom;
      animation-duration: 0.6s;
    }

    @-webkit-keyframes zoom {
      from {-webkit-transform:scale(0)} 
      to {-webkit-transform:scale(1)}
    }

    @keyframes zoom {
      from {transform:scale(0)} 
      to {transform:scale(1)}
    }

    /* The Close Button */
    .close {
      position: absolute;
      top: 0px;
      right: 400px;
      color: #f1f1f1;
      font-size: 40px;
      font-weight: bold;
      transition: 0.3s;
    }

    .close:hover,
    .close:focus {
      color: #bbb;
      text-decoration: none;
      cursor: pointer;
}
    .dmw{width:45%; padding-top:30px;}
    .mia{width:44%; padding-top:30px;}

    /* Media query for responsive layout */
    @media screen and (max-width: 768px) {
      .footer-left, .footer-right {
        flex-direction: column; /* Change to row layout for responsiveness */
      }

      .footer-left p,  {
        margin: 0;
        margin-right: 10px; /* Add space between items in the row layout */
        margin-bottom: 5px;
      }

       .footer-right a {
        margin: 0;
        margin-right: 0px; /* Add space between items in the row layout */
        margin-bottom: 5px;
      }

      html {padding-bottom: 50px;}
      .shadow-box{margin-bottom: 150px;}
      .img_vessel {height: 170px;}
      .article-container {display: contents;}
      .container_ceo {margin-top:0px; margin-left:0px; margin-right:0px;}
      #myBtn {bottom: 20%; margin-right: -14px; width: 70px; height: 70px;}
      .modal-content {width: 100%;}
      .close{right: 5px;}
      }

