/* basic css  */
body, h1, h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

/* Set a background color and font styles */
body {
    font-family: "Roboto", sans-serif;
    background-color: #8fcfe9;
    color: #333;
    line-height: 1.6;
}
body p {
    font-family: inherit;
}
h1, h2, h3, h4 {
    font-family: "Oswald", sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
}
h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "FeelingPassionateRegular", sans-serif;
    font-weight: 400;
}
main {
    max-width: 95%;
    background-color: white;
    display: block;
    margin: auto;
    box-shadow: 0 0 15px 0 rgba(31, 73, 125, 0.8);
    

}

/* Navigation bar styles */
nav {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family: "Roboto", sans-serif;
    
}
.top {
    background-color: #333;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

nav ul {
    list-style: none;
    
}

nav ul li {
    display: inline;
    margin-right: 20px;
}


nav a:hover{
        color: #8fcfe9;
        
} 
 nav a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 40px;
    align-items: center;
    padding: 10px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 4px;
    background: currentColor;
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

nav a:hover::after {
    transform: scaleX(1) rotate(-1deg);
    color: #8fcfe9;
}
.logo {
    max-width: 200px;
    display: block;
    padding: 20px;
    border: none;

    }
 .logo:hover {
        border: solid 1px transparent;
        }
/* footer styles */
footer{
    background-color: #333;
    color: #fff;
    
}
.main-footer {
    display: grid;
    grid-template-columns: 1fr 3fr;
    max-height: 120px;
}
 footer .lower {
    text-align: center;

}
footer hr {
    width: 90%;
    margin-top: 40px;
}
.quicklinks {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    max-width: 500px;
    align-items: center;
    font-family: "Roboto", sans-serif;

    
}
.quicklinks a:hover {
    text-decoration: none;
    color:#8fcfe9;
}
.quicklinks a {
    text-decoration: none;
    color: white;
}

footer .logo {
    max-width: 125px;
}

.copyright {
    padding: 10px;
    font-family:"FeelingPassionateRegular", sans-serif;
    font-weight: 400;
}



/* homepage css */

.cate {
    max-width: 80%;
    background-color: #333;
    filter: drop-shadow(20px 20px 10px gray);
    width:30rem;
    grid-column: 2/3;
    margin-bottom: 50px;
    padding: 0;
    border-radius: 30px;
   
}
.intro {
    margin: auto;
    max-width: 80%;
    font-size: 18px;
    padding: 0;
    

}

img {
    filter: blur(0);
    transition: filter 3s;
    
}
img:hover {
    border: solid 3px #8fcfe9;
}

img[data-src] {
    filter: blur(0.25em);
  }

.welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}


.marine-wrench {
    display: block;
    margin: 0 auto;
}

.marine-wrench:hover {
  border: none;
}


a {
    text-decoration: none;
}

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.button-group {
    text-align: center;
    margin-bottom: 30px;
}


.why ul {
    list-style: none;
    padding-left: 0;
}

.why li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.why li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238fcfe9'%3E%3Cpath d='M20.3 5.7a1.5 1.5 0 0 1 0 2.1l-9.2 9.2a1.5 1.5 0 0 1-2.1 0L3.7 11.7a1.5 1.5 0 1 1 2.1-2.1l4.2 4.2 8.2-8.2a1.5 1.5 0 0 1 2.1 0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

 .button-group a:hover{
        color: #8fcfe9;
        
} 
 .button-group a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 20px;
    align-items: center;
    padding: 10px;
    font-family: "FeelingPassionateRegular", sans-serif;
    font-weight: 400;
}

.button-group a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 4px;
    background: currentColor;
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.button-group a:hover::after {
    transform: scaleX(1) rotate(-1deg);
    color: #8fcfe9;
}


/* Contact Page styling */

.greeting-contact {
    text-align: center;
    padding: 20px;
}
form fieldset {
    margin: auto;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px 10px;
    background-color: #8fcfe9;
    width: 50%;
    
  }

form legend {
  color: #333;
  margin: 0 1rem;
  padding: 0 0.5rem;
  font-size: 1.5rem;
}

form label.user-info, form label.message, form div  {
    display: block;
    padding-top: 1rem;
    color: #333;
  }
  form input.submitButton {
    display: block;
    margin: auto;
    border: none;
    background-color: #8fcfe9;
    border: 1px solid #333;
    color: #333;
    border-radius: 0.5rem;
    margin-top: 20px;
    padding: 0.75rem 1.5rem;
    width: 60%;
    max-width: 20rem;
    font-size: 0.90rem;
  }

  form label.user-info input:required {
    border-left: red solid 6px;
  }
  form label.user-info input:required:valid {
    border-left: green solid 6px;
  }
  form label.message input:required {
    border-left: red solid 6px;
  }
  form label.message input:required:valid {
    border-left: green solid 6px;
  }
  
  .ig {
    max-width: 50px;
  }
  .in{
    max-width: 50px;
  }
 .social-links{
    display: block;
    text-align: center;
    padding: 20px;
 }

.arrows{
    font-size: 60px;
    color: #333;

}
.hope {
    font-family: 'Rock Salt', serif;
    text-align: center;
    padding: 40px;
}

/* About Me Styling */
 .about-me {
    padding: 20px;
    width: 75%;
    margin: auto;
    font-style: italic;
    /* border-style: dotted dashed solid double;
    border-radius: 20px;
    border-color: #333; */
 }

.cate2 {
    border-radius: 30px;
    float: right; 
    margin: 10px;
    width: 350px;
}

.service-points {
    margin-left: 40px; /* indentation */
}

.service-points ul {
    list-style: none;
    padding-left: 0;
}

.service-points li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Anchor icon */
.service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238fcfe9'%3E%3Cpath d='M12 2a3 3 0 0 1 3 3a3 3 0 0 1-2 2.83V10h3v2h-3v6.1A6 6 0 0 0 18 12h2a8 8 0 0 1-7 7.75V22h-2v-2.25A8 8 0 0 1 4 12h2a6 6 0 0 0 5 6.1V12H8v-2h3V7.83A3 3 0 0 1 9 5a3 3 0 0 1 3-3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.ready a:hover{
        color: #8fcfe9;
        
} 
 .ready a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 25px;
    align-items: center;
    font-family: "FeelingPassionateRegular", sans-serif;
    font-weight: 400;
    display: inline-block; /*important */
}

.ready a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height:3px;
    background: #8fcfe9;
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.ready a:hover::after {
    transform: scaleX(1) rotate(-1deg);
}


.ready {
  display: block;
  text-align: center;
}
.ready p {
    display: flex;
    width: 70%;
    margin-left: 120px;
    flex-direction: row;
}

.ready1 {
    font-family: "FeelingPassionateRegular", sans-serif;
    font-weight: 400;
}


/* Portfolio Page Styling */
.directory #content {
  margin: auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}
.cards section {
  border: 2px solid #333;
  border-radius:20px;
  background-color: white;
  padding: 25px;
  text-align: center;
  height: 350px;
  width: 250px;
  margin: 20px;
}

.directory .cards img {
  height: 150px;
  width: 250px;
}

.directory .cards img:hover {
  transform: scale(2);
}

.directory a {
  text-decoration: none;
  color: #333;
  font-family: "Roboto", sans-serif;

}

.directory p:first-of-type {
  font-style: italic;
  font-size: 0.75em;
}
.directory p {
  font-family: "Roboto", sans-serif;
}

.directory table {
  width: 90%;
  border-collapse: collapse;
  margin: auto;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
}

.directory td {
  padding: 10px;
}

tr:nth-child(odd) {
  background-color: #e5e5e5;
}

tr td {
  display: block;
}
.project-greeting {
  padding: 20px;
  text-align: center;
}

/* Service pages styling */

.servicetitle {
    text-align: center;
    padding: 20px;
}

 .maininfo {
    padding: 20px;
    width: 75%;
    margin: auto;
    font-style: italic;
    /* border-style: dotted dashed solid double;
    border-radius: 20px;
    border-color: #333; */
 }

.cate2 {
    border-radius: 30px;
    float: right; 
    margin: 10px;
    width: 350px;
}

.service-points {
    margin-left: 40px; /* indentation */
}

.service-points ul {
    list-style: none;
    padding-left: 0;
}

.service-points li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Anchor icon */
.service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238fcfe9'%3E%3Cpath d='M12 2a3 3 0 0 1 3 3a3 3 0 0 1-2 2.83V10h3v2h-3v6.1A6 6 0 0 0 18 12h2a8 8 0 0 1-7 7.75V22h-2v-2.25A8 8 0 0 1 4 12h2a6 6 0 0 0 5 6.1V12H8v-2h3V7.83A3 3 0 0 1 9 5a3 3 0 0 1 3-3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.ready a:hover{
        color: #8fcfe9;
        
} 
 .ready a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 25px;
    align-items: center;
    font-family: "FeelingPassionateRegular", sans-serif;
    font-weight: 400;
    display: inline-block; /*important */
}

.ready a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height:3px;
    background: #8fcfe9;
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.ready a:hover::after {
    transform: scaleX(1) rotate(-1deg);
}


.ready {
  display: block;
  text-align: center;
}
.ready p {
    display: flex;
    width: 70%;
    margin-left: 120px;
    flex-direction: row;
}

.ready1 {
    font-family: "FeelingPassionateRegular", sans-serif;
    font-weight: 400;
}

