
*{
    border-width: 1px;
    font-family: 'Montserrat', sans-serif;
    color: #252525;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-bottom: 1em;
}

header,
main, 
footer{
    max-width: 700px;
    margin: auto;
    /* display: flex; */
    margin-top: 20px;
}

main{
    margin-top: 80px;
}

.content{
    position:relative;
    min-height: 100vh;
}

/* Landing Page */

.index-content{
    text-align: center;
    margin: auto;
    height: 100vh;
    position: relative;
}

.index-picture img{
    border-radius: 50%;
    width: 200px;
    border: 3px solid #1B77F2;
    margin-bottom: 15px;
}

.name{
    font-size: 30px;
    line-height: 1.5;
    font-weight: bold;
}

.intro a{
    font-family: 'Montserrat', sans-serif;
}

.intro a:hover{
    color: #1B77F2;
}



.index-socials{
    margin-top: 25px;
}
.index-socials img{
    margin: 0 10px 0 10px;
    height: 30px;
}

.index-content p{
    font-size: 20px;
    text-align:center;
    line-height: 1.5;
}

.post-items h2{
    font-size: 22px;
}

.post-items h2 a{
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.post-items h2 a:hover{
    color: #5C79FF;
}

.post-items span{
    font-weight: 500;
    font-size: 18px;
    color: grey;
}

.post-items p{
    font-size: 16px;
    hyphens: auto;
    text-align: justify;
    line-height: 1.5;
}

.post-items{
    margin-bottom: 40px;
}

.posts-list .thoughts{
    margin-bottom: 40px;
}

.posts-list{
    min-height: 80vh;
    position: relative;
}

/* HEADER POSTS */

header{
    text-align: center;
    margin-bottom: 60px;
}

header a{
    margin: 0 10px 0 10px;
}

header img{
    height: 30px;
}

/* POSTS */

.post h1, h2, h3, h4{
    margin-top: 2em;
    margin-bottom: 0;
    line-height: 1.6;
}

.post_layout{
    max-width: 600px;
    margin: auto;
    min-height: 85vh;
}

.post_layout h1{
    font-size: 22px;
}

.post_layout h3 a{
    font-family: 'Montserrat', sans-serif;
}

.post_date p{
    color: grey;
}

.post p, a, strong, ul, li, em{
    hyphens: auto;
    text-align: justify;
    font-family: 'Lora', serif;
    line-height: 1.5;
}

.post a {
    color: #1B77F2;
}

.post a:hover {
    color: #383838;
    background-color: #d5e7ff;
}


.grey-background {
    background-color: rgba(211, 211, 211, 0.288);
    hyphens: auto;
    text-align: justify;
    font-family: 'Lora', serif;
    line-height: 1.5;
    padding: 0.3em 1em 0.3em 1em;
    border-radius: 10px;
}

.pseudocode {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.5;
    padding: 1em 1em 1em 1em;
    border: blue;
    border-width: 1px;
    border-radius: 10px;
    border-style: solid;
}

.pseudocode ul, li, ol{
    font-family: 'Courier New', Courier, monospace;
}

.post img[alt=recruiting-funnel] {
    display: block;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.post img {
    width: 100%;
}

/* .post img:hover {
    width: 150%;
} */




/* PUBLIC SPEAKING POST */
.post .image-container{
    position: relative;
    width: 100%
}

.post .bitcoin-image .sapiens-image .happiness-image{
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.post .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.post .image-container:hover .bitcoin-image{
    opacity: 0.3;
}

.post .image-container:hover .sapiens-image{
    opacity: 0.3;
}

.post .image-container:hover .happiness-image{
    opacity: 0.3;
}

.post .image-container:hover .middle {
    opacity: 1;
}

.post .text a {
    background-color: #1B77F2;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
    font-family: 'Montserrat', sans-serif;
}



/* FOOTER */

footer {
    margin-top: 100px;
    text-align: center;
    align-content: center;
}

footer p {
    color: grey;
}

footer a{
    font-family: 'Montserrat', sans-serif;
    color: grey;
}

footer a:hover{
    color: #1B77F2;
}


/* ARROW */
.section::before {
    animation: bounce 2s ease infinite;
    bottom: 15%;
    color:black;
    content: '╲╱';
    font-size: 1.5rem;
    height: 4rem;
    left: 50%;
    letter-spacing: -1px;
    line-height: 4rem;
    margin-left: -3rem;
    opacity: 0.8;
    position: absolute;
    text-align: center;
    width: 6rem;
  }
  
  @keyframes bounce {
    50% {
      transform: translateY(-25%);
    }
}
  



@media only screen and (min-height: 950px) {
    .profile{
        padding-top: 10rem;
    }
}


@media only screen and (max-width: 275px) {
    
    main {
        width: 90%;
    }

    .name {
        font-size: 24px;
    }

    .index-content p {
        font-size: 16px;
    }

    .post-items h2{
        font-size: 20px;
    }
    
    .post_layout{
        width: 90%;
    }
}


@media only screen and (min-width: 275px) {
    main {
        width: 90%;
    }

    .name {
        font-size: 24px;
    }

    .index-content p {
        font-size: 16px;
    }

    .post-items h2{
        font-size: 20px;
    }
    
    .post_layout{
        width: 90%;
    }

}

@media only screen and (min-width: 414px) {
    main {
        width: 90%;
    }

    .name {
        font-size: 30px;
    }

    .index-content p {
        font-size: 16px;
    }

    .post-items h2{
        font-size: 20px;
    }
    
    .post_layout{
        width: 90%;
    }

}

@media only screen and (min-width: 768px) {
    .index-content p{
        font-size: 20px;
    }

    .post-items h2 {
        font-size: 22px;
    }
}



  
  