/*test to see if it is working*/
body{
    background-color: black;
    background-image:url(images/backgroundimage.jpg);
    animation: colourchange infinite;
}

/*i need to see if i remember how to do this*/

h1{
    font-size:70px;
    color:white;
    font-family:"GofardaGothic";
    text-align:center;
}

.container{
    max-width:1200px;
    margin:2rem auto;
    padding: 0 1rem;
    font-family:"QuinnGothic";
}


h2{
    color:white;
    font: size 32px;
    font-family:"QuinnGothic";
}


/* Creating the about section */

.about-wrapper{
    display:flex;
    align-items:center;
    gap:2rem;
    margin-top:1.5rem;
    background-color:hsla(0, 0%, 13%, 0.673);
    padding:1rem;
    border-radius:8px;
    border-color:rgb(67, 67, 67);
    z-index: 1;
    position:relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
    backdrop-filter:blur(5px);
        -webkit-backdrop-filter: blur(5px);

}

.about-text{
    flex: 1;
    color:white;
    font-family:"QuinnGothic";
}

/*About image*/

.about-img{
    width:250px;
    height:250px;
    border-radius:8px;
    object-fit:cover;

}

.about-wrapper-img{

    object-position:16rem, 30rem;
    object-fit:cover;
    
    

}



/*for a cute bow detail*/
.floating-layer {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    pointer-events: none;
    z-index: 9999;

}

.floating-image {
    
    position: absolute;
    pointer-events: none;
}

.contents{
    /* This handles the grid and margins */
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:1.8rem;
    margin-top: 2rem; 
    text-align:center;

}
/*this is the style of the content card.*/

.content-card{
    background-color:rgba(32, 32, 32, 0.67);
    padding:1rem;
    border-radius:8px;
    z-index:1;
    transition: transform 0.5s ease;
    color:white;
    backdrop-filter:blur(5px);
        -webkit-backdrop-filter: blur(5px);
    font-family:"QuinnGothic";
    
}

/* THis styles the image in our card */

.content-card img{
    width: 100%;
    height:180px;
    object-fit:cover;
    border-radius:6px;
    display:block;
    
}

.content-card:hover{
    transform:scale(1.1) rotate(-1.5deg);
    background-color: rgb(11, 11, 11);
    animation: rotateimg 2s infinite;
    animation: colourchange 2s infinite ease;
}

.juusand{
    padding:1rem;
}

/*font stuff here*/

@font-face {
    font-family:"GofardaGothic";
        src:url(fonts/GofardaGothic.otf)format(opentype);
    font-display:swap;
    z-index:10;
}

@font-face {
    font-family:"QuinnGothic";
    src:url(fonts/Quinngothic.ttf)format(truetype);
    font-display:swap;
    z-index:10;
}

