.padded-masthead {
    padding: 10em 0;
}

.above-the-fold {
    padding-top: 30px;
    background: none;
    /* fallback for old browsers */
    padding-bottom: 250px;
    position: relative;
    clip-path: polygon( 0 0, 100% 0, 100% calc(100% - 5vh), 0 100%);
    -webkit-clip-path: polygon( 0 0, 100% 0, 100% calc(100% - 5vh), 0 100%);
    z-index: 4;
}

.background-effect-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-effect-container #animation_bg {
    width: 100%;
    height: 100%;
}

#homepagehero_container {
    pointer-events: none;
}

.homepagehero_content p {
    color: #f5fffa !important;
    font-size: 1.5rem !important;
    line-height: 2.8rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.homepagehero_content p.subtitle-2 {
    font-size: 1.1rem !important;
}

.homepagehero_content h1.ui.header {
    font-size: 4.2rem !important;
    margin-bottom: 30px;
    text-shadow: -2px 2px 5px rgba(0, 0, 0, 0.4);
    color: #f2fff9;
    font-weight: 900;
    letter-spacing: 2px;
    font-family: "Inter", sans-serif !important;
}

.home_search .ui.input input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}


/* Sign up section */

.home-signup {
    margin: 40px 0 5px;
    position: relative;
}

.home-signup .ui.button {
    pointer-events: auto;
    font-weight: normal;
}

.home-signup .alternative-options {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.home-signup .ui.button .icon {
    opacity: 1;
}

.home-signup h3,
.home-signup .segment {
    margin-top: 0 !important;
}

.home-signup .segment,
.home-signup .ui.form input {
    padding: 0.4em 1em;
}

.home-signup #github-login-button {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 270px;
    margin-bottom: 5px;
    border-radius: var(--roundness);
    box-shadow: -2px 2px 4px 0 rgba(34, 36, 38, .5);
    -webkit-box-shadow: -2px 2px 4px 0 rgba(34, 36, 38, .5);
    -moz-box-shadow: -2px 2px 4px 0 rgba(34, 36, 38, .5);
}

.home-signup #email-signup-button {
    background-color: #b500b3;
}

.touch-to-scroll {
    margin-top: 2rem;
    display: none;
}

.touch-to-scroll .ui.button {
    pointer-events: auto;
    font-weight: normal;
}


/* End Sign up section*/


/* Featured repos section */

.ui.header.featured_header {
    opacity: 0.8;
    font-size: 1.4rem;
}

#featured-repos .card {
    opacity: 0.9;
    font-size: 1em;
    color: var(--text-color-dark);
    border-top: 2px solid #b500b3!important;
    border-radius: var(--roundness);
    background-color: rgba(29, 29, 29, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    -webkit-box-shadow: 0 1px 2px 0 rgba(100, 100, 100, .25);
    -moz-box-shadow: 0 1px 2px 0 rgba(100, 100, 100, .25);
    box-shadow: 0 1px 2px 0 rgba(100, 100, 100, .25);
    -webkit-transition: -webkit-box-shadow .25s ease, -webkit-transform .25s ease;
    transition: box-shadow .25s ease, transform .25s ease, -webkit-box-shadow .25s ease, -webkit-transform .25s ease;
}

#featured-repos .card:hover {
    transform: translateY(-3px);
    -webkit-box-shadow: 0 0 0 1px rgba(100, 100, 100, .25), 0 2px 4px 0 rgba(34, 36, 38, .15), 0 2px 10px 0 rgba(34, 36, 38, .25);
    box-shadow: 0 0 0 1px rgba(100, 100, 100, .25), 0 2px 4px 0 rgba(34, 36, 38, .15), 0 2px 10px 0 rgba(34, 36, 38, .25);
}

#featured-repos .card.two {
    margin-left: -25px;
}

#featured-repos .card.three {
    margin-left: -50px;
}

#featured-repos .breadcrumb {
    display: flex;
    align-items: baseline;
    color: lightskyblue;
}

#featured-repos .breadcrumb .divider {
    color: var(--text-color-dark-faded);
}

.featured_repo_desc {
    color: var(--text-color-dark) !important;
    padding-top: 0.6rem;
    font-size: 1.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

.featured_user_name {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.featured_image {
    border: 1px solid rgba(122, 176, 229, 0.5);
}

.featured_icon {
    padding: 0 7px;
    opacity: 0.7;
}

.featured_project_name {
    font-size: 1.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* End featured repo section */


/* Media Queries */

@media (hover: none),
only screen and (max-width: 950px) {
    .touch-to-scroll {
        display: block;
        z-index: 5;
    }
}

@media only screen and (max-width: 767px) {
    .above-the-fold {
        padding-bottom: 125px;
    }
    #featured-repos {
        display: none;
    }
    .homepagehero_content {
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
    .padded-masthead {
        padding: 3em 0em;
    }
}

@media only screen and (max-width: 600px) {
    .homepagehero_content h1.ui.header {
        font-size: 1.9rem !important;
        margin: 3rem 0 1rem;
        font-weight: 800;
    }
    .homepagehero_content p.homepage_copy {
        font-size: 1.1rem !important;
        line-height: 1.7rem;
        font-weight: 400;
        letter-spacing: 3px;
    }
    .homepagehero_content p.subtitle-2 {
        font-size: 0.8rem !important;
    }
}

@media only screen and (min-width: 601px) and (max-width: 767px) {
    .homepagehero_content h1.ui.header {
        font-size: 3.3rem !important;
    }
    .homepagehero_content p {
        font-size: 1.4rem !important;
    }
    .homepagehero_content p.subtitle-2 {
        font-size: 1.3rem !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 970px) {
    .homepagehero_content p {
        font-size: 1.4rem !important;
    }
    .homepagehero_content p.subtitle-2 {
        font-size: 1.3rem !important;
    }
}

@media only screen and (min-width: 971px) and (max-width: 1200px) {
    .homepagehero_content p {
        font-size: 1.4rem !important;
    }
    .homepagehero_content p.subtitle-2 {
        font-size: 1.3rem !important;
    }
}