:root {
    --primary-color: #E14D2A; 
    --secondary-color: #FD841F;
    --light-color: #b9c8d8;
    --dark-color-1: #1c344d;
    --dark-color: #001253;

    --category-sports: rgb(16, 236, 101);
    --category-news: #db230f;
    --category-science: #100550fd;
    --category-tech: #1102e2;
    --category-ent: #c78800;

    --max-width: 1100px;
}

.category {
    --sports-color: #f99500;
    --ent-color: #a66bbe;
    --tech-color: #009cff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: 'Raleway', sans-serif;*/
    font-family: 'Newsreader', serif;    
    line-height: 1.5;
    background: var(--light-color);
}

a {
    color: #333;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    width: 100%; /* 100% of its container, otherwise it goes outside the container */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'News Cycle', sans-serif;
    margin-bottom: .55rem;
    line-height: 1.3;
}

/* Utility */
.container {
    max-width: var(--max-width);
    margin: auto; /* center everything */
    padding: 0 2rem;
    overflow: hidden; /* show content always within this container */
}

.category {
    display: inline-block;
    color: #d3d3d3; /* #fff;*/
    font-size: 0.75rem;
    text-transform: uppercase;
    padding-top: 2px;
    margin-bottom: 1.5rem;
}
.category::before {
    content: '';
    display: inline-block;
    /*border-left: 4px solid var(--category-sports);*/
    margin-right: .5rem;
}
.category-sports {
    border-left: 3px solid var(--category-sports);
}
.category-ent {
    border-left: 3px solid var(--category-ent);
}
.category-science {
    border-left: 3px solid var(--category-science);
}
.category-tech {
    border-left: 3px solid var(--category-tech);
}

.btn {
    display: inline-block;
    border: none;
    color: #fff;
    padding: .5rem 1.5rem;
    font-weight: 500;
}
.btn:hover {
    opacity: 0.9;
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-light { background: var(--light-color) }
.btn-dark { background: var(--dark-color) }
.btn-primary { background: var(--primary-color) }
.btn-secondary { background: var(--secondary-color) }

.card {
    background:  #fff;
    /*padding: .8rem;*/
}
.card .card-text {
    padding: 1rem;
    font-size: 1.4rem;
}
.card img {
    padding: 0rem;
}
.card .category {
    color: #767676;
}

.bg-dark {
    background: var(--dark-color);
    color: #fff;
}
  
.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

.bg-secondary {
    background: var(--secondary-color);
    color: #fff;
}
  
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark a,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary a,
.bg-secondary h1,
.bg-secondary h2,
.bg-secondary h3,
.bg-secondary a {
    color: #fff;
}

.py-a1 { padding: .2rem 0 }
.py-1 { padding: 1.5rem 0 }
.py-2 { padding: 2rem 0 }
.py-3 { padding: 3rem 0 }
.p-1 { padding: 1.5rem }
.p-2 { padding: 2rem }
.p-3 { padding: 3rem }

.large-heading {
    font-size: 2rem;
    text-align: center;
}

.heading-secondary {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    background-color: var(--primary-color);

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 2px;

    /*@include respond(tablet-portrait) {
      font-size: 3rem;
    }
    @include respond(phone) {
      font-size: 2.5rem;
    }*/
  }  


/* Navigation */
#main-nav {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

#main-nav .container {
    display: grid;
    grid-template-columns: 3fr 6fr 2fr;

    padding: 0rem;
}

#main-nav #nav-sports {
    cursor: not-allowed;
}
#main-nav #nav-sports a {
    pointer-events: none;
    color: #ccc;
}

.logo{
    width: 120px;
}

#main-nav .social {
    align-self: center;    /* center vertically   */
    justify-self: center;  /* center horizontally */
}
#main-nav .social i {
    color: #635e5e; /* #777; */
    margin-right: .5rem;
}
#main-nav ul {
    align-self: center; /* center vertically   */
    justify-self: center;  /* center horizontally */
    display: flex;
}
#main-nav ul li a {
    padding: 1rem;
    margin-right: 10px;
    font-weight: 600;
}
#main-nav ul li a.current {
    background: var(--primary-color);
    color: #fff;
    /*border-bottom: solid 3px var(--primary-color);*/
}
#main-nav ul li a:hover {
    background: var(--primary-color);
    color: #fff;
    /*order-bottom: solid 3px var(--primary-color);*/
}

/* Showcase Section */
.showcase-heading {
    font-size: 3rem;
    letter-spacing: 6px;
    text-transform: uppercase;
}
#showcase {
    color: #fff;
    background: #333; /* var(--dark-color); /* #333; */
    padding: 2rem;
    position: relative;
}

#showcase:before {
    content: '';
    /*background: url('../img/featured.jpg') no-repeat;*/
    background-size: cover;
    background-position: top;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;

    background-image: linear-gradient(
        to right bottom,
        rgba(185, 200, 216, 0.1),
        rgba(0, 18, 83, 0.8)
      ),
      url(../img/featured.jpg);
}
#showcase .showcase-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    height: 60vh;
}
#showcase .showcase-content {
    z-index: 1;
    font-size: 1.3rem;
}
#showcase .showcase-content p {
    margin-bottom: 1.2rem;
}

@media (min-width: 767px) {
    /*#showcase .showcase-content p {
        margin-bottom: 0rem;
    }*/
}

/* Home Articles */
#home-articles {
    padding-bottom: 4rem;
}
#home-articles .articles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3rem 1.5rem;
}

#home-articles .articles-container > *:first-child {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    grid-column: 1 / -1;
}

/* Home Videos */
#home-videos {
    background-color: var(--dark-color-1);
    padding-bottom: 4rem;
}
#home-videos .articles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5rem;
}

/* Footer */
#main-footer {
    background-color: #40424e;
    color: #fff;

    padding-top: 2rem;
}

#main-footer a {
    color: #fff;
}

#main-footer .footer-container {
    display: grid;
    grid-template-rows: 150px 70px;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5rem;
    grid-row-gap: .75rem;
    align-items: center;
    justify-items: center;
}
#main-footer .footer-container input[type='email'] {
    width: 92%;
    padding: .8rem;
    margin-top: 1.1rem;
    margin-bottom: 0.5rem;
}

#main-footer .footer-container input[type='submit'] {
    width: 92%;
}
#main-footer .footer-container li {
    padding: .1rem;
    font-size: .8rem;
}
#main-footer .footer-container h3 {
    /*color: var(--primary-color);*/
}
#main-footer .footer-container li a:hover {
    color: var(--primary-color);
}
.footer_copyright {
    text-align: center;
    font-size: .8rem;

    grid-column: 1 / -1;
    padding-top: 1rem;
    margin-bottom: 2rem 2rem;
    /*background: #5d606375; /*var(--light-color);*/
    /*color: var(--dark-color);*/
    border-top: solid 1px #5d6063bd; /* #5d606375;*/
    justify-self: stretch;

    /*color: rgba(255, 255, 255, 0.4);*/
    /*margin-top: -8px; */
}

/* Sports Page */
.sports-grid {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 4fr 2fr;
    grid-gap: 1.5rem;

    margin-bottom: -20px;
}
.sports-grid > *:first-child {
    grid-row: 1 / span 2;
}
.sports-grid-2 {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: 1fr;
    grid-gap: 1.5rem;
}


/* About Page */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3rem 1.5rem;
}

/* container for pages other than the home page */
.page-container {
    display: grid;

    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: 6fr 2fr;
    grid-gap: 1.5rem;

    margin: 2rem 0;
  }
  .page-container > *:first-child {
    grid-row: 1/ span 3;
  }
  .about-p {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  .latest-news {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
  }

  .latest-news h3 {
    text-align: center;
    padding: 10px 4px;
    height: 100%;
  }
  .latest-news p {
    background-color: #40424e; 
    text-align: center;
    padding: 10px 4px;
    border: 1px solid rgb(117, 112, 112);
  }
  .latest-news p a {
    color: white;
  }
  .latest-news p:hover {
    background:  rgb(104, 100, 100);
  }