@import "normalize.css";
@font-face {
  font-family: "Merriweather-Bold";
  src: url(../Font/Merriweather-Bold.ttf);
} 
@font-face {
  font-family: "Merriweather-Regular";
  src: url(../Font/Merriweather-Regular.ttf);
} 
body{
  background-color: #ffffff;
}
#aboutIntroText {
  font-size: 20px;
color: #33312E;
font-family: "Merriweather-Bold";
text-align: center;
width: 50%;
margin-left: auto;
margin-right: auto;
}
#aboutSub {
  color: #33312E;
font-family: "Merriweather-Bold";
font-size: 25px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
#title{
font-size: 60px;
color: #33312E;
font-family: "Merriweather-Bold";
margin-bottom: 50px;
text-align: center;
}
.sectionHeading{
  text-align: center;
}
#sectionHeading{
  font-size: 40px;
color: #33312E;
font-family: "Merriweather-Bold";
text-align: center;
margin-top: 8%;
margin-left: auto;
margin-right: auto;
}
button {
  padding: 10px;
  padding-left: 60px;
  padding-right: 60px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
  border-radius: 5px;
  border: none;
  font-size: 20px;
  margin-top: 30px;
  background-color: #5e5157;
  color: #ffffff;
  font-family: "Merriweather-Regular";
  cursor:pointer;
}
a {
  text-decoration: none;
  color: #f0f0f0;
}
#aboutMe{
text-align: center;  
font-size: 25px;
font-family: "Merriweather-Bold";

}
figcaption{
  font-family: 'Merriweather-Regular';
}
#Project-Title{
  font-family: 'Merriweather-Bold';
  font-size: 28px;
}
.text {
  text-align: center;
  margin-top: 15%;
  margin-left: auto;
  margin-right: auto;
}

#text{
  font-family: 'Merriweather-Regular';
  font-size: 20px;
  width: 70%;
  margin-left: 15%;
}
#portfolio{
width: 45%;
border: 2px none;
border-radius: 50%;
}
.project {
padding: 20px;
position: relative;
}

.footer {
padding-top: 20px;
padding-bottom: 20px;
background-color: #1f1f1f;
color: #fff;
font-size: 20px;
text-align: center;
}

#projects{
border-left: 6px solid #86b7c2;
position:relative;
margin-left: 5%;
text-align:left;
font-family: "Merriweather-Bold";
color: #cc9828;
}
.heading{
display: flex;
background-color: #D2C4C4;
padding-bottom: 13%;
}

.aboutSection{
  margin-top: -5%;
  display: grid;
grid-gap: 3%;
grid-template-columns: auto 40%;
text-align: center;
}
.sectionTitle{
  text-align: center;
}
.aboutText{
  text-align: left;
  margin-top: 15%;
  margin-left: 10%;
}
#aboutText {
  font-family: 'Merriweather-Regular';
  font-size: 18px;
}
ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 50%;
  align-self: center;
}
.mySkills{
  text-align: center;
  margin-top: 23%;
  margin-left: auto;
  margin-right: auto;
}
#skills-container {
  width: 80%;
margin-left: auto;
margin-right: auto;
}
.skill-item {
  font-size: 20px;
  background-color: #FFFDF8;
  padding: 15px;
  border-radius: 8px;
  flex-grow: 1;
  text-align: center;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2)
}

nav {
  position: fixed; /* Fix the navigation bar position */
  top: 0; /* Stick it to the top of the viewport */
  width: 100%; /* Make it span the full width of the viewport */
  height: 10%;
  display: flex;
  justify-content: space-between; /* Aligns items to the left and right */
  align-items: center; /* Aligns items vertically */
  background-color: #5e5157;
  color: #fff;
  padding: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
  z-index: 2; /* Ensure it appears above other content */
  
}
#navName {
  margin-left: 20px; 
  color: #fff;
text-decoration: none;
font-size: 15px;
font-weight: bold;
text-transform: uppercase;
}

.menu {
  display: flex;
  justify-content: flex-end; /* Aligns items to the right */
}

nav ul {
list-style: none;
margin: 0;
padding: 0;
}

nav li {
margin-right: 50px;

}

nav a {
color: #fff;
text-decoration: none;
font-size: 15px;
font-weight: bold;
text-transform: uppercase;
}

.menu>li {
margin-left: 15px; /* Adds some margin between menu items */
float: left;
width: auto;
line-height: 40px;
font-size: 17px;
}
.contactMe {
  background-color: #D2C4C4;
  padding-bottom: 10%; /* Adjust this value as needed */
  padding-top: 1px;
  }

.contact-form-container {
  background-color: #ffffff;
  width: 45%;
  margin-left: auto;
  margin-right: auto;
  padding: 3%;
  border-radius: 5px;
  box-shadow: 0 14px 18px rgba(0, 0, 0, 0.2); /* Adds shadow effect */
  margin-top: 3%;
}

.form-group {
  margin-bottom: 7%;
}

label {
  display: block;
  margin-bottom: 5px;
}


input{
  background-color: #f0f0f0;
  width: 100%;
  border: none;
  border-radius: 5px;
  height: 50px;
}
textarea {
  width: 100%;
  height: 150px;
  background-color: #f0f0f0;
  border-radius: 5px;
  border: none;
  
}

button[type="submit"] {
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}
#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 25px;
  transition: 0.4s;
}

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #5e5157;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%; /* Extend the menu to full width */
}

.mobile-menu li {
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}
nav a:hover {
  color: #ffcc00; /* Change the color when hovered over */
}
.tags img {
  display: inline-block; /* Display images as inline-block elements */
  vertical-align: middle; /* Vertically align images in the middle */
}

#icon {
  width: 50px;
  border: none;
}
/*Desktop Devices*/
 @media screen and (min-width: 900px) {
    /* Images */
    .grid-container{
      margin-top: 7%;
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* change grid-template-columns */
      grid-template-rows: auto;
      justify-content: center; 
      align-items: center; 
      text-align: center;
      padding: 10px;
      grid-gap: 10px;
    }
    .aboutSection{
      margin-top: -5%;
      display: grid;
    grid-gap: 3%;
    grid-template-columns: auto 40;
    text-align: center;
    }
  
    img{
      width: 100%; 
      max-width: 600px;
      height: auto;
      border: solid #5e5157 2px;
      border-radius: 5px;
    }
  }
 /*Laptop Devices*/
 @media screen and (max-width: 900px) {
    /* Images */
    .grid-container{
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        text-align: center;
        padding: 10px;
        grid-gap: 10px;
    }
    .aboutSection{
      margin-top: -5%;
      display: grid;
    grid-gap: 3%;
    grid-template-columns: auto;
    grid-template-rows: auto;    
    text-align: center;
    margin-left: -10%;

    }
    .mySkills{
      text-align: center;
      margin-top: -1%;
      margin-left: 18%;
      margin-right: auto;
    }
 
    img{
      width: 100%; /* change image width */
      max-width: 600px; /* add max-width */
      height: auto;
      border: solid black 2px;
    }
    .aboutText{
      text-align: center;
      margin-top: 15%;
      margin-left: 10%;
    }
    .menu {
      display: none; /* Hide the default menu */
    }
  
    #hamburger-icon {
      display: block;
    }
    
    .tags img {
      display: inline-block; /* Display images as inline-block elements */
      vertical-align: middle; /* Vertically align images in the middle */
    }
    
    #icon {
      width: 50px;
      border: none;
    }
 }
  /* Mobile Devices*/
 @media screen and (max-width: 600px) {
    /* Images */
    .grid-container{
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        text-align: center;
        padding: 10px;
        grid-gap: 10px;
    }
    .aboutSection{
      margin-top: -5%;
      display: grid;
    grid-gap: 3%;
    grid-template-columns: auto;
    grid-template-rows: auto;    
    text-align: center;
    margin-left: -10%;
    }
    .aboutText{
      text-align: center;
      margin-top: 15%;
      margin-left: 10%;
    }
    .mySkills{
      text-align: center;
      margin-top: -1%;
      margin-left: 10%;
      margin-right: auto;
    }
    img{
      width: 100%; /* change image width */
      max-width: 600px; /* add max-width */
      height: auto;
      border: solid black 2px;
    }
    .menu {
      display: none; /* Hide the default menu */
    }
  
    #hamburger-icon {
      display: block;
    }
    .tags img {
      display: inline-block; /* Display images as inline-block elements */
      vertical-align: middle; /* Vertically align images in the middle */
    }
    
    #icon {
      width: 50px;
      border: none;
    }
}
