@charset "utf-8";
@import url("webfonts/Montserrat_Bold/stylesheet.css");

body {
    margin: 0;
    font-family: "Montserrat Regular" , sans-serif;
/*    background-color: #033234;*/
    color: #022222;
    line-height: 1.6;
  }
/*
.works-header {
    text-align: center;
    padding: 2rem 0rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-image: url(images/web-work_01.jpg);
    background-repeat: no-repeat;
    background-size: cover;
  }
*/

.wrapper{
    max-width: 1200px;
    margin: 0 auto;
   -webkit-box-shadow: 0px 8px 30px -1px #D9D9D9;
    box-shadow: 0px 8px 30px -1px #D9D9D9;
}
  header {
    text-align: center;
    padding: 2rem 0rem;
    background-color: #C5FCFE;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    height: 0%;
    line-height: 2px;
    background-image: -webkit-linear-gradient(337deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(337deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(337deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(113deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
  }
  header h1 {
    font-size: 2.5rem;
    margin: 0;
  }
  header p {
    font-size: 1.2rem;
    color: #056839;
  }
/*
  .works-nav {
    position: sticky;
    display: flex;
    justify-content: center;
    background-color: #022222;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -19px;
  }
*/
nav {
    position: sticky;
    display: flex;
    justify-content: center;
    background-color: #022222;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -16px;
  }
  nav a {
    color: white;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
  }
  nav a:hover {
    background-color: #017B58;
  }
/*==========profile section============*/
.profile{
    display: flex;
}
.my_profile{
    background-image: url(images/my_profile.jpg);
    width: 209px;
    height: 224px;
    background-size: 103% auto;
}
.my_say{
    max-width: 73%;
    height: 225px;
}
  section {
    padding: 2rem 1rem;
    max-width: 85%;
    margin: auto;
  }

  .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .project {
    background-color: #86FFB4;
    padding: 1rem;
    border-radius: 10px;
    -webkit-box-shadow: 1px 2px 8px #CECECE;
    box-shadow: 1px 2px 8px #CECECE;
  }
  .project img {
    width: 100%;
    border-radius: 5px;
  }
.contact-works{
}

  footer {
    background-color: #012728;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 11px;
    }
.projects .project img {
}


    .socialIcons {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .socialIcons a {
        background-color: white;
        padding:0 7px;
        border-radius: 50%;
        color: black;
        font-size: 1.5rem;
        transition: 0.3s;
    }

    .socialIcons a:hover {
        background-color: #111;
        color: white;
    }

    .footerNav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0;
        margin: 0;
    }

    .footerNav ul li a {
        color: white;
        text-decoration: none;
        opacity: 0.7;
    }

    .footerNav ul li a:hover {
        opacity: 1;
    }

    .footerBottom {
        margin-top: 1rem;
        font-size: 0.9rem;
        opacity: 0.8;
    }
.youtube-edu{
	display: flex;
	justify-content: center;
}
.wrapper #about h2 {
    background-image: -webkit-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(49deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
}
.wrapper #projects h2 {
    background-image: -webkit-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(49deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
}
footer .footerBottom p {
    color: #FFFFFF;
}
.wrapper #contact p {
    max-width: 46%;
}


.contact-down{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 10px;
    -webkit-box-shadow: 2px 7px 11px #D7D7D7;
    box-shadow: 2px 7px 11px #D7D7D7;
}
.container .about-page h2 {
    background-image: -webkit-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(49deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
}
.container .about-page h3 {
    background-image: -webkit-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(41deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(49deg,rgba(245,245,245,1.00) 0%,rgba(133,255,180,1.00) 47.46%,rgba(255,255,255,1.00) 100%);
}
.wrapper nav a {
    font-family: "Montserrat Bold";
}





/*========tablet devices===========*/

@media (max-width: 768px) and (min-width: 481px) {
  header h1 {
    font-size: 1.8rem;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  section {
    padding: 15px;
  }
}


  @media (max-width: 600px) {
    header h1 {
      font-size: 2rem;
    }
.about-page p {
    text-align: justify;


}
.about-page p {
    -webkit-box-shadow: 0 0 #DCDCDC;
    box-shadow: 0 0 #DCDCDC;
}


  }

/* ===== Small devices: Phones ===== */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.5rem;
    text-align: center;
  }
  nav {
    flex-direction: column;
    text-align: center;
  }
  .projects {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  section {
    padding: 10px;
	  text-align: center;
  }
	section h3{
	color: white;
    background-image: -webkit-linear-gradient(270deg,rgba(3,50,52,1.00) 0%,rgba(2,34,34,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(3,50,52,1.00) 0%,rgba(2,34,34,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(3,50,52,1.00) 0%,rgba(2,34,34,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(3,50,52,1.00) 0.00%,rgba(2,34,34,1.00) 100%);
    width: 95%;
	}
	.my_say{
	margin-top: 10px;
	background-color: aqua;
    width: 90%;
		height: 300px;
}
	.profile{
		max-width: 100%;
   		 display: flex;
		flex-direction: column;
    	min-height: 500px;
		align-items: center;
	}
}


    /* Medium breakpoint (tablets) */
    @media (max-width: 768px) {
      .box1, .box2, .box3, .box4, 
      .box5, .box6, .box7, .box8, 
      .box9, .box10 {
        width: 48%;
      }
    }

    /* Small breakpoint (mobile phones) */
    @media (max-width: 480px) {
      .gallery {
        gap: 10px;
      }

      .box1, .box2, .box3, .box4, 
      .box5, .box6, .box7, .box8, 
      .box9, .box10 {
        width: 100%;
      }
    }
 body {
      font-family:  "Montserrat Regular" ,sans-serif;
      margin: 0;
      padding: 0;
      background: #fff;
      display: flex;
      justify-content: center;
		flex-direction: column;
    }

    .container {
    max-width: 1000px;
    width: 100%;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0px 8px 30px -1px #D9D9D9;
    box-shadow: 0px 8px 30px -1px #D9D9D9;
    }

    header {
      text-align: center;
      margin-bottom: 20px;
    }

    header .logo {
    color: white;
    padding: 40px;
    font-size: 24px;
    font-weight: bold;
    }

    h2 {
      text-align: center;
      color: #0073e6;
      margin: 20px 0;
    }

    .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    max-width: 1000px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    }

    .box {
    position: relative;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    color: white;
    background-repeat: no-repeat;
    }

    /* Overlay style */
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.4s ease;
      font-size: 20px;
      font-weight: bold;
      text-align: center;
      padding: 10px;
    }

    .box:hover .overlay {
      opacity: 1;
    }

    /* Random colors, widths, and heights */
    .box1 {
    width: 68%;
    height: 450px;
    background-image: url(images/web-work_05.jpg);
    background-size: cover;
    background-position: 68% 0%;
}
    .box2 {
    width: 28%;
    height: 442px;
    background-image: url(images/web-work_07.jpg);
    background-size: cover;
}
    .box3 {
    background-color: #ffd36b;
    width: 30%;
    height: 384px;
    background-image: url(images/web-work_22.jpg);
    background-size: cover;
    background-position: 27% 0%;
    background-repeat: no-repeat;
}
    .box4 {
    width: 65%;
    height: 255px;
    background-image: url(images/levels.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
    .box5 {
    width: 48%;
    height: 531px;
    min-height: 314px;
}
.box5a {
    width: 100%;
    height: 263px;
    background-image: url(images/web-work_13.jpg);
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: cover;
}
.box5b {
    width: 100%;
    height: 262px;
    background-image: url(images/web-work_05.jpg);
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: cover;
    margin-top: 9px;
}
    .box6 {
    width: 48%;
    height: 574px;
    background-image: url(images/web-work_29.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 64px;
    margin-top: -114px;
    background-position: 49% 0%;
}
    .box7 { background: #6b9eff; width: 48%; height: 200px; }
    .box8 { background: #ff6bb1; width: 48%; height: 200px; }
    .box9 {
    width: 48%;
    height: 250px;
    background-image: url(images/web-work_16.jpg);
}
    .box10 { background: #6bfff4; width: 48%; height: 250px; }
