@import "reset.css";
@import "kohli.css";
@import "smirnoff.css";
@import "classic.css";

:root {
  --color-white: #463F3A;
  --color-black: #fff;
  --color-light-gray: #463F3A;
  --color-off-black: #F4F3EE;
}

body {
  color: var(--color-white);
  background-color: var(--color-black);
  font-family: "Red Hat Display", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-white);
  font-weight: 700;
}

p {
  font-size: 1.25rem;
  line-height: 1.4;
}

/* nav section start */

nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 10px;
}

nav a {
  text-decoration: none;
  margin: 10px;
  font-size: 0.875rem;
  color: var(--color-white);
}

nav a:hover {
  color: var(--color-light-gray);
}

/* nav section end */

/* hero section start */
.pageContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55%;
  margin: 0px auto;
}

@media (max-width: 1780px) {
  .pageContainer {
    width: 70%;
  }
}

@media (max-width: 1440px) {
  .pageContainer {
    width: 80%;
  }
}

@media (max-width: 500px) {
  .pageContainer {
    width: 90%;
  }
}

.hero {
  display: flex;
  margin: 100px auto 60px auto;
}

.hero div{
  padding:30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

}

.hero img{
  max-width: 275px;
  max-height: 275px;
}

@media (max-width: 1025px) {
  .hero {
    margin: 100px auto 60px auto;
    max-width: 90%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 800px) {
  .hero {
    height: auto;
    margin: 80px auto 60px auto;
    width:auto;
  }
}

@media (max-width: 500px) {
  .hero {
    margin: 60px auto 40px auto;
    height: auto;
  }
}

.hero h1 {
  font-size: 6vw;
  margin-bottom: 30px;
  text-align: center;
}

@media (max-width: 1025px) {
  .hero h1 {
    font-size: 8vw;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 20vw;
  }
}


.hero h2 {
  line-height: 1.2;
  color: #8A817C;
  text-align: center;
  font-size:2.5vw;
}


@media (max-width: 1025px) {
  .hero h2 {
    font-size:4vw;
  }
}

@media (max-width: 500px) {
  .hero h2 {
    font-size: 8vw;
  }
}

.read {
  color: var(--color-light-gray);
  font-size: .7rem;
  font-weight: 100;
}

/* hero section end */

/* main content start */

.contentContainer {
  display: flex;
  flex-direction: column;
}

.cards {
  width: 100%;
  background-color: var(--color-off-black);
  display: flex;
  flex-direction: row;
  padding-top: 30px;
  text-decoration: none;
  color: var(--color-light-gray);
}

@media (max-width: 800px) {
  .cards {
    flex-direction: column;
    margin: 0px auto;
    width: 60%;
    padding: 30px;
  }
}

@media (max-width: 500px) {
  .cards {
    width: 80%;
  }
}

.cardContainer {
  margin-bottom: 30px;
}

.cardContent {
  padding: 0px 30px;
}

@media (max-width: 800px) {
  .cardContent {
    padding: 0px;
  }
}

.cardContent h5 {
  font-size: 2.75rem;
  margin: 0px 0px 10px 0px;
}

@media (max-width: 1280px) {
  .cardContent h5 {
    margin: 10px 0px 30px 0px;
  }
}

@media (max-width: 1280px) {
  .cardContent h5 {
    font-size: 2rem;
  }
}

@media (max-width: 800px) {
  .cardContent h5 {
    margin: 30px 0px 30px 0px;
  }
}

.cardContent h6 {
  font-size: .9rem;
  margin: 0px 0px 10px 0px;
  color: var(--color-light-gray);
  font-weight: 300;
}

@media (max-width: 1280px) {
  .cardContent h6 {
    margin: 10px 0px 10px 0px;
  }
}


@media (max-width: 800px) {
  .cardContent h6 {
    margin: 30px 0px 30px 0px;
  }
}

.cardContent p {
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-white);

}

.cardContent :nth-child(4) {
  font-size: .9rem;
  margin-top: 10px;
  margin-bottom: 30px;
}

@media (max-width: 1280px) {
  .cardContent :nth-child(4) {
    margin-bottom: 30px;
  }
}

@media (max-width: 800px) {
  .cardContent :nth-child(4) {
    margin-bottom: 0px;
  }
}

.salty {
  border-right: 15px solid #1172b9;
}

.salty h5 {
  font-size: 2.2rem;
}

.mpa {
  border-right: 15px solid #fff;
}

.mpa h5 {
  font-size: 2.2rem;
}

.space {
  border-right: 15px solid #01023d;
}

.kohli {
  border-right: 15px solid #ea3d02;
}

.classic {
  border-right: 15px solid #8f2e1d;
}

.smirnoff {
  border-right: 15px solid #d2d0cf;
}

.carConnections {
  border-right: 15px solid #2b9646;
}

@media (max-width: 800px) {
  .salty {
    border-right: 0px;
    border-bottom: 15px solid #1172b9;
  }

  .mpa {
    border-right: 0px;
    border-bottom: 15px solid #fff;
  }

  .space {
    border-right: 0px;
    border-bottom: 15px solid #01023d;
  }

  .kohli {
    border-right: 0px;
    border-bottom: 15px solid #ea3d02;
  }

  .classic {
    border-right: 0px;
    border-bottom: 15px solid #8f2e1d;
  }

  .smirnoff {
    border-right: 0px;
    border-bottom: 15px solid #d2d0cf;
  }

  .carConnections {
    border-right: 0px;
    border-bottom: 15px solid #2b9646;
  }
}

/* main content end */

/* about section start */

.about {
  margin: 30px 0px 30px 0px;
}

.about h3 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.about p {
  margin-bottom: 20px;
}

/* about section end */

hr {
  width: 100%;
  border: 0px;
  margin: 0px;
  height: 1px;
  background-image: linear-gradient(
    to right,
    var(--color-black),
    var(--color-light-gray),
    var(--color-black)
  );
}

/* contact section start */

.contact {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact h3 {
  font-size: 2.2rem;
  margin: 30px 0px 30px 0px;
}

.contact p {
  margin-bottom: 20px;
  text-align: center;
}


@media(max-width: 500px){
  .contact .email{
    font-size: 5vw;
  }
  }

.iconContainer {
  display: flex;
}

.github {
  width: 45px;
  height: 45px;
  margin-right: 30px;
}

.linkedin {
  width: 45px;
  height: 45px;
}

/* contact section end */

/* footer start */

footer {
  padding: 30px 0px 30px 0px;
}

footer p {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* footer end */

/* sub pages styling start */

.subPages h1 {
  font-size: 4rem;
  margin-bottom: 25px;
  text-align: center;
}

.subPages h2 {
  font-size: 3rem;
  margin: 25px 0px 15px 0px;
  text-align: center;
}

.subPages h3 {
  font-size: 2.5rem;
  margin: 25px 0px 15px 0px;
  text-align: center;
}

@media (max-width: 500px) {
  .subPages h1 {
    font-size: 3rem;
  }

  .subPages h2 {
    font-size: 2rem;
  }

  .subPages h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 500px) {
  #carConnectionsHeader {
    font-size: 2.5rem;
  }
}

/* sub pages styling end */
