/* Universal */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
}

h3,
h4,
h5,
h6,
p {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 2.1rem;
    color: #65085C;
    line-height: 1.2;
    letter-spacing: 1px;
}

h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #65085C;
    line-height: 1.1;
}

h3 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #080806;
    line-height: 1.4;
}

h4 {
    font-size: 1.2rem;
    color: #080806;
    line-height: 1.4;
}

p {
    font-size: 1.15rem;
    line-height: 1.4;
    color: #080806;
}

h3 span {
    font-weight: 400;
}

a {
    color: #0472e7;
    text-decoration: none;
}

a:hover {
    color: #1895e8;
    cursor: pointer;
    text-decoration: underline;
}

i {
    font-style: italic;
}

.spacer {
    height: 1px;
    background: #69696F;
    opacity: 50%;
    border: none;
    width: 100%;
    margin: 0 auto;
}

.spacer-2 {
    display: block;
    margin: 0 auto;
    margin: 1rem 0rem;
    height: 1px;
    background: #69696F;
}

button {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: .5rem;
    background-color: #ECECEC;
    border: none;
    padding: 0.3rem .7rem;
    border-radius: 1.5rem;
    color: #302D2D;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

button:hover {
    cursor: pointer;
    background-color: #dcdbdb;
}

.arrow {
    width: .8rem;
}

#contact-button {
    height: 2rem;
    margin-top: 0;
    padding: .25rem .6rem .25rem .4rem;
    color: #69696F;
    background-color: transparent;
    font-weight: normal;
}

.four-zero-four {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 1.5rem;
    padding: 16rem 2rem 18rem 2rem;
}

.four-zero-four h1 {
    font-size: 8rem;
    color: #688CA0;
}

@media only screen and (min-width: 1510px) {
    .spacer {
        max-width: 86rem;
    }
}

@media only screen and (max-width: 800px) {
    .four-zero-four {
        padding: 10rem 2rem 12rem 2rem;
    }
}

@media only screen and (max-width: 500px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1.15rem;
    }

    .four-zero-four h1 {
        font-size: 5rem;
    }
}

/* Header */

#header,
#header2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
    transition: box-shadow 0.1s ease-in-out;
}

.nav-pages {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    max-width: 100%;
}

.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

header ul li a {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: #69696F;
    text-decoration: none;
}

header ul li a:hover {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #69696F;
    opacity: .8;
    text-decoration: none;
}

.logo {
    width: 2.8rem;
}

.nav-links {
    display: flex;
    flex-flow: row;
    gap: 4rem;
}

#home a {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #080806;
    text-decoration: none;
}

.home a:hover {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #69696F;
    opacity: .8;
    text-decoration: none;
}

.contact-icons img {
    width: 1.3rem;
    padding: 0 .5rem;
}

.mobile-nav {
    display: none;
}

.mobile-nav img {
    max-width: 100%;
}

#x-icon {
    display: none;
}

#burger-icon, #x-icon {
    width: 2rem;
}

#burger-links {
    display: none;
    background-color: #FFFFFF;
    padding-bottom: 1rem;
}

.mobile-nav a {
    font-family: 'Outfit', sans-serif;
    color: #69696F;
    text-decoration: none;
    font-size: 1.1rem;
}

#burger-links a {
    font-family: 'Outfit', sans-serif;
    color: #69696F;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    text-align: left;
}

.mobile-nav li {
    list-style: none;
}

@media only screen and (min-width: 1576px) {
    header {
        margin: 0 auto;
        width: 94rem;
    }
}

@media only screen and (max-width: 1576px) {
    header {
        padding: 0 2rem;
    }
}

@media only screen and (max-width: 770px) {
    header {
        padding: 0 1rem;
    }

    #burger-links a {
        padding: 1.4rem 1rem;
    }

    header ul {
        display: none;
    }

    .mobile-nav {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        align-items: center;
        height: 4rem;
    }

    .logo {
        width: 2.6rem;
    }

    #hamburger-icon, #x-icon {
        width: 1.8rem;
    }
}

/* Hero */

.hero {
    padding: 8rem 1rem 0 1rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 30rem));
    gap: 4rem;
    justify-content: center;
}

.website-card-container {
    display: flex;
    flex-flow: column;
    align-items: start;
    gap: .75rem;
}

.website-card-container h4 {
    font-weight: 400;
}

.website-card-screenshot {
    display: block;
    max-width: 100%;
    width: 100%;
    border-radius: .3rem;
    border: 1px solid #e0e0e0;
}

.website-card-screenshot:hover {
    cursor: pointer;
    opacity: .9;
}

.image-container {
    position: relative;
    width: 100%;
    line-height: 0;
}

.screenshot-link {
    display: block;
    width: 100%;
    text-decoration: none;
    line-height: 0
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    opacity: 0;
    border-radius: .3rem;
    pointer-events: none;
}

.screenshot-link:hover .hover-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.site-details-btn {
    background-color: #ECECEC;
    color: #302D2D;
    padding: 0.3rem .7rem;
    border-radius: 1.5rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transform: translateY(20px);
    transition: transform 0.3s ease, background-color 0.3s ease;
    pointer-events: auto;
}

.screenshot-link:hover .site-details-btn {
    transform: translateY(0);
}

.site-details-btn:hover {
    background-color: #dcdbdb;
}

.details-btn-mobile {
    display: none;
}

.website-card-screenshot:hover {
    cursor: pointer;
    opacity: 1;
}

.website-card-bottom {
    display: flex;
    flex-flow: row;
    align-items: start;
    justify-content: space-between;
    width: 100%;
}

.website-card-bottom a:hover {
    text-decoration: none;
}

.website-card-bottom h4 {
    color: #65085C;
}

.website-card-bottom h4:hover {
    cursor: pointer;
    opacity: .8;
}

.person-category {
    font-size: 1rem;
    color: #69696F;
}

@media only screen and (min-width: 1576px) {
    .hero {
        margin: 0 auto;
        width: 94rem;
        padding: 8rem 1rem 0 1rem;
    }
}

@media only screen and (max-width: 1576px) {
    .hero {
        padding: 8rem 2rem 0 2rem;
    }

    .hero-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media only screen and (max-width: 1102px) {
    .hero {
        padding: 8rem 2rem 0 2rem;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media only screen and (max-width: 770px) {
    .hero {
        padding: 7rem 1rem 0 1rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .website-card-container {
        gap: 0.5rem;
    }

    .person-category {
        font-size: 0.9rem;
    }

    .website-card-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }

    .website-card-container .hover-overlay {
        display: none;
    }

    .website-card-bottom button {
        font-size: 1rem;
        padding: 0.25rem 0.6rem;
    }

    .buttons-container {
        display: flex;
        flex-flow: row;
        gap: 1rem;
    }

    .details-btn-mobile {
        display: inline-flex;
    }

    .site-details-btn {
        display: inline-flex;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Site Feature */

.site-feature {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 2rem;
    padding: 8rem 1rem 0 1rem;
}

.site-feature-card-container {
    display: flex;
    flex-flow: column;
    gap: 1.2rem;
    max-width: 50rem;
    width: 100%;
}

.feature-header {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    padding: 0 0 1rem 0;
}

.header-top {
    display: flex;
    flex-flow: column;
    align-items: start;
    gap: 1rem;
    width: 100%;
}

.pfp {
    width: 4rem;
    border-radius: 10rem;
}

.header-text {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-top a:hover {
    cursor: pointer;
    text-decoration: none;
}

.screenshot-container {
    padding: 1rem 0 0 0;
}

.site-feature-card-screenshot {
    border-radius: .3rem;
    max-width: 100%;
    border: 1px solid #e0e0e0;
}

.category-container,
.platform-container,
.features-container,
.published-container,
.unique-id-container,
.link-container {
    display: flex;
    flex-flow: row;
    gap: 2rem;
    align-items: baseline;
}

.category-label,
.built-with-label,
.features-label,
.url-label,
.published-label,
.site-number-label {
    font-size: .8rem;
    color: #69696F;
    width: 6rem;
}

.categories-container,
.built-with-container,
.features-category-container,
.url-container,
.publish-date-container,
.site-number-container {
    display: flex;
    flex-flow: row;
    gap: .6rem;
}

.site-category,
.built-with-category,
.feature-category {
    font-size: 1rem;
    color: #69696F;
    border: 1px solid #69696F;
    padding: 2px 9px;
    border-radius: 1.5rem;
}

.url {
    font-size: 1rem;
}

.publish-date,
.site-number {
    font-size: 1rem;
    color: #69696F;
}

@media only screen and (max-width: 1024px) {
    .site-feature {
        padding: 8rem 2rem 0 2rem;
    }

    .site-feature-card-container {
        gap: 1.2rem;
    }
}

@media only screen and (max-width: 770px) {
    .site-feature {
        padding: 8rem 1rem 0 1rem;
    }

    .category-container,
    .platform-container,
    .features-container,
    .published-container,
    .unique-id-container,
    .link-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .category-label,
    .built-with-label,
    .features-label,
    .url-label,
    .published-label,
    .site-number-label {
        width: auto;
    }

    .categories-container,
    .built-with-container,
    .features-category-container {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 480px) {
    .site-feature {
        padding: 7rem 1rem 0 1rem;
    }

    .feature-header {
        gap: 1.5rem;
    }

    .header-top {
        gap: 0.8rem;
    }

    .pfp {
        width: 3.5rem;
    }

    .header-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .site-category,
    .built-with-category,
    .feature-category {
        font-size: 0.9rem;
        padding: 1px 8px;
    }

    .screenshot-container {
        padding: 0.5rem 0 0 0;
    }

    h4 {
        font-size: 1.1rem;
    }
}

/* About */

.about {
    display: flex;
    flex-flow: column;
    margin: 0 auto;
    gap: 2rem;
    max-width: 44rem;
    padding: 8rem 1rem 16rem 1rem;
}

.social-icons {
    display: flex;
    flex-flow: row;
    gap: 1.5rem;
}

#copy-icon {
    width: 1.4rem;
    padding: 0 0 0 .6rem;
}

#checkmark-icon {
    display: none;
    width: 1.4rem;
    padding: 0 0 0 .6rem;
}

.copy-to-clipboard {
    display: flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #69696F;
    border-radius: 5px;
    z-index: 5;

}

.copy-to-clipboard:hover {
    cursor: pointer;
    opacity: .8;
}

.social-icons a:hover {
    opacity: .8;
}

.about .email-subscribe {
    padding: 4rem 0 0 0;
}

@media only screen and (max-width: 800px) {
    .about {
        padding: 7rem 1rem 10rem 1rem;
    }
}

/* Footer */

footer {
    display: flex;
    position: relative;
    justify-content: space-between;
    justify-content: center;
    padding: 8rem 1rem 1.5rem 1rem;
}

footer p {
    font-size: 1rem;
    color: #69696F;
}