@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700&display=swap');

:root{
    --fs-xl: clamp(3.38rem, calc(-2.42rem + 12.06vw), 6.63rem);
    --fs-l: clamp(0.69rem, calc(-0.54rem + 2.55vw), 1.38rem);
    --fs-m: clamp(0.75rem, calc(0.08rem + 1.39vw), 1.13rem);
    --fs-s: clamp(0.75rem, calc(0.53rem + 0.46vw), 0.88rem);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    /* background: rgb(0, 0, 0);   */
}

.navbar{
    top: 0;
    padding-top: 3rem;
    position: fixed;
    display: flex;
    width: 100%;
    justify-content: space-around;
    z-index: +100;
    color: white;
    font-size: var(--fs-m); 

    background: white;  

    animation: fade-in 1s;
}

.navbar a{
    text-decoration: none;
    color: grey;
    opacity: 1;
}

/* HOVER EFFECT */
.navbar a:hover{
    opacity: .8;
}

/* ARTICLE */

.article-text{
    position: relative;
    top: 6rem;
    padding: 2rem;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;

    animation: fade-in 2.5s;
}

.article-text h1{
    font-size: var(--fs-l);
    font-weight: 600;
    line-height: 5em;
    
    animation: fade-in 2s ;
}

.article-text h2{
    font-size: var(--fs-m);
    font-weight: 600;
    line-height: 5em;
    align-self: flex-start;
    padding-left: var(--fs-xl);
    padding-right: var(--fs-xl);
    
    animation: fade-in 2s ;
}


.article-text p{
    margin-bottom: 2rem;
    font-size: var(--fs-m);
    font-weight: 200;
    line-height: 2em;
    padding-left: var(--fs-xl);
    padding-right: var(--fs-xl);

    animation: fade-in 3.5s;
}

.article-text ol{
    font-size: var(--fs-m);
    font-weight: 200;
    line-height: 2em;
    padding-left: var(--fs-xl);
    padding-right: var(--fs-xl);

    animation: fade-in 3.5s;
}

.article-text a{
    text-decoration: none;
    color: palevioletred;
    opacity: 1;

    animation: fade-in 3.5s;
}

.article-image {
    width: 100%;
    max-width: 18.75rem;
    margin-bottom: 2em;
    position: relative;
}
.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image-caption {
    font-size: var(--fs-s);
    margin-top: 2rem;
    text-align: center;
    color: grey;
}

/* HOVER EFFECT */
.article-text a:hover{
    opacity: .8;
}

/* FADE IN ANIMATION */

@keyframes fade-in{
    0%{opacity: 0;}
    50%{opacity: 0;}
    100%{opacity: 1;}
}

.whitespace {
	width: 100%;
	height: 150px;
}

/* ARTICLE-THUMBNAIL */

.article-thumb {
    margin: 8rem;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 6rem;
    margin-top: 1rem;
    justify-items: center;

    animation: fade-in 2s;
}

.article-thumb a {
    text-decoration: none;
}

.article-card {
    width: 100%;
    max-width: 18.75rem;
    position: relative;
}
.article-card img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    font-size: var(--fs-s);
    margin-top: 2rem;
    text-align: center;
    color: grey;
}


