/*Home page CSS when users first visit the page*/
.first-showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: auto;
    width: 100%;
    max-width: 800px;
    min-width: 360px;
    margin: auto;
    overflow: hidden; /* Use hidden instead of none */
    /*border: 5px solid white;*/
}

/*Font for the website*/
.damion-regular {
    font-family: "Damion", cursive;
    font-weight: 400;
    font-style: normal;
  }

.text {
    width: 100%; /* Change from 200% to 100% */
    margin: 0 auto; /* Center the text */
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically (if height is defined) */
    text-align: center; /* Ensures text itself is centered */
}

/*Beating Heart*/
.heart {
    position: relative;
    height: 150px;
    width: 150px;
    background: #f20044;
    transform: rotate(-45deg);
    box-shadow: 15px 5px 150px 20px #f20044;
    -webkit-animation: heart 0.6s linear infinite;
            animation: heart 0.6s linear infinite;
  }
  .heart::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: #f20044;
    top: -50%;
    border-radius: 50%;
  }
  .heart::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: #f20044;
    right: -50%;
    border-radius: 50%;
  }
  
  @-webkit-keyframes heart {
    0% {
      scale: 1.07;
    }
    80% {
      scale: 1;
    }
    100% {
      scale: 0.8;
    }
  }/*# sourceMappingURL=style.css.map */

/*Home Button*/
.home-button {
    text-align: center;
    margin-top: 20px;
}

.home-button a {
    text-decoration: none;
}

.home-button button {
    background: linear-gradient(45deg, #5F5048, #dfab1c);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px #dfab1c;
    position: relative;
    overflow: hidden;
}

.home-button button:hover {
    background: linear-gradient(45deg, grey, white);
    transform: scale(1.05);
    box-shadow: 0 6px 15px grey;
}

.home-button button:active {
    transform: scale(0.95);
}

/*font for the text
.love-light-regular {
    font-family: "Love Light", cursive;
    font-weight: 400;
    font-style: normal;
}*/
  

.title-typewrite{
    color: white;
    font-size: 6em;
    letter-spacing: 5px;
    font-family: "Satisfy", cursive;
    /*border-right: 5px solid;*/
    max-width: 100%;
    white-space: none; /*changed whitespace to none from normal*/
    overflow: none;
    animation:
        typing 2s steps(14),
        cursor .4s step-end infinite alternate;
}

/* cursor blinkin
@keyframes cursor {
    100% {
        border-color: transparent
        border: none;
    }
}*/

/* typing effect */
@keyframes typing {
    from { 
        width: 0
    }
}

/*Home page log in and sign in*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url(img/wallpaper2.jpg);
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='2000' preserveAspectRatio='none' viewBox='0 0 1440 2000'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1035%26quot%3b)' fill='none'%3e%3crect width='1440' height='2000' x='0' y='0' fill='%230e2a47'%3e%3c/rect%3e%3cpath d='M660.93 1992.22 a448.57 448.57 0 1 0 897.14 0 a448.57 448.57 0 1 0 -897.14 0z' fill='rgba(28%2c 83%2c 142%2c 0.4)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M794.258%2c586.323C917.485%2c590.415%2c1053.381%2c576.474%2c1120.175%2c472.839C1191.263%2c362.541%2c1170.805%2c218.785%2c1103.89%2c105.906C1038.378%2c-4.605%2c922.714%2c-78.865%2c794.258%2c-76.946C668.844%2c-75.072%2c560.59%2c4.965%2c500.249%2c114.925C442.247%2c220.621%2c439.987%2c350.074%2c503.791%2c452.373C564.267%2c549.336%2c680.044%2c582.531%2c794.258%2c586.323' fill='rgba(28%2c 83%2c 142%2c 0.4)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M-279.52 1286.42 a355.45 355.45 0 1 0 710.9 0 a355.45 355.45 0 1 0 -710.9 0z' fill='rgba(28%2c 83%2c 142%2c 0.4)' class='triangle-float3'%3e%3c/path%3e%3cpath d='M890.289224358721 1653.714517720647L1115.8525494575322 1823.6886749035093 1060.2633815415832 1428.151192621836z' fill='rgba(28%2c 83%2c 142%2c 0.4)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M570.2539572043697 1885.2284103492202L481.4609952778859 1611.951773211052 208.18435813971763 1700.7447351375358 296.97732006620146 1974.0213722757042z' fill='rgba(28%2c 83%2c 142%2c 0.4)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M204.45 1146.65 a322.82 322.82 0 1 0 645.64 0 a322.82 322.82 0 1 0 -645.64 0z' fill='rgba(28%2c 83%2c 142%2c 0.4)' class='triangle-float2'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1035'%3e%3crect width='1440' height='2000' fill='white'%3e%3c/rect%3e%3c/mask%3e%3cstyle%3e %40keyframes float1 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-10px%2c 0)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float1 %7b animation: float1 5s infinite%3b %7d %40keyframes float2 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-5px%2c -5px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float2 %7b animation: float2 4s infinite%3b %7d %40keyframes float3 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(0%2c -10px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float3 %7b animation: float3 6s infinite%3b %7d %3c/style%3e%3c/defs%3e%3c/svg%3e");*/
    /*background-color: #151e3d;*/
    background-size: cover;
    background-position: center;

    font-family: Arial, sans-serif;
    height: auto;
    width: 100%;
    margin: 0;

    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wrapper {
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    padding: auto;
    margin: auto;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    color: #fff;
    border-radius: 10px;
    padding: 30px 40px;
}

.form-container {
    display: flex;
    transition: transform 0.6s ease;
    width: 200%;
}

/*#registerForm {
    margin-left: 100px;
}

#loginForm {
    margin-right: 0px;
}*/


#loginForm, #registerForm {
    align-self: center;
}

.wrapper form {
    width: 100%;
    max-width: 420px;
    margin: 0 40px 0;
}

.wrapper h1 {
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
    color: #fff;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}


.wrapper .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.remember-forgot label input {
    accent-color: #fff;
    margin-right: 3px;
}

.remember-forgot a {
    color: #fff;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

.register-link p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
}

/*Styles for the Male-Female Sections*/
#male, #female {
    color: gold;
}

/*body, html {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
    margin: 0;
}  /*To make the heart beat work*/

.male-female {
    background: rgba(187, 189, 216, 0.3);
    display: flex;
    flex-direction: column; /* Ensures form elements are in a column */
    align-items: center; /* Center-aligns contents */
    justify-content: center;
    width: 100%; /* Ensures it takes full width inside .first-showcase */
    max-width: 380px; /* Optional: Prevents it from being too wide */
    padding: 20px;
    border-radius: 8px;
}

.male-female h1, .male-female p, .male-female a, ul{
    color: white;
}

fieldset {
    border: none;
    margin-bottom: 15px;
}

.radio-group label {
    color: white;
}

legend {
    font-size: 1.2rem;
    font-weight: bold;
    color: #efeeee;
    margin-bottom: 10px;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

label {
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

input {
    color: grey;
}

input[type="radio"] {
    accent-color: #007bff;
    color: rgb(136, 126, 126)
    width: 18px;
    height: 18px;
}

.submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #0056b3;
}

/*Styles for Interests.html*/
/* Button-style checkboxes */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 3fr)); /* Auto-adjusts column count */
    gap: 10px;
    overflow: hidden;
    max-width: 100%;
    padding: 10px; /* Adds some spacing around */
}

.checkbox-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    text-align: center;
    box-sizing: border-box;
}

/* Responsive Behavior */
@media (max-width: 100px) {
    .checkbox-group {
        grid-template-columns: repeat(3, 2fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .checkbox-group {
        grid-template-columns: repeat(2, 1fr); /* 1 column on very small screens */
    }
}


.checkbox-btn:hover {
    background-color: grey;
}

.checkbox-btn input {
    display: none; /* Hide actual checkboxes */
}

/* Selected button style */
.checkbox-btn input:checked + span {
    background: linear-gradient(45deg, #5F5048, #dfab1c);
    color: white;
}

.checkbox-btn span {
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    transition: 0.3s;
}

.submit-btn {
    margin-top: 20px;
}

.submit-btn button {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn button:hover {
    background: linear-gradient(45deg, #0056b3, #00aaff);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.5);
}

.submit-btn button:active {
    transform: scale(0.95);
}

/*Nickname.html Styles*/
.nickname form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-container {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.nickname input {
    width: 100%;
    padding: 12px;
    border: 2px solid #007bff;
    border-radius: 25px;
    outline: none;
    font-size: 1rem;
    text-align: center;
    transition: 0.3s ease;
}

.nickname input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 10px rgba(0, 91, 255, 0.3);
}

#nickname #text {
    color: white;
}

.nickname label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: #f0e8e8;
    pointer-events: none;
    transition: 0.3s ease;
}

.nickname input:focus + label,
.nickname input:not(:placeholder-shown) + label {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #007bff;
    background: white;
    padding: 0 5px;
}

.button {
    margin-top: 20px;
}

.button button {
    background: linear-gradient(45deg, #5F5048, #dfab1c);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px #dfab1c;
    position: relative;
    overflow: hidden;
}

.button button:hover {
    background: linear-gradient(45deg, grey, white);
    transform: scale(1.05);
    box-shadow: 0 6px 15px grey;
}

.button button:active {
    transform: scale(0.95);
}

#text {
    color: white;
    font-weight: bold;
}

/*For phone screen size*/

@media (max-width: 375px) {
    .title-typewrite {
        font-size: 20px; /* Adjust for smaller screens */
    }

    .radio-group {
        flex-direction: column;
        width: 100%;
    }

    .radio-group label {
        width: 100%;
        text-align: center;
    }
    body{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .wrapper{
        margin: 20px 20px;
        padding: 20px;
    }

    .input-container  {
        justify-content: center;
    }

    .input-container #text{
        text-align: center;
    }
}

@media (max-width: 400px) {
    .title-typewrite {
        font-size: 1.5rem;
    }

    .radio-group {
        flex-direction: column;
        width: 100%;
    }

    .radio-group label {
        width: 100%;
        text-align: center;
    }
    body{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .wrapper{
        margin: 20px 40px;
        padding: 20px;
    }
}

@media (max-width: 500px) {
    .title-typewrite {
        font-size: 3rem;
    }

    .radio-group {
        flex-direction: column;
        width: 100%;
    }

    .radio-group label {
        width: 100%;
        text-align: center;
    }

    body{
        display: flex;
        flex-direction: column;
        align-items: center;
    }


}

/*For the exit*/
.exit {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    gap: 150px;
}
/*For the logout*/
a.logout-btn {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b); /* Cool gradient */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a.logout-btn:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}



/*For the delete*/
.logout-btn {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b); /* Cool gradient */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logout-btn:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/*Styles for match.php*/
.match-container {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f5f5f5;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 50%;
    margin: auto;
}

.chat-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #5F5048, #dfab1c);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.chat-btn:hover {
    transform: scale(1.05);
}

/*Chat.php styles*/
.first-showcase .chat-container h2 {
    color: white;
}

/* Chat Container */
.chat-container {
    width: 400px;
    max-width: 100%;
    margin: auto;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background: #fbe4d8;
    color: #2b124c;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

/* Message Box */
.chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Individual Messages */
.message {
    max-width: 70%;
    padding: 10px;
    border-radius: 8px;
    margin: 5px 0;
    font-size: 14px;
    color: white;
}

/* Sent Messages */
.sent {
    background: #ffd700;
    align-self: flex-end;
    text-align: right;
}

/* Received Messages */
.received {
    background: #708090;
    border: 1px solid #1d1616;
    align-self: flex-start;
    text-align: left;
}

/* Chat Input Box */
.chat-input {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #291f1f;
}

/* Message Input */
.chat-input input {
    flex: 1;
    padding: 10px;
    border-radius: 25px;
    border: 1px solid #383131;
    outline: none;
    font-size: 14px;
}

/* Send Button */
.chat-input button {
    background: #3e2411;
    border: none;
    color: white;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

/* Scrollbar Customization */
.chat-box::-webkit-scrollbar {
    width: 5px;
}

.chat-box::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}



















