body {
    margin: 0;
    font-family: Helvetica, sans-serif;
    color: black;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Background image layer */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;

    background: url("images/background.jpg") center/cover no-repeat;
    background-attachment: fixed;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    /* adding  gradient to our backgreound */
    background: linear-gradient(
        to bottom,
        rgba(50, 0, 56, 0.199),
        rgba(0, 12, 46, 0.26),
        rgba(107, 0, 0, 0.288)
    );

    background-size: 300% 300%;
    animation: gradientUpandDown 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientUpandDown {
    0%   { background-position: 50% 0%; }
    50%  { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }

} /*Just note this code will change thee structure slightly of your body*/








body {

   margin: 0;
   font-family:'Yippee font';
   color:rgb(134, 0, 0);
   line-height: normal;
   
/*image stuff*/
   background-color: rgb(102, 0, 0);
   background-image:url(images/Untitled\ design\ \(5\).png);
   background-size: 7.5rem;
   background-repeat: repeat;
   background-position: center;
   

}
p {
    color: rgb(141, 0, 0);
    
}
/*header*/
header {
    padding: 2rem;
    text-align: center;
    font-size: 1rem;
    
}

header h1{
 display: inline-block;
 font-size: 2.5rem;
 font-family: 'Yippee font';
 color: rgb(92, 0, 0);
 background-color: rgb(54, 54, 54);
 border-radius: 10px;
 

}


header h2{
 display: inline-block;
 font-size: 1.5rem;
 font-family: 'Yippee font';
 color: rgb(63, 63, 63);
 background-color: rgb(112, 0, 0);
 border-radius: 10px;
 position: center;
 

}

.heading-wrap{
    position: relative;
    display: inline-block;
    padding: 1.5rem 2.5rem;
    

}

/*footer*/

footer{
    text-align: center;
    padding: 0 auto;
    margin-bottom: 1.5rem;
    
}
/* nav section */
nav a{
    margin: 0 1rem;
    text-decoration: none;
    color: rgba(146, 0, 0, 0.699);
    font-family: 'yippee font';
    font-size: 1.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.5s ease;
    

}
nav a:hover{
    color: rgb(255, 0, 0);
    background: rgb(116, 116, 116);

}
/*containerz*/
.container{
   max-width: 1200px;
   margin: 2rem auto;
   padding: 0 1rem;
   
}

/*Creatin tha about section*/
.about-wrapper{
display: flex;
align-items: center;
gap: 2rem;
margin-top: 1.5rem;
background: rgb(94, 94, 94);
padding: 1rem;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(156, 0, 0, 0.603);
z-index: 1;
position: relative;
transform: transform 0.3s ease, box-shadow 0.3 ease, backround-color 0.3s ease;

}
.about-text{
flex: 1;
}
.about-img{
    width: 250px;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
    
}
/*Content Cardz!!*/
.contents {
    /* this handles the grid and margins*/
 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.8rem;
    margin-top: 2rem;
    text-align:center;
    
}

.content-card{

background: rgba(136, 0, 0, 0.603);
padding: 1rem;
border-radius: 8px;
box-shadow: 0 2px 6px  rgba(63, 63, 63, 0.918);
z-index: 2;
transition: transform 20s linear;

}

/* this styles the image in our cards*/
.content-card img{
width: 100%;
height: 90%;
object-fit: cover;
border-radius: 6px;
display: block;
}

.content-card:hover{

    transform: scale(1.20) rotate(5760deg);
    background-color: rgba(255, 0, 0, 0.616);
    animation: rotateImg 0.5s 1;
}


/*animations!!*/
@keyframes rotateImg {
      0% { transform: rotate3d( 0, 0, 0, 0deg);}
      100% { transform: rotate3d( 0, 0, 1, 360deg);}


}












/* custom fonts!!!!!*/
@font-face {
    font-family: 'Yippee font';
    src: url(fonts/wizard-of-the-moon-font/HeaderFont/Yippee\ font.ttf) format(truetype);
    font-display: swap;
}
p{
    size: 1rem;
}