/* 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;
    background-image: url(IMAGES/Cats\ Peeking.png);
    background-color: #fffdf7;
    object-fit: cover;
    background-repeat: no-repeat;
}

/* 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; CONTACT PAGE */
.container{
    position: relative;
    width: 100%;
    min-height: 108vh;
    padding: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* CONTACT INFO AND FORM STYLINGS */
.form{
    width: 100%;
    max-width: 820px;
    height: 500px;

    background: #FFFFFF;
    border-radius: 25px;
    border: 2px solid #483D3F;

    z-index: 1000;

    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contact-info{
    background-color: #FFFFFF;
}

.contact-form{
    background-color: #F9FBF2;
    position: relative;
}

form{
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
}

/* CONTACT INFO STYLINGS */
.contact-info{
    padding: 2.3rem 2.2rem;
    position: relative;
}

.icon{
    width: 28px;
    margin-right: 0.7rem;
}

/* CONTACT US Heading */
.title{
    color: #BC3908;

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

    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.7rem;
}

/* Description */
.text{
    font-family: 'Pangolin', sans-serif;
    text-align: justify;
    margin: 1.5rem 0 2rem 0;
    line-height: 25px;
    color: #3423A6;
}

.information{
    display: flex;
    color: #3423A6;
    margin: 0.7rem;
    align-items: center;
    font-size: 0.95rem;
    font-family: 'Pangolin', sans-serif;
}

.social-media{
    padding: 2rem 0 0 0;
}

/* Heading */
.social-media p{
    font-family: 'Pangolin', sans-serif;
    color: #3423A6;
}

/* Container for the social icons */
.social-icons-1{
    font-size: 1.5rem;
    display: flex;
    margin-top: 0.5rem;
}

/* The icons */
.social-icons-1 a{
    color: #FFFFFF;

    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: linear-gradient(45deg, #ff5e00, #fff782);
    text-align: center;

    line-height: 35px;
    margin-right: 0.5rem;
    transition: 0.5s;
}

/* Hoevr effect on the icons */
.social-icons-1 a:hover{
    color: #0E1C36;
    transform: scale(1.05);
}


/* EACH INPUT CONTAINER */
.input-container{
    position: relative;
    margin: 1rem 0;
}

/* INPUT */
.input{
    width: 100%;
    outline: none;

    border: 2px solid #BC3908;
    border-radius: 25px;

    background-color: transparent;
    padding: 0.6rem 1.2rem;
    color: #BC3908;

    font-family: 'Pangolin', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;

    transition: 0.3s;
}

.text-area .input{
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    resize: none;
    overflow-y: auto;
}

/* LABEL */
.input-container label {
    font-family: 'Pangolin', sans-serif;

    position: absolute;
    top: 50%;
    left: 15px;

    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #3423A6;

    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
  }

.input-container.text-area label{
    top: 1rem;
    transform: translateY(0);
}

/* SEND BUTTON */
.btn{
    padding: 0.6rem 1.3rem;
    background: #BC3908;
    border: 2px solid #BC3908;

    font-family: 'Pangolin', sans-serif;
    color: #FFFFFF;

    border-radius: 25px;
    outline: none;

    cursor: pointer;
    transition: 0.3s;
    margin: 0;
}


/* HOVER ANIMATION FOR THE BUTTON */
.btn:hover{
    background-color: transparent;
    color: #3423A6;
}


.input-container {
    position: relative;
    margin: 1rem 0;
}

.input-container span {
    position: absolute;
    top: 0;
    left: 25px;

    transform: translateY(-50%);
    font-size: 0.8rem;
    padding: 0 0.5rem;

    color: transparent;
    pointer-events: none;
    z-index: 500;
}
  
/* ANIMATING THE TRANSITION OF THE TEXT */
.input-container span:before,
.input-container span:after {
    content: "";

    position: absolute;
    width: 10%;
    opacity: 0;
    transition: 0.3s;
    height: 5px;
    background-color: #f9f9f9;
    top: 50%;
    transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

/* Integrated with Javascript */
.input-container.focus label{
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
}

.input-container.focus span::before,
.input-container.focus span::after{
    width: 50%;
    opacity: 1;
}

/* 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;
}
