/* Base Styles */

#signupform{
	margin-top:24px;	
}

#signupform > div {
	margin-top: 12px;	
}

#signupform > input,select {
	width: 200px;
	padding: 3px;
	background: #F7FCFD;
}

#terms {
	border:#CCC 1px solid;
	background: #F5F5F5;
	padding: 12px;
	margin-left: 100px;
	margin-right: 100px;
	font-size: 18px;
	word-break: break-all;
}

body {
	background-color: #E7FDFE;
}

.regBio {
    font-family: "Myriad Web Pro", Verdana, Eras Demi ITC, Arial;
    font-size: 1.0em;
    border-color: #48d3e8;
    width: 27.5%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    resize: none;
    border: 2px solid #8a9498; /* controls thickness and color of input field */
    border-radius: 8px; /* IE 9, Opera, Chrome, Safari 5, controls shape of input field */
    -moz-border-radius: 4px; /* Firefox, Camino, controls shape of input field */
}

.regBio:focus {
    outline: none;
    border-color: #53f3f1;
    box-shadow: 0 0 3px #53f3f1; /* IE 9 */
    -moz-box-shadow: 0 0 3px #53f3f1; /* Firefox, Camino */
}

a:link {
    color: green;
    font-weight: bold;
    text-decoration: none;
    font-family: "Myriad Web Pro", Verdana, Eras Demi ITC, Arial;
    font-size: 1.0em;
}

a:visited {
    color: grey;
}

a:focus, a:hover, a:active {
    color: red;
}

.regButton {
    -webkit-appearance: none;
    background: #00bcd4; /* Aqua blue color */
    border: none; /* Remove border */
    border-radius: 8px;
    outline: none;
    padding: 0.6em 1.2em;
    margin-right: 15px;
    color: #ffffff;
    font-size: 1.1em;
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow effect */
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.regButton:hover {
    background: linear-gradient(to right, #2575fc, #6a11cb); /* Original hover effect */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.loadingSpinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reg_banner {
    text-align: center;
}

.empire { /* Will be used on input field for YoShizzles homepage */
    border: 2px solid #8a9498; /* controls thickness and color of input field */
    font-size: 20px; /* controls font size within input field */
    padding: 2.5px; /* controls padding within input field */
    height: 35px;
    width: 388px;
    margin-top: 5px;
    border-radius: 8px; /* IE 9, Opera, Chrome, Safari 5, controls shape of input field */
    -moz-border-radius: 4px; /* Firefox, Camino, controls shape of input field */
}

.empire:focus { /* controls all attributes of the input field for YoShizzles homepage */
    outline: none;
    border-color: #53f3f1;
    box-shadow: 0 0 3px #53f3f1; /* IE 9 */
    -moz-box-shadow: 0 0 3px #53f3f1; /* Firefox, Camino */
}

#profileDisplay {
    display: block;
    height: 150px;
    width: 10%;
    margin: 0px auto;
    border-radius: 50%;
}

.img-placeholder { /* Controls the select image dimensions */
    width: 10%;
    color: white;
    height: 100%;
    background: black;
    opacity: .7;
    height: 150px;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.img-placeholder h4 {
    margin-top: 40%;
    color: white;
}

.img-div:hover .img-placeholder {
    display: block;
    cursor: pointer;
}

select.round {
    background-image:
        linear-gradient(45deg, transparent 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%),
        radial-gradient(#ddd 70%, transparent 72%);
    background-position:
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px),
        calc(100% - .5em) .5em;
    background-size:
        5px 5px,
        5px 5px,
        1.5em 1.5em;
    background-repeat: no-repeat;
    font-family: "Myriad Web Pro", Verdana, Eras Demi ITC, Arial;
}

select.round:focus {
    background-image:
        linear-gradient(45deg, white 50%, transparent 50%),
        linear-gradient(135deg, transparent 50%, white 50%),
        radial-gradient(gray 70%, transparent 72%);
    background-position:
        calc(100% - 15px) 1em,
        calc(100% - 20px) 1em,
        calc(100% - .5em) .5em;
    background-size:
        5px 5px,
        5px 5px,
        1.5em 1.5em;
    background-repeat: no-repeat;
    border-color: #53f3f1;
    outline: 0;
}

select {
    /* styling */
    background-color: white;
    border: 2px solid #8a9498;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.75em;
    padding: 0.5em 3.5em 0.5em 1em;
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

label {
    font-family: "Myriad Web Pro", Verdana, Eras Demi ITC, Arial;
    font-size: 1.0em;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

.termsContainer {
    font-family: 'Roboto', sans-serif; /* Updated font */
    max-height: 200px; /* Limit the height of the container */
    overflow-y: auto; /* Enable vertical scrollbar */
    border: 1px solid #ccc; /* Add a border */
    padding: 50px; /* Updated padding */
    background-color: #8c8c8c;
    text-align: left; /* Updated text alignment */
    width: 800px; /* Updated width */
    margin: 20px; /* Updated margin */
    white-space: normal; /* Allow line breaks */
    word-wrap: break-word; /* Ensure words break to the next line */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow effect */
}

.termsContent {
    font-family: 'Roboto', sans-serif; /* Modern font */
    padding: 50px;
    margin: 20px;
    background-color: #f9f9f9; /* Light background color */
    border: 1px solid #ccc; /* Border for visual separation */
    border-radius: 8px; /* Rounded corners */
    max-width: 800px; /* Maximum width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow effect */
}

.termsContent h3 {
    margin-bottom: 20px; /* Spacing below the heading */
    font-weight: 700; /* Bold heading */
}

.termsContent ul {
    list-style: disc; /* Disc bullet points */
    margin-left: 20px; /* Indent the list */
}

.termsContent li {
    margin-bottom: 10px; /* Spacing between items */
    line-height: 1.6; /* Improved readability */
}

.success-msg {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e0ffe0;
    border: 2px solid #00b300;
    padding: 25px 40px;
    font-size: 20px;
    font-weight: bold;
    color: #006600;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.spinner {
    margin: 15px auto 0;
    border: 5px solid #cce5cc;
    border-top: 5px solid #00b300;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */

/* Small devices (phones, 600px and down) */
@media (max-width: 600px) {
    .regBio, .empire {
        width: 100%;
        font-size: 14px;
    }

    .terms {
        width: 90%;
        padding: 20px;
        margin: 10px;
    }

    #profileDisplay, .img-placeholder {
        width: 50%;
        height: 100px;
    }

    .img-placeholder h4 {
        margin-top: 30%;
    }

    .regButton {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
}

/* Medium devices (tablets, 600px to 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    .regBio, .empire {
        width: 90%;
        font-size: 15px;
    }

    .terms {
        width: 80%;
        padding: 30px;
        margin: 15px;
    }

    #profileDisplay, .img-placeholder {
        width: 75%;
        height: 125px;
    }

    .img-placeholder h4 {
        margin-top: 35%;
    }

    .regButton {
        width: 90%;
        padding: 12px;
        font-size: 15px;
    }
}

/* Large devices (desktops, 900px and up) */
@media (min-width: 901px) {
    .regBio {
        width: 27.5%;
        font-size: 1.0em;
    }

    .terms {
        width: 1025px;
        padding: 50px;
        margin: 20px;
    }

    #profileDisplay, .img-placeholder {
        width: 10%;
        height: 150px;
    }

    .img-placeholder h4 {
        margin-top: 40%;
    }

    .regButton {
        width: auto;
        padding: 0.5em 0.8em;
        font-size: 1em;
    }
}