/*NAV HOVER EFFECTS (SO NAV AND DOORBELLS FUNCTION TOGETHER)*/
nav ul li:hover a,
nav ul li:hover .frame button {
    background-color: #000;
    color: #fff;
}

@font-face {
    font-family: "STOR";
    src: url("http://mazapandust.com/fonts/STOR-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


nav ul li:hover .frame button {
    background-color: #f9f9f9;
    color: #333;
    box-shadow: inset -2px -2px 5px #fff, inset 2px 2px 5px #aaa;
    border-color: #999;
}

/* SILVER BUTTON STYLES */
.frame, .enter {
    margin-left: 10px;
}

.enter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    opacity: 1;
}

button {
    font-family: "STOR", sans-serif;
    padding: 10px 20px;
    color: #000;
    border: 2px solid #c0c0c0;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: inset -2px -2px 0px #ffffff, inset 2px 2px 0px #808080;
    cursor: pointer;
    position: relative;  /* Needed for positioning the pseudo-element */
    background: linear-gradient(
        top,
        #e0e0e0 0%,
        #e6e6e6 25%,
        #ffffff 38%,
        #c5c5c5 63%,
        #f7f7f7 87%,
        #e0e0e0 100%
    ); /* Gradient background */
}

/* Add a solid background behind the button */
button::before {
    content: '';  /* Necessary for creating a pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);  /* Solid white background with opacity */
    border-radius: 20px;  /* Match the button's border radius */
    z-index: -1;  /* Ensure it stays behind the button */
}

/* Ensure the background color appears as expected when hovered or active */
button:hover {
    background: linear-gradient(
        top,
        #c0c0c0 0%,
        #d6d6d6 25%,
        #f0f0f0 38%,
        #d0d0d0 63%,
        #f2f2f2 87%,
        #c0c0c0 100%
    );  /* Slightly darker gradient for hover effect */
}

/* Active effect for button */
button:active {
    box-shadow: inset 2px 2px 0px #ffffff, inset -2px -2px 0px #808080;
    background-color: #c0c0c0;
}


.enter-btn {
    font-family: "STOR", sans-serif;
    width: 200px;
    height: 60px;
    font-size: 16px;
    padding: 15px 30px;
    color: #000;
    border-radius: 30px;
    background-color: #e0e0e0; /* Solid background color */
    background: linear-gradient(
        top,
        #e0e0e0 0%,     /* No transparent parts in the gradient */
        #e6e6e6 25%,
        #ffffff 38%,
        #c5c5c5 63%,
        #f7f7f7 87%,
        #e0e0e0 100%
    );
    cursor: pointer;
    display: inline-block;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 1), 0px 1px 3px rgba(0, 0, 0, 0.3);
    outline: none;
    border: 1px solid #ba6;
    transition: background-color 0.3s, color 0.3s;
    opacity: 1; /* Ensure it's not transparent */
}

.enter-btn:active {
    box-shadow: inset 2px 2px 0px #ffffff, inset -2px -2px 0px #808080;
    background-color: #c0c0c0;
    color: #000;
}

a .enter button {
    background-color: #e0e0e0;
    opacity: 1;
    color: #e0e0e0;
    border: none;
    padding: 0;
    font: inherit;
}

.enter-btn:hover {
    background-color: #e0e0e0; /* Keep the solid background */
    background: linear-gradient(
        top,
        #e0e0e0 0%,     /* Ensure gradient has no transparency */
        #e6e6e6 25%,
        #ffffff 38%,
        #c5c5c5 63%,
        #f7f7f7 87%,
        #e0e0e0 100%
    );
    color: #000;
}

.custom-btn {
    width: 5px;
    height: 40px;
    color: #000;
    border-radius: 25px;
    padding: 10px 25px;
    cursor: pointer;
    display: inline-block;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 1), 0px 1px 3px rgba(0, 0, 0, 0.3);
    outline: none;
    border: 1px solid #ba6;
}


.btn-6 {
    border-color: #7c7c7c;
    background: linear-gradient(
        top,
        rgba(38, 38, 38, 0.8),
        #e6e6e6 25%,
        #ffffff 38%,
        #c5c5c5 63%,
        #f7f7f7 87%,
        rgba(38, 38, 38, 0.8)
    );
    background: -webkit-linear-gradient(
        top,
        rgba(38, 38, 38, 0.5),
        #e6e6e6 25%,
        #ffffff 38%,
        rgba(0, 0, 0, 0.25) 63%,
        #e6e6e6 87%,
        rgba(38, 38, 38, 0.4)
    );
}

a .frame button {
    cursor: pointer;
    background-color: inherit;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
}

a .frame, .enter button:hover {
    background-color: #000;
    color: #fff;
    opacity: 1;
}

/* Ensure the pseudo-element stays behind the button */
.enter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;  /* Solid background color */
    border-radius: 30px;  /* Match the button's border radius */
    z-index: -1;  /* Keep the pseudo-element behind the button */
}

/* Target the submit button specifically */
form button[type="submit"] {
    font-family: "STOR", sans-serif;
    padding: 10px 20px;
    background-color: #e0e0e0;
    color: #000;
    border: 2px solid #c0c0c0;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: inset -2px -2px 0px #ffffff, inset 2px 2px 0px #808080;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect for submit button */
form button[type="submit"]:hover {
    background-color: #000;
    color: #fff;
}

/* Active effect for submit button */
form button[type="submit"]:active {
    box-shadow: inset 2px 2px 0px #ffffff, inset -2px -2px 0px #808080;
    background-color: #c0c0c0;
}


/*mobile*/
@media (max-width: 768px) { /* Adjust this max-width based on your mobile breakpoint */
    .enter-btn {
        width: 150px; /* Smaller width */
        height: 40px; /* Smaller height */
        font-size: 12px; /* Smaller text size */
        padding: 10px 20px; /* Smaller padding */
    }
    button {
        font-size: 14px; /* Smaller font size for mobile */
        padding: 8px 16px; /* Smaller padding for mobile */
        width: 100%; /* Full width */
        background-color: transparent; /* Ensure background is not transparent */
    }

    /* Adding the pseudo-element to fix transparency on mobile */
    button::before {
        content: ''; 
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #e0e0e0;  /* Solid background color to fix transparency */
        border-radius: 20px;
        z-index: -1;
    }
}


