@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    align-items: center;
    font-family: 'Exo', sans-serif;
    box-sizing: border-box;

    background-image: url('/images/dark_green_nebula_background.png'); /* Use your dark green nebula background image */
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}

.container {
    flex-grow: 1;
    width: 100%; 
    height: 100%; 
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.domain-container {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    border-radius: 10px;
    padding: 20px;
    max-width: 650px;
    width: 90%;
    margin: 0px;
}

.login-form {
    color: #FAFBFB; 
}

.domain-name {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    border: 6px solid green;
    background-color: #222; /* Dark background for the domain box */
    color: lightgreen;
}

.coming-soon-text {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 20px; /* Ensure proper spacing between elements */
    color: lightgreen;
} 
.available-text, .price {
    font-size: 24px;
    margin-bottom: 20px; /* Ensure proper spacing between elements */
    font-weight: bold;
    color: #ccc;
}

.price {
    font-size: 20px;
}

.escrow-button form {
    display: inline-block;
}

.btn {
    font-weight: bold;
    color: white;
    background-color: darkgreen;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px; /* Add space above the button */
}

.btn:hover {
    background-color: #0056b3;
}

.EscrowButtonSecondary {
    background-color: #000000; /* Black background */
    color: #ccc;
    border: 5px solid green; /* White border around the button */
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: left;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    margin-top: 20px; /* Add space above the button */
}

.EscrowButtonSecondary .escrow-logo {
    color: #28a745; /* Green logo text */
    font-weight: bold;
    background-color: #000000; /* Black background for the logo */
    border: 1px solid #ffffff; /* Thin white border around the logo */
    padding: 4px 10px; /* Increased padding for more space */
    border-radius: 20px;
    margin-left: 10px;
    text-transform: uppercase; /* Uppercase transformation for logo */
}

.EscrowButtonSecondary:hover {
    background-color: #444444; /* More noticeable grey on hover */
    border-color: #007bff; /* Change border to blue on hover */
    color: #ffffff; /* Change text color to white on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Add subtle shadow on hover */
    transform: scale(1.05); /* Slightly scale the button on hover */
}

button .escrow-text {
    /** color: turquoise;  Color for "ESCROW" */
    color: turquoise;
}

button .com-text {
    color: lightgreen; /* Color for ".COM" */
}

.show-case-domains-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
    width: 100%;
    padding: 10px;
    gap: 10px;
}

.show-case-domain:nth-child(n+10) {
    display: none;
}

.show-case-domain {
    border: 1px solid black;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background for readability */
    font-size: 24px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.show-case-domain span:nth-child(1) {
    font-size: clamp(17px, 5vw, 20px);
}

.show-case-domain span:nth-child(2) {
    font-size: 16px;
    font-weight: bold;
    color: #ccc;
}

.bold-link {
    color: lightgreen;
    font-weight: bold;
    text-decoration: none;
}

.show-case-domain-name {
    color: lightgreen;
    font-weight: bold;
    text-decoration: none;
}

.whatsapp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.whatsapp-container1 {
    font-weight: bold;
    color: white;
    background-color: darkgreen;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px; /* Add space above the button */
    width: fit-content;
}

.modal {
    position: relative;
    width: 100%;
}

.subject-modal {
   color: black;
   display: none;
   position: absolute;
   z-index: 10;
   right: -10;
   border: 6px solid green;
   background-color: #222;
   width: 100%;
   height: 75px;
   align-items: center;
   justify-content: center;
}

.subject-modal > input {
    padding: 10px;
    background-color: #222;
    border: 1px solid green;
    color: lightgreen;
    font-size: 16px;
}

.escrow-modal {
    height: 10px;
    position: relative;
    width: 100%;
}

.escrow-subject-modal {
   color: black;
   display: none;
   position: absolute;
   z-index: 10;
   border: 6px solid green;
   background-color: #222;
   width: 100%;
   height: 75px;
   align-items: center;
   justify-content: center;
}

.escrow-subject-modal > input {
    padding: 10px;
    background-color: #222;
    border: 1px solid green;
    color: lightgreen;
    font-size: 16px;
}

.escrow-whatsapp-container1:hover {
    background-color: #0056b3;
    cursor: pointer;
}

.whatsapp-container1:hover {
    background-color: #0056b3;
    cursor: pointer;
}

/* Media Query for Landscape Mode */
@media (orientation: landscape) {
    html, body {
    }


    .container {
        gap: 20px
    }

    .EscrowButtonSecondary {
        margin-top: 0px;
    }

    .show-case-domain {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (orientation: portrait) {

    .domain-container {
        width: 100%;
    }

    .EscrowButtonSecondary {
        margin-top: 0px;
    }

    .show-case-domains-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 5px;
    }

    .show-case-domain-name {
        font-size: clamp(17px, 5vw, 18px);
        padding-left: 2px;
        padding-right: 2px;
    }

    .show-case-domain {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .show-case-domain span:nth-child(1) {
        font-size: clamp(12px, 5vw, 16px);
    }

    .show-case-domain:nth-child(n+9) {
        display: none;
    }
}
