:root{
    --accent: #CDB4DB;
    --girlColor: #FFAFCC;
    --boyColor: #A2D2FF;
    --borderColor: rgba(0, 0, 0, 0.75);
    --light: #FFFFFF;
    --dark: #2A2A2A;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background: var(--light);
}

#loading {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.125rem solid lightgray;
    border-radius: 50%;
    border-top-color: var(--dark);
    animation: spin 1s linear infinite;
}

.btnLoader {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.125rem solid var(--light);
    border-radius: 50%;
    border-top-color: var(--borderColor);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

#page {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.5rem;
    font-family: "Happy Monkey", sans-serif;
}

.container {
    width: 86vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark);
    background: linear-gradient(135deg, var(--boyColor), var(--accent), var(--girlColor));
    border: 0.125rem solid var(--borderColor);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: inherit;
    text-align: center;
}

#nav {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    place-items: center;
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--girlColor), var(--accent), var(--boyColor));
    box-shadow: 0 0.25rem 0.25rem darkgray; 
}

#menuBox{
    font-size: 1.5rem;
}

#menuBox a {
    margin: 0.5rem;
}

#menuBox a:hover {
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

#title, #mod {
    font-size: 1.5rem;
    font-weight: bold;
}

#duo, #pic {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
}

#mod {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0.125rem solid var(--borderColor);
}

#duo {
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    margin-bottom: 0;
}

#interact {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0.125rem solid var(--borderColor) ;
}

.user {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    place-items: center;
}

#girl {
    margin-top: 1rem;
}

#boy {
    margin-bottom: 1rem;
}

.avatar {
    background: var(--light);
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    border: 0.25rem solid var(--borderColor);
}
   
#girlAvatar {
    border: 0.25rem solid var(--girlColor);
}

#boyAvatar {
    border: 0.25rem solid var(--boyColor);
}

a {
    color: var(--dark);
    text-decoration: none;
    cursor: pointer;
}

.bio {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    place-items: center;
    gap: 0rem;
}

.name {
    font-size: 2rem;
}

.college {
    font-size: 1rem;
}

.social {
    height: auto;
    width: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    margin: 0.25rem;
}

#interact{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    place-items: center;
    padding: 0.5rem;
}

#likeBox {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#likeCounter {
    font-size: 1.5rem;
    margin-left: 0.25rem;
}

i {
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
}

#timer{
    font-size: 1.5rem;
}
#info {
    font-size: 1.25rem;
    font-weight: 500;
}
#info {
    font-family: "Happy Monkey", sans-serif;
}

#btnNav {
    font-size: 1.5rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--girlColor), var(--accent), var(--boyColor));
    box-shadow: 0 0.25rem 0.25rem darkgray;
    border-radius: 2rem;
}

form, #inputs{
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#picContainer i, #picContainer img{
    width: 7.5rem;
    height: 7.5rem;
    border: 0.125rem solid var(--borderColor);
    border-radius: 50%;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center; 
    background: var(--light);
    overflow: hidden;
    font-size: 3rem; 
    cursor: pointer;
}

label {
    font-size: 1.25rem;
    cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    background: var(--light);
    border: 0.125rem solid var(--borderColor);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    caret-color: var(--dark);
}

input[type="text"],
input[type="email"] {
    width: 70vw;
}

#password {
    width: 56vw;
}

#eye {
    font-size: 1.5rem;
    color: var(--borderColor);
    background: var(--light);
    border: 0.125rem solid var(--borderColor);
    border-radius: 50%;
    padding: 0.5rem;
    margin-left: 0.5rem;
    margin-bottom: 0.25rem;
}

#passwordInputBox {
    width: 70vw;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#gender {
    width: 76vw;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
}

#gender input[type="radio"] {
    display: none;
} 

#maleInput, #femaleInput {
    background: var(--light);
    border: 0.125rem solid var(--borderColor);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

#maleInput {
    background: var(--boyColor);
}

#collegeInput {
    width: 76vw;
    background: var(--light);
    border: 0.125rem solid var(--borderColor);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-family: inherit;
    cursor: pointer;
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--girlColor), var(--accent), var(--boyColor));
    box-shadow: 0 0.25rem 0.25rem darkgray;
    border-radius: 2rem;
    font-size: 1.5rem;
    font-weight: 500;
    width: 92vw;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

button[type="submit"]:active {
    transform: scale(0.9);
    transition: all 0.3s ease;
}

#msg {
    width: 90vw;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    transition: opacity 0.5s ease;
}

#agreement {
    width: 90vw;
    color: dimgray;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

#aNav, .or{
    color: dimgray;
    width: 90vw;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    
}

#aNav a, #aNav span{
    color: hotpink;
}

#aNav a:hover, #aNav span:hover {
    color: dodgerblue;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

#legal {
    width: 86vw;
    height: auto;
    color: var(--dark);
    background: linear-gradient(135deg, var(--boyColor), var(--accent), var(--girlColor));
    border: 0.125rem solid var(--borderColor);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: inherit;
}

#legal h2 {
  margin-bottom: 0.5rem;
}

#legal p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
