/* 
------------------------------------------------------------------------------------ 
index.html css code */

body{
  font-family: helvetica;
  color: #DCDCDC;
  background-color: #202020;
}
nav{
  background-color:#202020;
  opacity: 0.95;
  box-shadow:3px 3px 5px rgba(0, 0, 0, 0.8);
  height: 100px;
}
nav ul{
      width:100%;
      list-style: none;
      display: flex;
      justify-content: flex-end;
      align-items: center;


}
nav li{
  height:100px;
}
nav a{
  height:100%;
  padding: 5px 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family:helvetica; 
  color: white;
  font-size:15px;
 

}
.logo{
	font-family: helvetica;
	font-size: 25px;
	font-weight: normal;
}
.logo:hover{
	letter-spacing: 0px;
	color: white;
}

nav a:hover{
  
  color:#e5e5e5;
  letter-spacing: 2px;

}
nav li:first-child{
  margin-right:auto ;
}
/* Style the dropdown button */
    .dropbtn {
        padding-top: 37px;
        padding-right: 150px;
        cursor: pointer;

    }

    /* The container <div> - needed to position the dropdown content */
    

    /* Dropdown content (hidden by default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color:#202020 ;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }

    /* Links inside the dropdown */
    .dropdown-content a {
        color: white;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        width: 200px;
    }

    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {color:#e5e5e5;letter-spacing: 2px; }

    /* Show the dropdown menu on hover */
    .dropdown:hover .dropdown-content {display: block;}

    /* Change the background color of the dropdown button when the dropdown content is shown */
.search-container{
	padding-top: 33px;
	  
 }
 .search{
 	background-color: #202020;
 	border:solid 1px white;
 	padding: 5px;
 	font-size: 12px;
 	border-radius: 10px;
 	color: white;
 }
 .sbutton{
 	padding-right: 10px;
 	padding-left: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
 	font-size: 12px;
 	border-radius: 10px;
 	border:none;
 	margin-right: 30px;
 	background-color: white;

 	
 }
 .sbutton:hover{
 	background-color: #D0D0D0;
 	transition: 1s;
 }
 
 


.sidebar{
  position: fixed;
  top:0;
  right: 0;
  height:100vh;
  width:250px;
  z-index:1;
  transition: width 1s;
  background-color:#181818 ;
  display: none;
  opacity: 0.95;
  overflow-x: hidden;
  box-shadow:-10px 0 10px rgba(0,0,0,0.8);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-family:helvetica; 
  color: white;
  padding-top: 20px;
  font-weight: normal;
 
}


.sidebar a{
  width: 100%;
  animation-delay: 0.1s;
}
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}



.menu-button{
  display: none;
}
.searchbtn{
	display: none;
}


@media(min-width:1024px){
  #results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    position: absolute;
    top: 100%;
    right: 2.5%;
   
}



.result-item {
    background-color:#202020;
    padding-left: 10px;
    text-align: center;
    padding-top: 5px;
    width: 238px;
}

.result-item a {
    text-decoration: none;
    color: white;
    font-size: 13px;

}

.result-item a:hover {
    
}
}

@media(max-width:1024px){
  .hideOnMobile{
    display:none;
  }
  .menu-button{
    display: block;
    position: absolute;
    top: 40%;
    right: 8%;
  }
  .searchbtn{
	display: block;
	position: absolute;
    top: 30%;
    right: 30%;
  }
  #results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    position: absolute;
    top: 100%;
    right: 0;
   
   
    
   
}



.result-item {
    background-color:#202020;
    padding-left: 10px;
    text-align: center;
    padding-top: 5px;
   
    
}

.result-item a {
    text-decoration: none;
    color: white;
    font-size: 13px;

}

.result-item a:hover {
    
}
  

}


.sidebar a:hover{
  color: black;
}
.sidelogo{
  position: relative;
  right: 9%;
}

/* Styles for the search container */
.sear-container {
   position: fixed;
   top:0;
   right: 0;
   height:100px;
   width:100vh;
   z-index:1;
   background-color: #202020;
   display: none;

  
}
.searchbtn{
	position: absolute;
	top: 38%;
    right: 20%;
}
/* Styles for the search input */
.searchinput {
  width: 190px;
  opacity: 1;
  position: absolute;
  top: 40%;
  right: 17%;
  color: white;
  background-color: #202020;
  border:solid 1px white;
  padding-bottom: 4px;
  padding-top: 4px;
  padding-left: 10px;
  border-radius: 10px;

}
.s_close{
	position: absolute;
	top: 5%;
	right: 2%;

}
.searchinput:focus {
  border-color: white; /* New border color */
}
.sideSbutton{
	color: black;
	background-color: white;
	width:70px;
	opacity: 1;
	position: absolute;
    top: 40%;
    right: 5%;
    padding-top: 6px;
    padding-bottom: 6px;
    border:none;
    border-radius: 10px;

}

/* Styles for the search button */
#searchbutton {
  background: none;
  border: none;
  
  cursor: pointer;
}



.navanim{
  opacity: 0;
  transform: translateX(30px);
  animation: moveleft 0.3s linear forwards;
}
@keyframes moveleft{
  100%{
    opacity: 0.98;
    transform: translateY(0px);
  }
}
.anim{
  opacity: 0;
  transform: translateY(40px);
  animation: moveup 1.2s linear forwards;
}
@keyframes moveup{
  100%{
    opacity: 1;
    transform: translateY(0px);
  }
}

.search_anim{
  opacity: 0;
  transform: translateY(0px);
  animation: movedown 0.2s linear forwards;
}
@keyframes movedown{
  100%{
    opacity: 1;
    transform: translateY(1px);
  }
}

.Hbtn{
	color: white;
	border:solid 2px black;
	background:transparent;
	border-radius: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	animation-delay: 0.7s;

}


.Hbtn:hover{
	color: white;
	border:solid 2px black;
	background-color: black;

}

.center-title{
  text-align: center;
}
.title {
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #FFFFFF; /* Light title text color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for premium look */
}

.maintitle{
	font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    color: #FFFFFF; /* Light title text color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.nametitle{
	font-size: 2.3rem;
    text-align: center;
    letter-spacing: 2px;
    color: #FFFFFF; /* Light title text color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.head2{
  display: none;

}
.head{
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color:white;
}
@media (max-width: 540px) {
  .head{
    display: none;
  }
  .head2{
    display: flex;
    align-items: center;
    position: absolute;
    left: 37%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
   #btnpad{
    margin-top: 80px;
  }

}
@media (max-width: 430px) {
  .head{
    display: none;
  }
  .head2{
    display: flex;
    position: absolute;
    left: 35%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
   #btnpad{
    margin-top: 80px;
  }

}
@media (max-width: 390px) {
  .head{
    display: none;
  }
  .head2{
    display: flex;
    position: absolute;
    left: 33%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

  }
  #btnpad{
    margin-top: 80px;
  }

}

/* about me */
.about{
   background-color: #252424;
}
.about #row1{
    width:80%;
    max-width:1170px ;
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    padding: 1rem 0;
    background-color: #252424;
}
.abouttittle{
  color:#DCDCDC;
}
#h11{
    display: none;
}
.hr1{
    display: none;
}
.about #row1 .imgWrapper{
    overflow: hidden;
}
.about #row1 .imgWrapper img{
    width:100%;
    height:100%;
    object-fit: cover;
    border-radius: 3px;
    
}

.about #row1 .contentWrapper{
    font-family: helvetica;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
}
.about #row1 .contentWrapper span .textWrapper{
    display:block;
    font-size: 60px;
    text-transform: capitalize;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap:15px;
    margin-bottom: 20px;

}
.about #row1 .contentWrapper span .textWrapper h1{
    display: inline-block;
    width: 70px;
    height:50px;
     color:#0D0D0D;
}
.about #row1 .contentWrapper h2{
        font-size: 35px;
        font-weight: 700;
        color: #DCDCDC;
        padding-bottom: 20px;
        padding-top: 30px;
}
.about #row1 .contentWrapper p{
    font-size: 16px;
    line-height: 25px;
    padding-bottom: 25px;

}
.about #row1 .contentWrapper a{
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    color: #DCDCDC;
    padding: 15px 40px;
    letter-spacing: 1px;
    border: solid 1px;
    transition: 0.8s;

}
.about #row1 .contentWrapper a:hover{
    transform: scale(1.1);
    letter-spacing: 2px;
}
@media(max-width:991px){
    .about #row1{
        grid-template-columns: 1fr;
        grid-gap: 50px;

    }
    .about #row1 .contentWrapper{
        padding-left: 10px;
        text-align: center;
    }
    #h11{
    display: inline-flex;
    
}
.hr1{
    display: flex;
}
.bookbtn{
        color: #DCDCDC;
        text-decoration: none;
        font-size: 20px;
        font-family: helvetica;
        background: white;
        padding: 10px 20px;
        border: solid 1px  #DCDCDC;
       transition: 0.8s ;
       cursor: pointer;
        display: flex;
        margin-bottom: 45px;
     display: inline-block;
}
}

@media(max-width:768px){
    .about #row1{
        width:90%;
    } 
    #h11{
    display: inline-flex;
    
}
.hr1{
    display: flex;
}
    .about #row1 .contentWrapper h2{
        font-size: 30px;
        padding-bottom: 20px;
}
.about #row1 .contentWrapper p{
    font-size: 16px;
    line-height: 24px;
 

}
}
@media(max-width:575px){
    .about #row1 .contentWrapper span .textWrapper{
    font-size: 20px;

}
    .about #row1 .contentWrapper h2{
        font-size: 25px;
        
}
.about #row1 .contentWrapper p{
    font-size: 15px;
    line-height: 22px;
 

}
.about #row1 .contentWrapper a{
    font-size: 15px;
    padding: 10px 20px;
    

}
}
.modal-content{
  background-color: #252424;
  color:  #DCDCDC;

}
.Clossbtn{
  color:black;
  border:solid 1px  #DCDCDC;
  border-radius: 4px;
}
.btn-close{
  color:  #DCDCDC;
}
/* End of about me*/

.parallax {
  /* The image used */
  background-image: url("img/Man_d.png");


  /* Set a specific height */
  min-height: 600px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;


}

.parallax2 {
  /* The image used */
  background-image: url("img/Thilina.jpg");


  /* Set a specific height */
  min-height: 450px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}

.parallax3 {
  /* The image used */
  background-color: #252424;


  /* Set a specific height */
  min-height: 400px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}

.parallax8 {
  /* The image used */
  background-color: #252424;


  /* Set a specific height */
  min-height: 400px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}


.parallaxGetInTouch {
  /* The image used */
  background-image:  url("img/getintouchimg.jpg");


  /* Set a specific height */
  min-height: 600px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;


}

.Limage-container {
      position: relative;
      display: inline-block;
      overflow: hidden;
    }

    .Limage-container img {
      display: block;
      width: 100%;
      height: auto;
      transition: transform 0.3s ease, filter 0.3s ease;
    }

    .Limage-container:hover img {
      filter: brightness(50%);
    }

    .Limage-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .Limage-container:hover .Limage-overlay {
      opacity: 1;
    }

    .Lvisit-btn {
      background-color: white;
      color: black;
      border: none;
      border-radius: 3px;
      text-transform: uppercase;
      padding: 10px 60px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .Lvisit-btn:hover {
      background-color: black;
      color: white;
    }


.Getcards-container {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-content: center;
}

.Getcard {
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 120px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 auto;


}

.Getcard i {
    font-size: 24px;
    margin-bottom: 10px;
}

.Getcard h5 {
    margin: 10px 0;
    font-size: 16px;
    

}

.Getcard img{
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.14);
  border-radius: 50px;
  width: 40px;
  height: 40px;
  padding: 8px;
}



.Getcard:hover {
    transform: scale(1.05);
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .Getcards-container {
         grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 600px) {
  .parallax2{
  	background-image: url(img/Thilina2.jpg);

  }
}


.button-container {
  text-align: center;
  position: relative;
  text-align: center;

}

.button {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: black;
  border: 2px solid white;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: transparent;
  color: white;
  animation-delay: 0.5s;
}

.button:hover {
  background-color: black;
  border-color: black;
  color: white;
}

@media (max-width: 600px) {
  .button {
    display: block;
    margin: 10px auto;
  }
}


.responsive{
	width: 100%;
	height: auto;
	
}
.limg{
	color: white;
	font-family: helvetica;
	font-size: 35px;
	position: relative;
	bottom: -400%;

	
}


.head{
	font-size: 15px;
	color: white;
	position: relative;
	top: 48%;
	padding-top: 20px;
	animation-delay: 0.7s;
}
#a1{
	color: white;
}
#phara{
	color: #DCDCDC;
	padding-left: 20px;
	padding-right: 20px;

}


#home_card{
  border:solid 1px black; 
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;

}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color:#D6D6D6;
  color: white;
  cursor: pointer;
  padding: 5px;
  border-radius: 30px;
}

#myBtn:hover {
  background-color: #D6D6D6;
  transform: scale(1.2);
}

@media(max-width:900px){
  .ratio{
    width: 340px;
    height: 191.25px;
  }
}

@media(min-width:1024px){
  .ratio{
    width: 720px;
    height: 405px;
  }
}


.footer {
            background: rgb(64,64,64);
background: linear-gradient(140deg, rgba(64,64,64,1) 0%, rgba(47,47,47,1) 9%, rgba(43,43,43,1) 17%, rgba(48,48,48,1) 26%, rgba(51,51,51,1) 47%, rgba(65,65,65,1) 61%, rgba(83,83,83,1) 73%);
            color: white;
            padding: 40px 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        }

        .footer .logo-description {
            flex: 1;
            min-width: 200px;
            margin-bottom: 20px;
        }

        .footer .logo-description img {
           
            margin-bottom: 10px;
        }

        .footer .logo-description p {
            max-width: 400px;

        }

        .footer .quick-links, .footer .social-links {
            flex: 1;
            min-width: 200px;

           
        }

        .footer .quick-links h3, .footer .social-links h3 {
            margin-top: 0;
            font-size: 19px;
            margin-top: 30px;
            
        }

        .footer .quick-links ul, .footer .social-links ul {
            list-style: none;
            padding: 0;

        }

        .footer .quick-links li, .footer .social-links li {
          
        }
        @media(min-width: 1024px){
          .footer .quick-links{
            margin-left: 80px;
          }
        }
        .quick-links li a:hover{
          text-decoration: underline;
        }
        
        

        .footer .quick-links a, .footer .social-links a {
            color: white;
            text-decoration: none;
            font-size: 12px;

        }
        .footer .social-links ul {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
        }
        
        

        .footer .social-links a {
            font-size: 24px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(0,0,0,0.14);
            border-radius: 50%;
            width: 40px;
            height: 40px;
        }
        .footer .social-links a:hover{
          transform: rotateY(180deg);
          transition: 0.7s;
        }

        .footer .copyright {
            text-align: center;
            width: 100%;
            margin-top: 25px;
            font-size: 14px;
        }

        @media(min-width: 700px) and (max-width: 1000px){
          
          .footer .social-links ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;

          }
          .footer .quick-links h3, .footer .social-links h3 {
            margin-left:80px; 
          }
          .footer .quick-links ul, .footer .social-links ul {
            margin-left:80px;
          }
          .footer .quick-links hr, .footer .social-links hr {
            margin-left:80px;
          }
          .logo-description p{
            margin-left: 20px;
          }

        }
        @media (max-width: 600px) {
            .footer {
                flex-direction: column;
                align-items: center;
            }
            .footer hr{
              margin-left: 25px;
            }
            .footer .followushr{
               margin-left: 65px;
            }
            .line2{
              position: relative;
              left: 28px;
            }

            .footer .logo-description, .footer .quick-links, .footer .social-links {
                text-align: center;
                flex: none;
                align-items: center;
            }

            .footer .social-links a {
                margin-bottom: 10px;
                
            }
            .footer .logo-description p{
              font-size: 12px;
            }
        }



.brand{
  font-family: lucida console;
  color: #DCDCDC;
  text-decoration: none;
  cursor: pointer;
}
.brand:hover{
  text-decoration: underline;
}
.footerProImg{
  border-radius: 50%;
  border:solid 3px #DCDCDC;
  position:relative;
  bottom:325px;
  margin:0;
}
@media(min-width: 300px) and (max-width: 767px) {
    .footerProImg{
      position:relative;
      bottom:325px;
    }
    .quick-links{
        position:relative;
        bottom:100px;
    }
    .social-links{
        position:relative;
        bottom:50px;
    }
}
@media(min-width: 768px) and (max-width: 1023px) {
    .footerProImg{
      position:relative;
      bottom:360px;
    }
}


/* index.html css code end 
 ---------------------------------------------------------------------------------------  */



/*--------------------------------------------------------------------------------------
 Bug's world.html css code */

.parallax4 {
  /* The image used */
  background-image: url("img/B3_img.jpg");


  /* Set a specific height */
  min-height: 600px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}
.Bugs{
	font-size: 65px;
	color: white;

}
.Bugs_phara{
	color: white;
	animation-delay: 0.5s;
}

.parallax5 {
  /* The image used */
  background-color: #252424;


  /* Set a specific height */
  min-height: 280px; 
   

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}

.blog{
	padding-top: 80px;
	padding-bottom: 20px;
	padding-right: 20px;
	padding-left: 20px;
	
}

.parallax6 {
  /* The image used */
  background-color: #252424;
  

  /* Set a specific height */
  min-height: 280px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}

.parallax7 {
  /* The image used */
  background-color: #252424;
  

  /* Set a specific height */
  min-height: 280px; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}


  @media(max-width:900px){
  .Bugs{
  	font-size: 47px;
   
  }
  .parallax5{
  	 min-height: 200px; 
  }
  .parallax6{
  	 min-height: 200px; 
  }
}



.contain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}



.card {
    display: flex;
    flex-direction: row;
    background-color: #252424;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
                0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 500px;

}

.card-content {
    padding: 20px;
    flex: 1;
}

.card-title {
    font-size: 32px;
    margin: 0 0 10px;
    color: white;
    padding-top: 60px;
}

.card-paragraph {
    font-size: 16px;
    margin: 0 0 20px;
    color:#DCDCDC;
    padding-top: 30px;
    width: 500px; 
}

.view-posts-button{
    background:transparent;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    border:2px solid #fff;
    margin-top: 30px;
    font-weight: bold;
    width: 140px;
    transition: width 0.5s;
    
}

.view-posts-button:hover {
    background-color: #fff;
    color: black;
    border:2px solid #fff;
    width: 160px;

}


.card-image {
    flex: 0 0 40%; /* Changed from 300px to 40% */
    overflow: hidden;
    position: relative; 
    box-shadow: -8px 0 15px -5px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 20%);
    z-index: 1; /* Ensure the overlay is on top of the image */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     position: relative;
    z-index: 0; /* Ensure the image is below the overlay */

}


@media (max-width: 768px) {
    .card {
        flex-direction: column;
        height: 650px;
        border-radius: 20px;
    }
   .card-title{
    margin-top: 0px;
   }
    .card-image {
        flex: none;
        height: 200px;
        border-radius:0px;
         position: relative;
         bottom: 44%;
         width: 100%;
    }
    .card-paragraph{
      width: 300px;
      position: relative;
      top: 200px;
     
    }
    .view-posts-button{
      position:relative;
      bottom: -180px;
      

    }
}
@media (min-width: 320px) and (max-width: 390px) {
  .card-paragraph{
      width: 300px;
    }
}
@media (min-width: 391px) and (max-width: 430px) {
  .card-paragraph{
      width: 370px;
    }
}

@media (min-width: 430px) and (max-width: 540px) {
  .card-paragraph{
      width: 410px;
    }
}
@media (min-width: 541px) and (max-width: 768px) {
  .card-paragraph{
      width: 520px;
    }
}




header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

main {
    padding: 20px;
}

.equipment {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    cursor: pointer;
}

.item {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.item:hover {
    transform: scale(1.05);
    transition: 1s;
}

.item img {
    max-width: 100%;
    height: auto;
}

.item h2 {
    margin-top: 10px;
    font-size: 1.2em;
}

.item p {
    color: #666;
}



.parallax9{
	background-image: url("img/back.jpg");


  /* Set a specific height */
  min-height: 250px;
  

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}

















/* Bug's world.html css code end 
---------------------------------------------------------------------------------------- */



/*--------------------------------------------------------------------------------------
 Research insights.html css code */

.parallax10{
	background-image: url("img/research.jpg");


  /* Set a specific height */
  min-height: 600px;
  

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}




/* Research insights.html css code end 
---------------------------------------------------------------------------------------- */

/*--------------------------------------------------------------------------------------
 non-bug macro.html css code */


.parallax11{
	background:rgba(0,0,0,0.4) url("img/nonbug/5.jpg");
  background-blend-mode: darken;


  /* Set a specific height */
  min-height: 600px;
  

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;

}


#container1{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 40px ;
}
#container1 .box{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
}
#container1 .box .dream{
  display:flex;
  flex-direction: column;
  width: 32.5%;
}
#container1 .box .dream img{
    width: 100%;
    padding-bottom:15px;
    border-radius: 5px;
    transition: 0.8s;
}
#container1 .box .dream img:hover{
     transform: translateY(-10px);

}



/* non-bug macro.html css code end 
---------------------------------------------------------------------------------------- */

/*--------------------------------------------------------------------------------------
 artistic expresion.html css code */

 .parallax11a{
  background:rgba(0,0,0,0.4) url("img/artistic/7.jpg");
  background-blend-mode: darken;


  /* Set a specific height */
  min-height: 600px;
  

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/*artistic expresion.html css code end 
---------------------------------------------------------------------------------------- */


/*--------------------------------------------------------------------------------------
 travel tales.html css code */

 .parallax12{
  background:rgba(0,0,0,0.4) url("img/Travel.jpg");
  background-blend-mode: darken;


  /* Set a specific height */
  min-height: 600px;
  

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


 /*travel tales.html css code end 
---------------------------------------------------------------------------------------- */



/*--------------------------------------------------------------------------------------
External Resources.html css code */


.parallaxexr{
  background:rgba(0,0,0,0.5) url("img/ExtrR.jpg");
  background-blend-mode: darken;


  /* Set a specific height */
  min-height: 600px;
  

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.Extncard{
  width: 400px;
  border-radius: 20px;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.Extncard-img-top{
  position: relative;
  bottom: 30px;
}
.Extncard:hover{
  transform: scale(1.05);
  transition: 1s;
}
.Extncard-text{
  padding: 20px;
}
@media (max-width: 540px){
  .Extncard{
    width: 300px;
    margin-top: 70px;
  }
}
@media (min-width: 550px) and (max-width: 769px){
  .Extncard{
    margin-top: 70px;
  }
  .row{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-left: 184px;
    
  }
}
@media (min-width: 770px) and (max-width: 821px){
  .Extncard{
    margin-top: 70px;
  }
  .row{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-left: 210px;
  }
}
@media (min-width: 822px) and (max-width: 913px){
  .Extncard{
    margin-top: 70px;
  }
  .row{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-left: 256px;
  }
}
@media (min-width: 914px) and (max-width: 1025px){
  .Extncard{
    margin-top: 70px;
  }
  .row{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
   margin-left: 310px;
  }
}
.Extbutton{
  background-color: transparent;
  border:1px solid white;
  padding: 8px;
  margin-bottom: 20px;
  width: 100px;
  border-radius: 5px;
  height: 40px;
  color:white;
  font-weight: bold;
   transition: width 0.5s;
}
.Extbutton a{
  text-decoration: none;
  color: white;
}
.paper-plane{
  margin-left: 10px;
  display: none;
}
.Extbutton:hover{
  background-color: white;
  color: black;
  transition: 0.5s;
  font-weight: bold;
  width: 150px;
}

.Extbutton:hover{
  .paper-plane{
    display: flex;
    position: relative;
    bottom: 23px;
    left: 83px;
    transition: 
  }
}
 
  /*External Resources.html css code end 
---------------------------------------------------------------------------------------- */

/* footer-----------------------------------*/
