:root {
    --darkerBG: hsl(264, 73%, 23%);
}

body {
    margin: 0;
    background: hsl(264, 73%, 26%);
    
    text-align: center;

    height: 91svh;
    width: 100svw;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

a {
    color: white;
    text-decoration: none;
}

#bgSquare {
    position: fixed;
    background-color: rgb(0, 0, 0);
    transform: rotate(45deg);
    opacity: 0.1;
    top: -15vmin;
    left: -15vmin;
    min-width: 75vmin;
    min-height: 75vmin;
    z-index: -1;
}

#bgCircle {
    position: fixed;
    border-radius: 50%;
    background-color: rgb(0, 0, 0);
    opacity: 0.1;
    min-width: 75vmin;
    min-height: 75vmin;
    bottom: -15vmin;
    right: -15vmin;
    z-index: -1;
}

#userProfileLogo {
    position: absolute;
    top: 2vmin;
    right: 2vmin;

    width: 7vmin;
    height: 7vmin;
    background: url(https://lh3.googleusercontent.com/ogw/AAEL6siHqvRrnnAze3TJq0i_1GblNrR0KiP7WnS_uc_lyg=s2048-c-mo);
    background-size: cover;

    border-radius: 50%;
    border: 0.3vmin black solid;
}

.main {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
}

#middlePart {
    width: 320px;
    height: auto;
    margin: 0px 24px 1.25rem;
}

#middlePart > div.logo {
    background: url('./Kahoogle-CDN-Logo-507x156.png') center bottom / contain no-repeat;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    height: 100px;
    width: 200px;
    margin: 4.25rem auto 32px;
    position: relative;
}

#middlePart > div.content {
    display: flex;
    flex-direction: column;
    background-color: rgb(255, 255, 255);
    padding: 16px;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px;
}

div.content > input {
    min-height: 2.375rem;
    max-height: 48px;
    line-height: 2.375rem;
    text-align: center;
    max-width: 20rem;
    min-width: 6.25rem;
    color: rgb(51, 51, 51);
    outline: none;
    font-size: 1rem;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
    outline: 0px;
    border: 0.125rem solid rgb(204, 204, 204);
    padding: 0.25rem 0.375rem;
    font-weight: 700;
    font-family: "Montserrat", "Noto Sans Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

div.content > button {
    font-weight: 700;
    width: 100%;
    margin: 0px;
    border: 0px none;
    cursor: pointer;
    display: inline-block;
    vertical-align: bottom;
    box-shadow: rgba(0, 0, 0, 0.25) 0px -4px inset;
    background: rgb(51, 51, 51);
    color: rgb(255, 255, 255);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    min-width: 48px;
    min-height: 48px;
    padding: 0px 16px 4px;
    position: relative;
    font-family: "Montserrat", "Noto Sans Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

footer {
    width: 100%;
    position: absolute;
    height: 9svh;
    bottom: 0px;

    display: flex;
    flex-direction: column;
    justify-content: end;
    align-content: center;
}

footer > p {
    margin: 0px 0px 0.625rem;
}

footer > p:nth-child(1) {
    font-family: "Montserrat", "Noto Sans Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    display: block;
    text-align: center;
    color: rgb(255, 255, 255);
    line-height: 1.25rem;
}

footer > p:nth-child(1) > a {
    font-family: "Montserrat", "Noto Sans Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin-left: 0.25rem;
}

footer > p:nth-child(2) {
    font-family: "Montserrat", "Noto Sans Arabic", "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: block;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 0.8125rem;
    line-height: 0.875rem;
}

body.googleTheme {
    background: #ffa700;
}

body.googleTheme #bgSquare {
    background-color: hsl(4, 74%, 48%);
    opacity: 1;
}

body.googleTheme #bgCircle {
    background-color: #0057e7;
    opacity: 1;
}

body.googleTheme #kahoogleSearchButton {
    background: #008744;
}