* {
    font-family: Helvetica, sans-serif;
}

:root {
    --bg-color: #EFEFEF;
    --text-color: #1D1D1D;
    --box-text: #EFEFEF;
    --box-bg: #FFFFFF;
}

body.dark-mode {
    --bg-color: #1D1D1D;
    --text-color: #EFEFEF;
    --box-text: #1D1D1D;
    --box-bg: #2A2A2A;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px;
    padding: 20px;
    padding-top: 100px;
}

h1 {
    color: #FFB7C5;
    text-align: center;
}

h4 {
    color: var(--header-color);
    text-align: center;
    font-style: italic;
    font-weight: lighter;
}

p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

img {
    height: 100px;
    width: 100px;
    margin-top: 5%;
    cursor: pointer;
    border-radius: 50px;
}

.tag {
    font-weight: bold;
    text-align: center;
}

.annotation {
    font-style: italic;
    color: var(--header-color);
    margin-top: 10px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(29 29 29 / 90%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#overlay img {
    width: 400px;
    height: 400px;
    border-radius: 500px;
    box-shadow: 5px 5px 25px #6D6D6D;
}

/* For the Light/Dark Mode Button */
.switch {
    --secondary-container: rgb(255 183 197 / 25%);
    --primary: #FFB7C5;
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.7em;
    height: 1.8em;
    align-self: flex-end;
}

.switch input {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #313033;
    transition: .2s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 20px;
    left: 0.2em;
    bottom: 0.2em;
    background-color: #aeaaae;
    transition: .4s;
}

input:checked + .slider::before {
    background-color: var(--primary);
}

input:checked + .slider {
    background-color: var(--secondary-container);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--secondary-container);
}

input:checked + .slider:before {
    transform: translateX(1.9em);
}

/* For Labels */
.card {
    width: 100%;
    max-width: 425px; 
    height: 100px;
    background-image: linear-gradient(163deg, #FFB7C5 0%, var(--text-color) 100%);
    border-radius: 20px;
    transition: all .3s;
    display: block;
    text-decoration: none;
    color: inherit;
    margin: 15px 0;
    box-sizing: border-box;
}

.card2 {
    width: 100%;
    height: 100%;
    background-color: #FFB7C5;
    border-radius: 10px;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.card2:hover {
    transform: scale(0.98);
    border-radius: 20px;
}

.card:hover {
    box-shadow: 0px 0px 30px 1px rgb(255 183 197 / 25%);
}

.card-label {
    font-size: 1.25rem;
    font-weight: bold;
    color: #EFEFEF;
    padding: 5px 20px 0px 20px;
    color: var(--box-text);
}

.card-icon {
    width: 75px;
    height: 75px;
    border-radius: 8px;
    padding: 25px 50px 45px 20px;
}

/* 
Footer
*/
footer {
    align-items: center;
    text-align: center;
    padding: 50px;
    padding-bottom: 75px;
}

/* 
Mobile Fixes.
*/
@media (max-width: 500px) {
  .card {
    width: 90%;
    height: auto;
  }

  .card2 {
    padding: 10px;
    gap: 10px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    padding: 0;
  }

  .card-label {
    font-size: 1rem;
  }
}