@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*  {
    -webkit-margin-before: 0; /*reset to reduce paragraphs height */
    -webkit-margin-after: 0;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    
  }
  
  body { background-image:url('images/seaback-FR.jpg'); background-repeat: no-repeat; background-size: cover;}

  
  body {font-size: 16px; line-height: 1.4; margin: 0; padding: 0; box-sizing: border-box; font-family: 'Ubuntu', sans-serif;}
  img {max-width: 100%; display: block;}
  .header {background-color: #54778c;}
  .logo { max-width: 10%; }
  .minor {font-size: 1.5rem; text-align: center;}
  .ainm {letter-spacing: 3px;}
  .ainmsub {font-size: 1.3rem; color: orange; padding-bottom: 1rem;}
  .social {display: flex; align-items: center; justify-content: right; margin-right: 150px;}
  .social .fa {padding: .5rem 0; color: #fff; font-size: 1.5rem;}
 
  .nav{ display: flex; align-items: center; justify-content: space-between;}
  .nav-ul {position: relative; color: #fff; letter-spacing: 1.5px; font-family: 'Ubuntu', sans-serif; flex-grow: 1; display: flex; align-items: center; justify-content: space-between; list-style: none; gap: 1rem; font-size: 1.2rem; text-shadow: 1px 1px #000;}
  .nav-ul li:nth-of-type(7) {margin-left: auto;  margin-right:50px; }
  .nav-ul li:nth-of-type(1) {margin-right: auto; margin-left: 1rem;}
    .nav-ul li:nth-of-type(7) {font-family: 'Cormorant Garamond', serif; }
    .hamburger {
      background-color: transparent;
      display: none;
      color: #fff;
      border: 0;
      cursor: pointer;
      font-size: 25px;
     
  }


  .nav-ul .route a {font-size: 1.2rem; font-family:'Ubuntu', sans-serif; }
  
  .hamburger:focus {outline: none;}
  
  .nav-ul li a { display: inline-block;
      color: #fff;
      font-family: 'Cormorant Garamond', serif;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
    font-size: 1.2rem;
  
     
  }
  .nav-ul li a {color: fff; font-size: 2rem;}
  .fa { margin-right: 10px;}


  ul li ul.drop {
    min-width: 3rem; /* Set width of the dropdown */
    background: #f27052;
    display: none;
    position: relative;
    z-index: 999;
    border-radius: 10px;
}
ul li:hover ul.drop{
    display: block; /* Display the dropdown */
    position: absolute;
}
ul li ul.drop li {
    display: block;
    text-align: center;
   
}

ul li ul.drop li:first-child {
margin-left: 0; display: none;
  
}
.drop {margin-left: 20px;}
 .drop li a {text-shadow: 2px 2px #000; margin-left: -50px;font-size: 1.3rem;}
.fa-caret-down {color: #f27052;}

.main {display:flex; align-items: center; justify-content: center; max-width: 60%; flex-direction: column; margin: 0 auto; }
.mainheadline {font-size: 2rem; color: #54778c; padding: 1rem; font-family: 'Montserrat', sans-serif;}
.mainsub {font-size: 1.5rem; padding: 1rem; font-family: 'Montserrat', sans-serif;}
.default-icon {max-width: 10%;}

.view1 {display:flex; align-items: center; justify-content: center;}
.view1-inner {display:flex; align-items: center; justify-content: center; flex-direction: column;}
.view1 { display: flex;
            height: 100vh;
            width: 100%;
            flex-flow: column wrap;
            align-content: center; 
            background-image: url("images/rod-diver-unsplash.jpg");
            background-position: center; 
            background-repeat: no-repeat;
            background-size: cover; 
            
}



.contactA {font-size: 1.2rem;
    background: #54778c;
    color: #fff;
    text-shadow: 1px 1px #000;
}

.copyright {font-size: 1.2rem;
    background: #54778c;
    color: #fff;
    text-shadow: 1px 1px #000;}

    .location {font-size: 1.2rem;
    background: #54778c;
    color: #fff;
    text-shadow: 1px 1px #000;}



@media (max-width: 1200px) {
    .nav {clear: both; }
      .nav-ul {display: none; flex-direction: column; }
      .nav-ul.show {display: flex; max-width: 50%; margin: 0 auto;}
      .hamburger {display: block; float: right;}
      .btn { width: 100%;} 
      .nav-ul li:nth-of-type(7) {margin: 0;}
  .nav-ul li:nth-of-type(1) {margin: 0;}
      /*.nav-ul { position: absolute; z-index: 999; text-align: center; max-width: 100% !important;} */
      
      }

      @media (max-width: 1200px) {
        
      .cards {display: -webkit-box;
       display: -moz-box;
       display: -ms-flexbox;
       display: -moz-flex;
       display: -webkit-flex;
       display: flex;
       background-color:#1abc9c;
       flex-direction:row;
       flex-wrap: wrap;}
      
     .buffer { max-width: 350px; height: 650px; }
     }
     
     @media (max-width: 1200px) {
     .buffer .button1 {align-items: end;}
     }
     

     



  .footer {display: flex; align-items: center; justify-content:space-evenly; font-size: 1.2rem; background: #54778c; color: #fff; text-shadow: 1px 1px #000;}
.footerinner { min-height: 200px; text-align: center; width: 250px; padding-bottom: 2rem;}
.footer h2 {padding: 1rem;}


.footer a {text-decoration: none; color: #fff; text-shadow: 1px 1px #000;}

@media (max-width: 480px) {
  .footer{flex-direction: column;
  width: 100%;}
  .footerinner {width: 100%; text-align: center;}
  .contactA {font-size: 1.7rem; padding: 0.5rem;}
  .location {font-size: 1.7rem; padding: 0.5rem;}
  .copyright {font-size: 1.7rem; padding: 0.5rem;}
  .safetyhead {font-size: 2.5rem;}
  .obairhead {font-size: 2.5rem;}
  }

 @media (max-width: 480px) {

    .nav-ul.show {max-width: 80%; padding-left: 0;}
    .nav-ul li:nth-of-type(7) {margin-left: -2.5rem;} /*phone-number*/
    .nav-ul .route a {font-size: 1.7rem;}
    .nav-ul .route {margin-left: -2rem;}
    .nav-ul li:nth-of-type(1) {margin: 0 auto; max-width: 100%; text-align: center; margin-left: -1rem;} 
    .nav-ul li:nth-of-type(7) {margin-left: -2rem;}

  }

  @media (max-width: 480px) {
    .main {max-width: 90%;}
      .mainheadline {font-size: 1.7rem;}
      .default-icon {max-width: 60%;}
  }

  @media (max-width: 320px) {
  .nav-ul li:nth-of-type(1) {margin: 0 auto; max-width: 100%;}
  }

  

     @media (max-width: 480px){
 .logo {max-width: 50%;}
     .logo img {width: 50%; margin-left: 25%;}
     
 }

 @media (max-width: 480px) {
  
 .default-icon {max-width: 30%;}
 }

 .button1 {
  position: relative;
  display: inline-block;
  padding: 0.618rem 1.618rem;
  cursor: pointer;
  color: #FFF;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  background: #434343 none repeat scroll 0% 0%;
  border: 1px solid #242424;
  border-radius: 25px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.5) inset,
    0 1.25rem 0 rgba(255, 255, 255, 0.08) inset,
    0 -1.25rem 1.25rem rgba(0, 0, 0, 0.3) inset,
    0 1.25rem 1.25rem rgba(255, 255, 255, 0.1) inset;

  transition: all 0.2s linear 0s;

  text-align: center;
  text-decoration: none;
  margin: 0.618rem;
}

.button1 {
  background-color: #39a7bf; width: 50%; font-size: 1.5rem; font-weight: 500; height: 50px; max-height: 100px; box-shadow: 5px 5px #000;
   margin-left: 25%; margin-top: 2.5rem;
}

.button1:hover,
.button1:focus {
  text-decoration: none;
  color: #fff;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.25) inset,
    0 20px 0 rgba(255, 255, 255, 0.03) inset,
    0 -20px 20px rgba(0, 0, 0, 0.15) inset,
    0 20px 20px rgba(255, 255, 255, 0.05) inset;
}
.button1:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0) inset,
    0 0 5px rgba(0, 0, 0, 0.5) inset,
    0 20px 0 rgba(255, 255, 255, 0.03) inset,
    0 -20px 20px rgba(0, 0, 0, 0.15) inset,
    0 20px 20px rgba(255, 255, 255, 0.05) inset;
	
}

/*.button1::before {
  content: "";
  display: block;
  position: absolute;
  background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
  background:-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
  background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
  background:linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
  padding: x 12px;
  top: 0;
  left: 15%;
  height: 1px;
  width: 40%;
  box-shadow: 0 1px 5px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out 0s;
} */
.button1:active::before {
  opacity: 0;
}
.button1:hover::before {
  left: 45%;
}

.button1 a {text-decoration: none; color: #fff;}
.button2 {
  position: relative;
  display: inline-block;
  padding: 0.618rem 1.618rem;
  cursor: pointer;
  color: #FFF;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
  background: #434343 none repeat scroll 0% 0%;
  border: 1px solid #242424;
  border-radius: 25px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.5) inset,
    0 1.25rem 0 rgba(255, 255, 255, 0.08) inset,
    0 -1.25rem 1.25rem rgba(0, 0, 0, 0.3) inset,
    0 1.25rem 1.25rem rgba(255, 255, 255, 0.1) inset;

  transition: all 0.2s linear 0s;

  text-align: center;
  text-decoration: none;
  margin: 0.618rem;
}

.button2 {
  background-color: #f27052; width: 60%; font-size: 1.5rem; font-weight: 500; height: 50px; max-height: 100px; box-shadow: 5px 5px #000;
   margin-left: 20%; margin-top: 2rem;
}

.button2:hover,
.button1:focus {
  text-decoration: none;
  color: #fff;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.25) inset,
    0 20px 0 rgba(255, 255, 255, 0.03) inset,
    0 -20px 20px rgba(0, 0, 0, 0.15) inset,
    0 20px 20px rgba(255, 255, 255, 0.05) inset;
}
.button2:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0) inset,
    0 0 5px rgba(0, 0, 0, 0.5) inset,
    0 20px 0 rgba(255, 255, 255, 0.03) inset,
    0 -20px 20px rgba(0, 0, 0, 0.15) inset,
    0 20px 20px rgba(255, 255, 255, 0.05) inset;
	
}
.button2.baid::before {
  opacity: 0;
}
.button2:hover::before {
  left: 45%;
}

.button2 a {text-decoration: none; color: #fff;}
