/* IMPORTED FONTS */
@import url('https://fonts.googleapis.com/css2?family=Pangolin&display=swap');

@font-face {
    font-family: 'Gomarice';
    src: url(FONTS/gomarice_gogono_cocoa_mochi.ttf);
}

/* Configuring browser settings */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    --l: transparent 5px,
		hsla(25, 100%, 94%, 0.304) 0 10px,
		transparent 0 35px,
		hsla(189, 100%, 92%, .5) 0 40px,
		hsla(73, 53%, 97%, .5) 0 50px,
		transparent 0 60px,
		hsla(189, 100%, 92%, .5) 0 70px,
		hsla(219, 100%, 84%, 0.231) 0 80px,
		transparent 0 90px,
		hsla(24, 100%, 94%, .5) 0 110px,
		transparent 0;
	background: 
		repeating-linear-gradient(45deg,
			var(--l) 120px, hsla(219, 83%, 89%, 0.436) 0 140px),
		repeating-linear-gradient(135deg,
			var(--l) 140px, hsla(219, 82%, 89%, 0.247) 0 160px) 
		#F9FBF2
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar{
    width: 10px;
}

::-webkit-scrollbar-thumb{
    background: rgb(225,239,246);
    background: linear-gradient(0deg, rgba(225,239,246,1) 0%, rgba(236,203,217,1) 17%, rgba(151,210,251,1) 35%, rgba(254,240,134,1) 53%, rgba(255,255,255,1) 84%);
    border-radius: 5px;
}

/* NAVIGATION MENU */
#navbar{
    position: fixed;
    top: 0;

    /* Centers the contents vertically and spaces them out horizontally */
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #FFFFFF;
    
    width: 100%;
    padding: 10px 20px;
    z-index: 2000; /* Ensures that the navbar remains above other elements */
    transition: top 0.3s;  /* Is integrated in a JS code */
}

/* Targets the content inside the unordered list */
.nav-links{
    text-transform: uppercase;
    list-style: none;
    display: flex;
}

/* List item styling */
.nav-links li{
    font-family: 'Pangolin', sans-serif;
    margin: 0 15px;
}

.nav-links li .active-link{ /* Styling for the active link */
    color: #0E1C36;
}

/* Link styling */
.nav-links a{
    display: inline-block;

    text-decoration: none;
    color: #BC3908;
    
    transition: color 0.3s, transform 0.3s;
}

/* Hover animation on the links */
.nav-links a:hover{
    color: #3423A6;
    transform: translateY(-5px);
}

/* Targets the logo container */
.logo{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Targets the image inside the logo division */
.logo img{
    height: 25px; 
    transition: filter 0.3s;
}

/* Hover animation on the logo image */
.logo img:hover{
    filter: drop-shadow(2px 4px 3px rgb(255, 213, 108)); 
}

/* SECTION 01: MEET THE CATS */
.characters-section {
    padding: 40px 20px;
    text-align: center;
    height: 180vh;
}

.main-heading {
    font-family: 'Gomarice', sans-serif;
    font-weight: 100;
    font-size: 2.5rem;

    margin-top: 50px;
    margin-bottom: 10px;
    color: #3423A6;
}

.sub-heading {
    font-family: 'Pangolin', sans-serif;
    font-weight: 100;
    font-size: 1.5rem;

    margin-bottom: 40px;
    color: #BC3908;
}

/* Card Container */
.wrapper {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styles */
.maincontainer {
    perspective: 1000px;
}

/* Renders the 3D style of the card */
.card {
    width: 100%;
    height: 300px;

    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Hover effect on the card */
.maincontainer:hover .card {
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    backface-visibility: hidden; /* This ensures that the faces of the card are correctly formatted */
    border-radius: 10px;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Front of the card */
.front {
    background: url('IMAGES/Cats/Cat Box.png');
    background-color: #FFFFFF;

    background-size: cover;
    color: #BC3908;
}

/* Back of the card */
.back {
    transform: rotateY(180deg);
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    background-color: #FFFFFF;

}

/* Headings */
.front h1, .back h1 {
    margin-top: -230px;

    font-family: 'Gomarice', sans-serif;
    font-weight: 100;
    font-size: 24px;

    text-align: center;
}

/* Descriptions */
.front p, .back p {
    margin-top: -210px;

    font-family: 'Pangolin', sans-serif;
    font-weight: normal;
    font-size: 1em;
    text-align: center;
}

/* FOOTER */
footer {
    background-color: #BC3908;
    color: #3423A6;

    padding: 40px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FOOTER LOGO */
.logo-heading {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 20px;
}

/* Footer Image */
.footer-logo {
    width: 100px;
    margin-bottom: 10px;
}

/* ABOUT THE DEVELOPER */
.about-us {
    margin-bottom: 20px;
}

.about-us p {
    font-family: 'Pangolin', sans-serif;
    font-size: 1em;
    font-weight: 100;

    color: #FFFFFF;
    margin: 0 auto;
    max-width: 700px;
}

/* Separator */
hr {
    border: 0;
    height: 1px;
    width: 100%;
    margin: 20px auto;
    
    background: #ffffff;  
}

/* SOCIALS */
.social-icons {
    display: flex;
    justify-content: center;
    
    margin-bottom: 20px;
    gap: 20px;
}

.social-icons a {
    font-size: 1.5em;
    color: #ffffff;
    transition: color 0.3s;
}

/* HOVER ANIMATION ON THE ICONS */
.social-icons a:hover {
    color: #00ffd5;
}

.social-icons img {
    width: 40px; 
    height: 40px;
}

.footer-copyright {
    font-family: 'Cabin', sans-serif;
    font-size: 1em;
    color: #ffffff;
}
