body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/*Beginning Of Nav*/
.ul-nav {
    list-style-type: none;
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(10, 30, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.a-nav {
    display: block;
    color: #e0f2f1;
    text-align: center;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 16px;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: sans-serif;
}

.a-nav:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
}

.dropdown {
    display: inline-block; /* Allows multiple dropdown elements to sit side-by-side */
    position: relative;
}

.dropdown-btn {
    display: block;
    color: #e0f2f1;
    text-align: center;
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 16px;
    list-style: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: sans-serif;
}

.dropdown-btn::-webkit-details-marker {
    display: none;
}

.dropdown-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
}

.dropdown[open] .dropdown-btn {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    list-style-type: none;
    margin: 0;
    padding: 8px;
    background: rgba(10, 30, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: row; 
    gap: 8px;
}

.dropdown-content li a {
    display: block;
    color: #e0f2f1;
    padding: 10px 16px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 0.95rem;
    border-radius: 10px;
    text-align: center;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}
/*End Of Nav*/

/*Beginning Of Main*/
.div-main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f3e7e 0%, #157484 50%, #1cb88b 100%);
}

.div-container-main {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.logo-main {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: sans-serif;
}

.div-search-main {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.input-search-main {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 20px;
    color: white;
    font-size: 1rem;
    font-family: sans-serif;
}

.input-search-main::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-family: sans-serif;
}

.button-search-main {
    background: #1cb88b;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 24px;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: sans-serif;
}

.button-search-main:hover {
    background: #159f7a;
}
/*End Of Main*/
#homework-searchbar {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    gap: 12px;
    position: fixed;
    top: 1%;
    align-items: center;
    left: 30%;
}
#homework-lookupbar {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 20px;
    color: black;
    font-size: 1rem;
    font-family: sans-serif;
}
button[type="submit"] {
    background: #1cb88b;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: sans-serif;
}
button[type="submit"]:hover {
    background: rgba(28, 184, 139, 0.8);
}
button[type="submit"]:active {
    background: rgba(28, 184, 139, 0.6);
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #1cb88b;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    animation: spin 0.8s linear infinite;
}
#proxysel{
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    position: fixed;
    top: 10%;
    align-items: center;
    left: 30%;
}
#iframeid {
    padding: 0;
    margin: 0;
    width: 100vh;
    height: 100vh;
    display: flex;
}