* 
{
    box-sizing: border-box;
}


body 
{
    background-image: url(sharkscoveBackground.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

#title 
{   
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
	margin-bottom: 40px;
	margin-top: 30px;
    font-size: 120px;
    font-family: 'Jersey 10', sans-serif;
    font-weight: 375;
    color: #FFFFFF;
    width: 100%;

}

#contactListDiv
{
    font-size: 30px;
    width: 70%;
    margin: auto;
    padding: 25px;
    background-color: #2727279c;
    border-radius: 10px;
}

#loginDiv
{
    display: flex;           
    flex-direction: column;  
    align-items: center; 
    gap: 5px;              
    max-width: 600px;
    font-size: 30px;
    width: 70%;
    margin: auto;
    padding: 25px;
    background-color: #2727279c;
    border-radius: 10px;
}

#regDiv
{
    max-width: 600px;
    font-size: 30px;
    width: 70%;
    margin: auto;
    padding: 25px;
    background-color: #2727279c;
    border-radius: 10px;
    font-family: 'Jersey 10', sans-serif;
    color: #FFFFFF;
}

#regDiv input[type="text"],
#regDiv input[type="password"],
#regDiv input[type="email"] {
    font-size: 24px;
    padding: 10px 15px;
}

#regSubmit
{
	margin-top: 15px;
}

#loggedInDiv
{
    font-size: 30px;
    width: 70%;
    margin-left: 15%;
    padding: 25px;
    background-color: #b2b2b2;
}

#accessUIDiv
{
    font-size: 30px;
    width: 70%;
    margin-left: 15%;
    padding: 25px;
    background-color: #b2b2b2;
}

.buttons
{
    font-size: 30px;
    border-radius: 25px;
    width: 40%;
    margin: 5px;
    font-family: 'Jersey 10', sans-serif;
    background-color: #FFFFFF; 
    color: rgb(0, 0, 0); 
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}

.buttons:hover{
    background-color: #2099cd4f; 
    color: #FFFFFF;
}

.submit-btn {
    background-color: #FFFFFF; 
    color: rgb(0, 0, 0); 
    padding: 5px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
    font-family: 'Jersey 10', sans-serif;
    font-size: 25px;
}

.submit-btn:hover {
    background-color: #2099cd4f; 
    color: #FFFFFF;
}

#searchName
{
	font-size: 30px;
}
#loginName
{
	font-size: 30px;
}
#loginPassword
{
	font-size: 30px;
}
#searchText
{
	font-size: 30px;
}
#colorText
{
	font-size: 30px;
}

input[type="text"],input[type="password"],input[type="email"]{
    border-radius: 10px;
    display: block;
    margin: 5px auto;
    text-align: center;
    width: 80%;
    font-family: 'Ubuntu', sans-serif;
    background-color: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    padding: 10px 15px;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus{
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.65);
}

input[type="text"]::placeholder,input[type="password"]::placeholder,input[type="email"]::placeholder{
    color: rgba(255, 255, 255, 0.6);
}

#inner-title{
    display: block;
    font-size: 40px;
    width: 100%;
    text-align: center;
    margin: 0 auto 10px auto;
    font-family: 'Jersey 10', sans-serif;
    color: #FFFFFF;
}

#loginResult{
    display: inline-block;
    font-size: 0.8em;
    width: 90%;
    text-align: center;
    margin-left: 5%;
    margin-bottom: 2%;
    font-family: 'Ubuntu', sans-serif;
    color: #95060a;
}

#userName{
    display: inline-block;
    width: 80%;
    margin-left: 10%;
    text-align: center;
}

#logoutButton{
    width: 20%;
    margin-left: 40%;
}

select{
    width: 30%;
    margin-left: 35%;
    margin-top: 2%;
    font-size: 0.75em;
    font-family: 'Ubuntu', sans-serif;
}

#colorSearchResult{
    display: none;
}

#colorAddResult{
    display: inline-block;
    font-size: 0.8em;
    width: 90%;
    text-align: center;
    margin-left: 5%;
    margin-top: 2%;
    margin-bottom: 1%;
    font-family: 'Ubuntu', sans-serif;
    color: #95060a;
}

#myUL {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

#myUL li {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

#myUL li:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

#myUL li a {
    display: block;
    padding: 12px 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inconsolata', sans-serif;
    font-size: 22px;
}

#myUL li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-name {
    color: #FFFFFF;
    font-family: 'Inconsolata', sans-serif;
    font-size: 22px;
}

.contact-details {
    color: #aaaaaa;
    font-family: 'Inconsolata', sans-serif;
    font-size: 14px;
}

.contact-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.icon-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.delete-btn:hover {
    background-color: rgba(255,50,50,0.4);
}

.editing {
    padding: 15px 20px !important;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.edit-form input[type="text"] {
    font-size: 16px;
    width: 100%;
    margin: 0;
    border-radius: 10px;
    font-family: 'Ubuntu', sans-serif;
}

.edit-btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 5px;
}

#addContactDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 600px;
    font-size: 30px;
    width: 70%;
    margin: 20px auto;
    padding: 25px;
    background-color: #2727279c;
    border-radius: 10px;
}

#addContactDiv input[type="text"] {
    width: 80%;
    font-size: 24px;
    padding: 10px 15px;
}

#addContactResult {
    display: inline-block;
    font-size: 0.6em;
    text-align: center;
    font-family: 'Inconsolata', sans-serif;
    color: #ff6b6b;
}

#addContactResult.success {
    color: #7fffaa;
}

#logoutButton
{
	margin-bottom: 30px;
	margin-top: 10px;
}

.back-btn-container {
    text-align: left;
    margin-bottom: 15px;
}

.back-btn {
    background-color: #FFFFFF;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    background-color: #2099cd4f;
    color: #FFFFFF;
}

.password-requirements {
    font-size: 14px;
    font-family: 'Inconsolata', sans-serif;
    text-align: left;
    margin: 5px auto 10px auto;
    width: 80%;
}

.password-requirements ul {
    margin: 5px 0;
    padding-left: 20px;
}

.password-requirements li {
    margin: 3px 0;
    color: #ff6b6b;
    transition: color 0.3s ease;
}

.password-requirements li.fulfilled {
    color: #6bff6b;
}

.password-requirements li.unfulfilled {
    color: #ff6b6b;
}

#registerResult {
    display: block;
    font-size: 16px;
    text-align: center;
    margin: 10px auto;
    font-family: 'Inconsolata', sans-serif;
    color: #ff6b6b;
}

/* Bubble Animation Styles */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background-image: url('bubble.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    animation: rise linear infinite;
}

.bubble:nth-child(1) { left: 3%; width: 40px; height: 40px; animation-duration: 8s; animation-delay: 0s; }
.bubble:nth-child(2) { left: 8%; width: 25px; height: 25px; animation-duration: 10s; animation-delay: 1s; }
.bubble:nth-child(3) { left: 12%; width: 35px; height: 35px; animation-duration: 9s; animation-delay: 2s; }
.bubble:nth-child(4) { left: 5%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 3s; }
.bubble:nth-child(5) { left: 15%; width: 30px; height: 30px; animation-duration: 11s; animation-delay: 0.5s; }
.bubble:nth-child(6) { left: 10%; width: 45px; height: 45px; animation-duration: 7s; animation-delay: 4s; }
.bubble:nth-child(7) { right: 3%; left: auto; width: 40px; height: 40px; animation-duration: 9s; animation-delay: 0s; }
.bubble:nth-child(8) { right: 8%; left: auto; width: 25px; height: 25px; animation-duration: 11s; animation-delay: 2s; }
.bubble:nth-child(9) { right: 12%; left: auto; width: 35px; height: 35px; animation-duration: 8s; animation-delay: 1s; }
.bubble:nth-child(10) { right: 5%; left: auto; width: 20px; height: 20px; animation-duration: 13s; animation-delay: 3.5s; }
.bubble:nth-child(11) { right: 15%; left: auto; width: 30px; height: 30px; animation-duration: 10s; animation-delay: 1.5s; }
.bubble:nth-child(12) { right: 10%; left: auto; width: 45px; height: 45px; animation-duration: 8s; animation-delay: 2.5s; }

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        bottom: 110%;
        transform: translateX(20px) rotate(360deg);
        opacity: 0.3;
    }
}



