@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

/* Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.4;
}

a {
  text-decoration: none;
}

p {
  margin: 0.75rem 0;
  /* margin: 0.75rem 10%; */
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 2rem;
  overflow: hidden;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: #41ccb4;
}

.bg-light {
  background-color: #f4f4f4;
  color: #333;
}

.bg-dark {
  background-color: #333;
  color: #fff;
}

.bg-primary {
  background-color: #41ccb4;
  color: #333;
}

.l-heading {
  font-size: 4rem;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.m-heading {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.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;
}

.m-auto {
  margin: auto;
}

.btn {
  display: inline-block;
  background-color: #41ccb4;
  color: #333;
  padding: 0.5rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover {
  background-color: #289683;
}

.btn-dark {
  background-color: #333;
  color: #fff;
}

.list {
  margin: 0.5rem 0;
  list-style: none;
}

.list li {
  padding: 0.5rem 0;
  border-bottom: 1px dotted #444;
}

/* Navbar */
#navbar {
  display: flex;
  position: sticky;
  top: 0;
  background-color: #333;
  color: #fff;
  justify-content: space-between;
  z-index: 1;
  padding: 1rem;
}

#navbar .logo img {
  width: 20px;
}

#navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
}

#navbar ul li a {
  color: #fff;
  padding: 0.75rem;
  margin: 0 0.25rem;
}

#navbar ul li a:hover,
#navbar ul li a.current {
  background-color: #41ccb4;
  color: #333;
  border-radius: 5px;
}

/* Showcase */
#showcase {
  background: #333 url('../img/showcase.jpg') no-repeat center center/cover;
  height: 100vh;
  color: #fff;
}

#showcase .showcase-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;

  /* Overlay */
  position: absolute;
  top: 65px;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Section: News */
#news {
  display: flex;
  overflow: hidden;
}

#news div {
  flex: 1;
}

img {
  display: block;
  margin: auto;

  width: 50%;
  height: auto;
  padding-bottom: 50px;
}

.newsArticle {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 50px;
  padding-top: 2%;
}

.news-text {
  padding: 50px;
  transition: transform 0.7s;

  margin: 50 auto;
}

.news-text:hover {
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Safari 3-8 */
  transform: scale(1.1);
}

/* Page: About */
.page-container {
  display: grid;
  grid-template-columns: 5fr 2fr;
  grid-gap: 1.5rem;
  margin: 2rem 0;
}

.page-container > *:first-child {
  grid-row: 1 / span 3;
}

.card {
  padding: 1rem;
  background: #fff;
}

/* Page: About, Section: Feature */
#feature .items {
  display: flex;
  padding: 1rem;
}

#feature .items .item {
  flex: 1;
  text-align: center;
  padding: 1rem;
}

#feature .items .item i {
  background-color: #41ccb4;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Page: About, Section: Team */
#team .items {
  display: flex;
}

#team .items img {
  display: block;
  width: 60%;
  margin: auto;
}

/* Page: Sports, Business, Lifestyle */
.article-heading {
  border: 2px solid #333;
  margin: 3% 30%;
  border-radius: 15px;
  font-size: 1.3rem;
  box-shadow: 10px 10px;
  font-family: Arial, Helvetica, sans-serif;
}

#sports-1,
#sports-2,
#business-1,
#business-2,
#lifestyle-1,
#lifestyle-2 {
  display: flex;
}

#sports-1 div,
#sports-2 div,
#business-1 div,
#business-2 div,
#lifestyle-1 div,
#lifestyle-2 div {
  flex: 1;
  margin-bottom: 3%;
  box-shadow: 3px 3px;
}

.sports,
.business,
.lifestyle {
  width: 100%;
  /* width: 80%;
  height: 70%; */
  width: 250px;
  height: 400px;
  padding: 10% 0;
}

/* Page: Sports, Business, Lifestyle effects and background */
.sports-text,
.lifestyle-text,
.business-text {
  border: 2px solid whitesmoke;
  border-radius: 15px;
  background-color: rgba(37, 187, 190, 0.2);
  color: #333;
  margin: 20px 2%;
  padding: 3% 2%;
  transition: transform 0.7s;
}

.sports-text:hover,
.lifestyle-text:hover,
.business-text:hover {
  background-color: rgba(37, 187, 190, 0.5);
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Safari 3-8 */
  transform: scale(1.1);
}

/* Page: Contact */
#contact {
  border: 2px solid whitesmoke;
  margin: 2% 25% auto;
  border-radius: 15px;
  color: white;
  background: rgba(69, 69, 62, 0.6);
}

#contact .mdiv {
  margin-top: 30px;
  text-align: center;
}

#contact h2 {
  color: #41ccb4;
  text-align: center;
  margin-top: 5%;
}

#contact p {
  width: 500px;
  margin: auto;
  font-size: 15px;
  padding-bottom: 10px;
}

#contact .btn {
  border-radius: 28px;
}

#map {
  border: 0;
  margin: 20px auto;
  border-radius: 15px;
  margin-bottom: 5%;
}

/* hr { margin-bottom: 30px; } */

.fname,
.lname,
.email,
.subject,
.message {
  width: 100%;
  padding: 15px;
  font-size: 20px;
  text-align: center;
  border-radius: 15px;
  resize: none;
}

/* Footer */
#main-footer a {
  color: #41ccb4;
}

#main-footer a:hover {
  color: #289683;
}
