@font-face {
    font-family: OpenSans;
    src: url('../assets/fonts/open-sans/OpenSans-Regular.ttf');
}

@font-face {
    font-family: OpenSansBold;
    src: url('../assets/fonts/open-sans/OpenSans-Semibold.ttf');
}

*{margin: 0px;}

p,a{
    font-family: OpenSans;
}

h1,h2,h3,button{
    font-family: OpenSansBold;
}

h1,h3{
    color: rgb(44, 76, 112);
}

p{
    color: black
}

/* Up-Bar */
nav{
    background: linear-gradient(rgba(24, 24, 24, 0.589)02%,transparent);
    position: fixed;
    top:0;
    left:0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
}

nav figure img{
    width: 60px;
    height: 50px;
}

nav figure{
    margin: 15px 50px 10px;
}

.upSocialMedia{
    display: flex;
    align-items: start;
    justify-content: space-around;
}

.upSocialMedia i{
    color: rgb(228, 228, 228)
}

.upSocialMedia i:hover{
    transform: translateY(-5px);
    color: rgb(173, 170, 170);
    transition: 0.5s;
}

.bottomSocialMedia{
    margin-top: 20px;
    margin-bottom: 10px;
}

.bottomSocialMedia i{
    color: rgb(173, 170, 170)
}

.bottomSocialMedia i:hover{
    transform: translateY(-5px);
    color: rgb(44, 76, 112);
    transition: 0.5s;
}

.socialLink{
    text-decoration: none;
    margin-right: 40px;
    margin-top: 20px;
}
/* Up-Bar */
/* Header Blog */
header{
    /* The image used */
    background-image: url("../assets/jayfonseca-cover-image2.jpeg");

    /* Set a specific height */
    min-height: 600px; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}
.fas{
    line-height: 0;
}

#down-btn{
    color: rgb(173, 170, 170);
    position: relative;

    left: 44.1em;
    width: 50px;
    bottom: -19em;
}
#spacer{
    background-color:transparent;
    height: 12px;
}
#down-btn:hover{
    cursor: pointer;
}

#down-btn i{
    animation: down 1s 2s ease-in-out infinite;
}

#up-btn{
    display: none;
    color: rgb(173, 170, 170);
    position: fixed;

    z-index: 10;
    right: 40px;
    bottom: 40px;
}

#newsletter{
    position: relative;
    top: 12em;
    margin-left: 10rem;
    max-width: 510px;
    height: 200px;
    background-color: rgb(228, 228, 228);
    border-radius: 5px;
    padding: 15px;
    text-align: center;
}
#newsletter div:first-child{
    background-color: rgb(44, 76, 112);
    color: white;
    padding: 10px;
    margin: -15px -15.5px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
#newsletter p,input{
    margin: auto;
}

#newsletter input{
    border-radius: 25px;
    padding: 5px 15px 5px;
    background-color: rgb(199, 199, 199);
    font-size: 12pt;
    border: none;
    width: 60%;
}

#newsletter input:hover{
    transition: 0.5s;
    background-color: rgb(179, 179, 179);
}

#newsletter input:focus{
    transition: 0.2s;
    background-color: rgb(212, 212, 212);
    border: 2px solid rgb(44, 76, 112)
}

#newsletter a{
    background-color: rgb(5, 206, 5);
    color: white;
    padding: 10px 10px;
    border-radius: 2px;
    font-weight: 700;
    text-decoration: none;
}

#newsletter a:hover{
    background-color: rgb(47, 223, 47);
    transition: 0.2s;
}

#newsletter a:active{
    background-color: rgb(45, 163, 45);
    transition: 0.2s;
}

#newsletter input,a,p{
    margin-top: 8px;
    margin-bottom: 5px;
}
/* Header Blog */
/* PodCast Blog*/

#podcast{
    margin-top: 40px;
    width: 80%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.pod--card a{
    position: relative;
    bottom: 3em;
    right: -14em;

    border:none;
    padding: 10px;
    border-radius: 5px;
    background-color: rgb(44, 76, 112);
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.pod--card a:hover{
    background-color: rgb(63, 105, 153);
    transition: 0.2s;
}

.pod--card a:active{
    background-color: rgb(46, 76, 110);
}

.pod--card img{
    max-width: 350px;
    height: 200px;
    border-radius: 5px;
}

.pod--card{
    max-width: 300px;
    min-height: 200px;
}
/* PodCast Blog*/
/* Footer Blog */
footer{
    text-align: center;
    height: 250px;

    display: flex;
    justify-content: center;
    align-items: center;
}
footer div{
    max-width: 80%;
}
/* Footer Blog */
.ears--wrapper{
    position: relative;
    background-color: rgb(224, 222, 222);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.ears--wrapper > div{
    margin-top: 40px;
}
.ears--wrapper::before{
    content: "";
    position: absolute;
    width: 0;
    border-left: 45em solid rgb(224,222,222);
    border-right: 45.2em solid rgb(224,222,222);
    border-bottom: 0px solid transparent;
    border-top: 90px solid transparent;
    bottom: 100%;
}

@keyframes down{
    0%{
        transform: translateY(0px)
    }
    50%{
        color: rgb(247, 247, 247);
        transform: translateY(20px)
    }
    100%{
        color: rgb(173, 170, 170);
        transform: translateY(0px)
    }
}

@media screen and (max-width: 778px){
    nav figure img{
        width: 40px;
        height: 30px;
    }

    #newsletter{
        margin-left: 12rem;
        max-width: 400px;
    }

    #newsletter input{
        padding: 10px 15px 10px;
        width: 80%;
    }

    .ears--wrapper::before{
        border-left: 25.95rem solid rgb(224,222,222);
        border-right: 25.95rem solid rgb(224,222,222);
    }

    header{
        min-height: 740px; 
    }

    #down-btn{
        visibility: hidden;
        left: 11rem;
        width: 50px;
        bottom: -24rem;
    }

    .pod--card{
        max-width: 350px;
        min-height: 250px;
    }
}

@media screen and (max-width: 414px){
    #newsletter{
        margin-left: 2.5rem;
        max-width: 300px;
    }

    .ears--wrapper::before{
        border-left: 13.85rem solid rgb(224,222,222);
        border-right: 13.85rem solid rgb(224,222,222);
    }

    header{
        min-height: 650px; 
    }

    #down-btn{
        display: block;
        left: 2rem;
        width: 50px;
        bottom: -24rem;
    }
}

@media screen and (max-width: 375px){
    #newsletter{
        margin-left: 1.5rem;
        max-width: 300px;
    }

    .ears--wrapper::before{
        border-left: 12.55rem solid rgb(224,222,222);
        border-right: 12.55rem solid rgb(224,222,222);
    }

    .ears--wrapper > div{
        text-align: center;
        max-width: 300px;
    }
}

@media screen and (max-width: 360px){
    #newsletter{
        margin-left: 1rem;
        max-width: 300px;
    }

    .ears--wrapper::before{
        border-left: 12rem solid rgb(224,222,222);
        border-right: 12rem solid rgb(224,222,222);
    }
}