* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background: #EDEFF0;
}

#navbar {
    background-color: #3E474F;  
    position: fixed;
    top: 0px;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    max-width: 1260px;
    margin: 0 auto;
    height: 70px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    font-size: 19px;
}

ul {
    display: flex;
    /* margin: 0 auto;
    max-width: 50%; */
}



nav ul li {
    display: flex;
    padding: 1rem;
    align-items: center;
    color: #ADB6B9;
    cursor: pointer;
    transition: 0.3s ease;
}

nav ul li:hover a {
    color: white;
    transition: 0.3s ease;
}

#first-li {
    border-right: 2px solid #525A61;
}

nav ul li a {
    color: #ADB6B9;
    text-decoration: none;
    transition: 0.3s ease;
}

#tree {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    color: #5FCF80;

}

#second-nav {
    position: relative;
}


#tree-second {
    display: flex;
    align-items: center;
    color: #5FCF80;
    position: absolute;
    left: 50%;
    top: 50%;
}


#bars {
    color: #6A787C;
    margin-right: 0.5em;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
}

#bars-two {
    color: #6A787C;
}

#bars:hover {
    color: #879599;
}

#tree:hover{
    color: #70de91; 
}

#tree-second:hover {
    color: #70de91; 
}

#last-a {
    color: #5FCF80;
}

#last-li:hover #last-a {
    color: white;
}

#second-nav .ul-three {
    position: absolute;
    right: 0;
    top: 12%;   
}



.ham-text-container {
    display: block;
}

.ham-text {
  color: white;
  display: flex;
  justify-content: center;
  /* text-align: center; */
}

.ham-wrap {
    margin-top: 3em;
}

#bars-two {
    float: right;
    cursor: pointer;
}

#bars-two:hover {
    color: #879599;
}

/* WELCOME  */

#welcome {
    font-family: 'Source Sans Pro', sans-serif;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 20px;
}

.welcome-text {
    margin-top: 5em;
    background-color: white;
    padding: 1.5em 2em;

    border-radius: 4px;
}

.welcome-text h1 {
    font-size: 28px;
}

.welcome-text p {
    font-size: 16px;
    margin-top: 1em;
    color: #738788;
}

.welcome-text h2 {
    margin-top: 1em;
}

/* MAIN  */

#main {
    font-family: 'Lexend Deca', sans-serif;
}

.metas {
    display: flex;
    justify-content: space-between;
    border-top: 4px solid #3659A2;
    background-color: #F9FAFA;
    overflow: hidden;
    position: relative;
    z-index: -1;
    /* white-space: nowrap; */
    padding: 0.5em 0.75em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.metas ul {
    list-style: none;
}

.metas ul li {
    display: flex;
    align-items: center;
    padding: 0.5em;
    white-space: nowrap;
}

.metas ul li a {
    text-decoration: none;
}

#meta-list {
    color: #576366;
    font-size: 14px;
    font-weight: bolder;
    transition: 0s;
}

#meta-list:after {
    content: ">";
    color: #c5cbcc;
    margin-left: 1rem;
}

#meta-list:hover {
    color: #2b3031;
}

.button-wrap {
    display: flex;
    align-items: center;
}

.button-wrap::before {
    background-image: -webkit-linear-gradient(left, rgba(249,250,250,0), #f9fafa 40%, #f9fafa);;
    background-image: linear-gradient(to right, rgba(249,250,250,0), #f9fafa 40%, #f9fafa);
    width: 250px;
    top: 0;
    right: 0;
    bottom: 0;
    content: "";
    position: absolute;
}

/* IMPORTANT ^^^ */

#watch-btn {
    padding: 0.75em 1em;
    font-size: 15px;
    background-color: #3659A2;
    color: white;
    border-radius: 4px;
    border: 0;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: bold;
    margin-right: 1em;
    overflow: hidden;
    transition: 0.3s ease;
    cursor: pointer;
    position: absolute;
    top: 0.25em;
    right: 0;
}



/* .inline-text::after {
    background-image: -webkit-linear-gradient(left, rgba(249,250,250,0), #f9fafa 40%, #f9fafa);;
    background-image: linear-gradient(to right, rgba(249,250,250,0), #f9fafa 40%, #f9fafa);
    width: 40px;
    top: 0;
    right: 0;
    bottom: 0;
    content: "";
    position: absolute;
} */


#watch-btn:hover {
    background-color: #0f2555;
}

#play-icon {
    margin-right: 0.5em;
}

.main-article {
    background-color: white;
    padding: 3em 3em 1em;
    margin-bottom: 2.5em;
}

.article-container {
    max-width: 850px;
    margin-left: 65px;
}

.op-title {
    display: flex;
}

.user-pfp {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1rem;
    border: 3px solid rgb(212,217,221);
    padding: 0.1em;
    cursor: pointer;
    transition: 0.3s ease;
}

.user-pfp:hover {
    border: 3px solid #3659A2;
}

.date {
    font-size: 13px;
    color: #40484a;
}

.title {
    font-size: 26px;
    color: #3E4047;
}

.first-text {
    font-size: 14px;
    color: #576366;
}

#first-main-text {
    margin-top: 2em;
}

pre {
    background-color: #2D3339;
    color: white;
    border-radius: 4px;
    margin-top: 1em;
    overflow: scroll;
}

code {
    line-height: 1.5;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
}

.main-text {
    font-size: 14px;
    color: #576366;
    margin-top: 1em;
}

.answers {
    color: #576366;
    font-size: 18px;
    margin-top: 3em;
}

/* FOOTER  */

#footer {
    background-color: #F6F9FA;
    padding: 3rem 2rem 1rem 2rem;
    /* justify-content: center; */
    /* margin: 0 auto; */
    position: relative;
    font-family: 'Source Sans Pro', sans-serif;
}

.footer-wrap {
    display: flex;
    /* max-width: 12000px;  
    width: 100%; */
    margin: 0 auto;
    justify-content: center;
}

.gotcha:before {
    content:'';
    position:absolute;
    width:100%;
    height:3px;
    background:linear-gradient(        90deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(255, 154, 0, 1) 10%,
    rgba(208, 222, 33, 1) 20%,
    rgba(79, 220, 74, 1) 30%,
    rgba(63, 218, 216, 1) 40%,
    rgba(47, 201, 226, 1) 50%,
    rgba(28, 127, 238, 1) 60%,
    rgba(95, 21, 242, 1) 70%,
    rgba(186, 12, 248, 1) 80%,
    rgba(251, 7, 217, 1) 90%,
    rgba(255, 0, 0, 1) 100%);
    top:-3px;
    left:0;
}

.gotcha {
    color: #3e474f;
    font-size: 18px;
    padding: 1em 1rem;
    text-decoration: underline;
}

#footer h4 {
    font-size: 20px;
    padding: 1em 0;
}

#footer li {
    list-style: none;
    padding: 0.5em 0;
    font-size: 16px;
}


#footer li a {
    text-decoration: none;
    color: #3e474f;
}

#footer li a:hover {
    text-decoration: underline;
}

.footer-ul-right {
    display: block;
    padding-left: 2em;
}

.footer-middle {
    border-left: 2px solid #0098B1;
    border-right: 2px solid #0098B1;
    padding: 0 2rem 1rem 2rem;
}

.footer-ul-left {
    display: block;
    padding-right: 2em;
}

.footer-catalogue {
    display: flex;
}

.footer-saul {
    padding: 0 2rem;
}

.footer-walt {
    padding: 0 2rem;
}

.footer-kim {
    padding: 0 2rem;
}

footer {
    display: flex;
    justify-content: center;
    background-color: #F6F9FA;
    margin: 0 auto;
    text-align: center;
}

.icon-wrap {
    margin: 0 auto;
}

.tail-ul {
    margin-top: 1em;
}

.tail-li {
    list-style: none;
    padding-right: 1em;
}

.tail-a {
    color: #4B5658;
}

.tail-p {
    font-size: 14px;
    color: #3e474f;
    margin: 1.5em 0;
}

.text-span {
    padding: 0 1rem;
    color: #0098b1;
}

/* HAMBURGER  */

.ham-nav {
    background-color: #3E474F;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    transition: 1s ease;
}


#first-nav-ham {
    margin-left: 4em;
}

.ul-ham {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    margin-top: 2em;
}

#first-li-ham {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#tree-ham {
    margin-bottom: 0.75em;
    color: #5FCF80; 
}

#tree-ham:hover {
    color: #70de91;
}

#first-nav-ham .ul-ham li {
    font-size: 19px;
}

#second-li-ham {
    position: relative;
}

#second-li-ham::after {
    content: "";
    height: 2px;
    left: -8em;
    bottom: 0;
    background: #4C545B;
    width: 100%;
    position: absolute;
    padding: 0 8em;
}

.ul-ham-one {
    display: flex;
    align-items: center;
    float: right;
    margin-top: 1.5em;
    margin-right: 0.75em;
}

.ul-ham-one li {
    list-style: none;
}

#last-a-free {
    margin-right: 0.75em;
    color: #5FCF80;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}

/* MEDIA QUERY */

@media only screen and (max-width: 1000px) {
    nav {
        font-size: 17px;
    }
}

@media only screen and (max-width: 930px) {
    .ul-three {
        display: flex;
    }
}

@media only screen and (max-width: 720px) {
    .op-title {
        display: block;
    }
    .article-container {
        max-width: 850px;
        margin-left: 0;
    }
    .main-article {
        padding: 1.5em 1.5em 1em
    }
}

@media only screen and (max-width: 850px) {
    #watch-btn {
        font-size: 14px;
        white-space: nowrap;
    }
    #play-icon {
        display: none;
    }
}

@media only screen and (max-width: 690px) {
    .footer-wrap {
        display: block;
    }
    .footer-ul-right {
        padding-left: 0;
    }
    .footer-middle {
        border-right: 0;
        border-left: 0;
        border-top: 2px solid #0098B1;
        border-bottom: 2px solid #0098B1;
        padding: 0 0 1em 0;
    }
    #footer h4 {
        padding: 0.5em 0;
    }
    .footer-saul {
        padding-left: 0;
    }
    .footer-li-last {
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 380px) {
    .footer-catalogue {
        display: block;
    }
    .footer-walt {
        padding-left: 0;
        margin-top: 1em;
    }
    .footer-kim {
        padding-left: 0;
        margin-top: 1em;
    }
}

.hide {
    display: none;
    transform: translateX(0);
    transition: 1s ease;
}

.show {
    transform: translateX(1);
    transition: 1s ease;
}
