:root{
    --home-page-title-font-size: clamp(50px, 5vw, 80px);
    --home-page-subtitle-font-size: clamp(18px, 5vw, 24px);
    --home-page-section-title-font-size: clamp(14px, 5vw, 20px);
    
    --home-page-content-width: clamp(200px, 90vw, 1000px);
    --home-page-links-width: clamp(200px, 90vw, 400px);
    --sample-blog-title-font-size: clamp(14px, 5vw, 20px);
    --section-title-font-size: clamp(24px, 5vw, 36px);
}
main{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
div.section{
    width: var(--home-page-content-width);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
div.headers{
    margin-top: var(--top-margin);
    margin-bottom: 20px;
    flex-direction: column;
}
h1.title{
    position: relative;
    font-family: var(--font-lobster), sans-serif;
    font-size: var(--home-page-title-font-size);
    background: linear-gradient(60deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
p.subtitle{
    font-size: var(--home-page-subtitle-font-size);
    background: linear-gradient(60deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 20px;
}
span.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--secondary-color);
    margin-left: 2px;
}
@keyframes blink {
    50% { opacity: 0; }
}

div.links{
    gap: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border: 1px solid #a0519580;
    border-radius: 50px;
    background-color: #a0519550;
    width: var(--home-page-links-width);
}
div.icons-container{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-left: 20px;
}
div.icons-container i{
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
}
div.links button{
    cursor: pointer;
    border-radius: 24px;
    width: 150px;
    font-family: var(--font-boldonse), sans-serif;
    font-size: 10px;
    background: linear-gradient(60deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-light);
    height: 39px;
    border: none;
}
div.fake-window{
    width: var(--home-page-content-width);
    margin-top: 140px;
    font-size: var(--home-page-section-title-font-size);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: all 1s ease-in-out;
    height: 666px;
    background: linear-gradient(150deg, var(--primary-color), var(--secondary-color), var(--flamingo-pink));
    border-radius: 10px;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.4);
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
div.fake-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: calc(var(--home-page-content-width) - 30px);
    gap: 20px;
    transition: all 1s ease-in-out;
}
div.fake-close-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 5px;
}
div.fake-close-btn div{
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
div.fake-close-btn div:nth-child(1){
    background-color: #ff5e57;
}
div.fake-close-btn div:nth-child(2){
    background-color: #febc2e;
}
div.fake-close-btn div:nth-child(3){
    background-color: #28c840;
}
p.fake-url{
    font-family: var(--font-roboto), sans-serif;
    font-size: 14px;
    padding: 4px;
    background-color: #22222250;
    border-radius: 5px;
    border: none;
    color: var(--text-color-dark);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
i.bi-box-arrow-up{
    cursor: pointer;
    color: #222222aa;
}
p.sample-blog-title{
    font-family: var(--font-boldonse), sans-serif;
    color: var(--text-color-light);
    margin-top: 60px;
    font-size: var(--sample-blog-title-font-size);
    font-weight: bold;
    text-align: center;
}
p.sample-blog-subtitle{
    color: #22222280;
    text-align: center;
}
div.sample-blog-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 80%;
    height: 100%;
    position: relative;
}
div.text-bar{
    height: 20px;
    background-color: #22222250;
    border-radius: 4px;
}
div.text-bar-container{
    display: flex;
    flex-direction: row;
    gap: 4px;
    width: 100%;
}
div.blog-container{
    margin-top: 50px;
    flex-direction: column;
    transition: all 1s ease-in-out;
    opacity: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    width: var(--home-page-content-width);
    gap: 15px;
    color: var(--text-color-dark);
    font-family: var(--font-roboto), sans-serif;
}
p.new-post-indicator{
    color: var(--light-green);
    border: 1px solid var(--light-green);
    position: absolute;
    left: 15px;
    top: 15px;
    font-weight: bold;
    padding: 2px 10px;
    background-color: var(--theme-color);
    border-radius: 5px;
}
div.blog-preview{
    min-width: 250px;
    position: relative;
    cursor: pointer;
    padding: 5px;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
    border: 2px dashed transparent;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    transition: 0.2s all ease-in-out;
    background-color: var(--bg-color);
    align-items: stretch;
    height: 100%;
}
div.blog-preview:hover{
    border: 2px dashed var(--secondary-color);
}
div.blog-preview img{
    aspect-ratio: 3 / 2;
    border-radius: 5px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 8px;
}
p.blog-preview-title{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 2px;
    color: var(--text-color-dark)
}
p.blog-preview-subtitle{
    font-size: 16px;
    color: var(--dim-gray);
}
p.blog-preview-posted-date{
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 12px;
    color: var(--dim-gray);
    font-weight: bold;
}
div.blog-preview-hashtags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
p.hashtag{
    border: 1px solid #22222200;
    border-radius: 5px;
    color: var(--secondary-color);
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
}
div.final{
    display: flex;
    flex-direction: column;
    background-color: #d4508720;
    width: 100%;
    border-radius: 30px 30px 0 0;
    transform: translateY(110px);
    padding: 100px 0 0 0;
}
div.essentials-container{
    width: clamp(200px, 90vw, 600px);
    display: flex;
    flex-direction: column;
    gap: 30px;
}
div.essentials-container div{
    position: relative;
    cursor: pointer;
    padding-right: 25px;
}
div.essentials-container div:hover{
    i.bi-chevron-right{
        right: -10px;
    }
}
p.essential-title{
    font-weight: bold;
    font-size: 24px;
    color: var(--text-color-dark);
}
p.essential-description{
    font-size: 16px;
    color: var(--dim-gray);
}
i.bi-chevron-right{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    font-size: 24px;
    transition: 0.2s all ease-in-out;
    color: var(--dim-gray);
}
p.final-words{
    margin-top: 150px;
    margin-bottom: 150px;
    font-family: var(--font-caveat), sans-serif;
    font-size: clamp(24px, 5vw, 36px);
    text-align: center;
    width: clamp(200px, 90vw, 600px);
}

#star-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* So it doesn't block clicks */
    z-index: 0;
}
div.star {
    position: absolute;
    background-color: var(--text-color-light);
    border-radius: 50%;
    animation: twinkle 4s infinite ease-in-out;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
@keyframes twinkle {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}
div.share-window {
    position: absolute;
    background: linear-gradient(150deg, var(--primary-color), var(--secondary-color), var(--flamingo-pink));
    border-radius: 10px;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    z-index: 9998;
    display: none;
    top: -60px;
    right: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
div.share-window i{
    color: var(--text-color-light);
}
i.bi-clipboard-fill{
    cursor: pointer;
    margin-left: 10px;
}
i.bi-clipboard-check-fill{
    cursor: pointer;
    margin-left: 10px;
}






