@import url('https://fonts.googleapis.com/css2?family=Outfit&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Lobster&family=Outfit:wght@100..900&display=swap');

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

body {
    background-color: var(--light-color);
    display: grid;
    grid-template-columns: 1fr;
    font-weight: 500;    
}

img {
  display: block;
  max-width: 100%;
}

/* COLORS */

:root {
    --actual-chic: #f90875;
    --primary-color: #E5066A;
    --secondary-color: #591d55;
    --highlight-color: hsl(32, 100%, 70%);
    --primary-color-2: #c43174;
    --secondary-color-2: #652761;
    --light-color: whitesmoke;
    --light-color-alpha: rgba(245, 245, 245, .3);
    --dark-color: #333333;
}

h1, h2, h3 {
    font-family: "Lobster", sans-serif;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    font-family: "Outfit", serif;
    margin: 1rem;
}

main.center {
    justify-items: center; /* CENTER EVERYTHING */
}

main {
    padding: 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(1fr, 100%),1fr));
}


section {
    font-family: "Outfit", serif;
    padding: 1rem;
    border-radius: 5px;
    
}


body .contact {
    color: var(--primary-color)
}

/* Limit Width Text All */
section p {
    max-width: 80ch;
}

header .header {
    background-color: var(--primary-color);
    max-height: 200px;
}

/* NAV */

nav {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    background: var(--primary-color);
    font-weight: 500;
}

nav img {
    max-height: 4rem;
    margin: 20px;
}

nav * {
    align-items: center;
    justify-content: center;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    /* display: flex;
    align-items: center;
    justify-content: flex-end; */
    list-style: none;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1.5rem;
}

nav ul li {
    color: var(--light-color);
    text-decoration: none;
    padding: .5em;
    border-radius: 5px;
    /* border: .15rem solid var(--light-color);*/
    box-shadow: -2px 2px 0 var(--light-color);
}

nav li:hover {
    background-color: var(--secondary-color);
}

nav a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: bold;
}

nav a img {
    text-decoration: none;
}

@media (max-width: 65rem) {
    section {
        max-width: 100%;
    }
}

@media (max-width: 50rem){
  nav {
    grid-template-columns: 1fr;
    justify-content: center;
    border-radius: 0;

  }

  nav .ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  body {
    padding: 0;
  }

  main {
    padding: 0;
    margin: 0;
    gap: 0;
  }

  section {
    border-radius: 0;
  }

  nav img {
    max-height: 2rem;
    margin: 20px;
    margin-bottom: 0;
    box-sizing: inherit;
    align-self: center;
}


}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-columns: 3fr 1fr;
    padding: 3rem;
    gap: 1rem;
    background: var(--light-color);
    color: var(--secondary-color);
    min-height: 50vh;
    color: var(--primary-color);
    justify-content:center;
    align-items: center;
    /* ADD BACKGROUND IMAGE LARGE */
    background-image: url(/img/suad-kamardeen-4QIpATu_JSQ-unsplash.jpg);
    background-size: cover;
    background-repeat:no-repeat;
    background-position: center center;
    text-align: center;
}

.hero.services {
    background-image: url(/img/dushane-white-kW1MYyk9AQM-unsplash.jpg);
}

.hero.about {
    background-image: url(/img/annie-spratt-ennonzaLSp0-unsplash.jpg);
}

.hero.contact {
    background-image: url(/img/Group_Photos/Christy_Group.jpg);
}

.hero.home {
    background-image: url(/img/Group_Photos/Group_02.jpg);
}

.hero h1 {
    font-size: 2.75rem;
    color: var(--light-color);
    text-shadow: 0 0 5px var(--dark-color);

}

.hero .button-5 {
    margin: 1rem;
}

.hero.services .cta {
    color: var(--primary-color);
}

.faq h2, h3 {
    padding: 1rem 0;
    color: var(--primary-color);
}

.faq p {
    color: var(--secondary-color);
}

@media (max-width: 50rem){
    .hero {
        /* background-image: url(/img/Group_Photos/Group_01.jpg); */
        grid-template-columns: 1fr;
        background-image: url(/img/vitaly-gariev-eGYjU5YfRtg-unsplash.jpg);
        background-size: cover;
        background-repeat:no-repeat;
        background-position: center center;
        justify-content: space-around;
        text-align: center;
        color: var(--secondary-color);
    }

    .hero h1 {
        font-size: 1.75rem;
    }
    .hero p {
        text-align: center;
    }

    .hero.services h1 {
        font-size: 1.75rem;
    }
}


/* SERVICES */

.services {
    background-color: var(--secondary-color);
    color: var(--light-color);
    justify-items: center; /* CENTER EVERYTHING */
}


.services .container {
    padding-top: 2rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(250px,100%),1fr));
}

.services p, ul {
    margin: 1rem;
}

.services ul {
    padding: 1rem;
    padding-left: 2rem;
}

.service {
    align-items: start;
    background-color: var(--primary-color);
    border-radius: 3px;
    padding: 1.25rem;
    min-height: 300px;
}

.service h3, h4 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.service:hover {
    background-color: var(--actual-chic);
}

/* outline: 1rem solid red; */

/* .service:last-child {
  grid-column-end: -1;
  background-color: var(--light-color);
  color: var(--secondary-color);
}*/

.highlight {
    /* grid-column: 1/3; */
    background-color: var(--light-color);
    color: var(--secondary-color);
}

@media (max-width: 50rem){
    .highlight {
        grid-column: 1/2;
    }
    .services {
        padding: .5rem;
    }
}

/* TESTIMONIALS */

.testimonials_container {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px,100%),1fr));
    grid-gap: 5rem;
}

.testimonials p {
    font-style: italic;
    line-height: 1.25rem;
    width: 100%;
    /* max-width: 30ch; */
    /* text-align: justify; */
}

.testimonials h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonials h4 {
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-size: 1rem;
}

.testimonials a {
    color: var(--highlight-color)
}

.testimonials img {
    margin-bottom: 2.5rem;
}

.testimonial {
    padding: 1rem;
    /* box-shadow: -2px 2px 0 var(--secondary-color-2); */
}


/***
.testimonials .testimonial_wide {
        background: red;
        display: grid;
        grid-template-areas:
            "name img"
            "p .";

    ***/

/* PARTNERSHIPS */

.partner {
    background-color: transparent;
    border-radius: 5px;
    padding: 1rem;
    height: 150px;
    width: 150px;
    
}

.partners {
    background-color: white;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(150px,100%),1fr));
    align-items: center;
    justify-items: center;
    padding: 2rem;
    justify-items: normal; /* CENTER EVERYTHING */
}

.partners img {
    max-width: 130px;
    max-height: 130px;
    border-radius: 10px;
}

.cta {
    display: grid;
    gap: 1rem;
    margin: 3rem;
    font-size: 2rem;
    border-radius: 5px;
    background-color: var(--light-color-alpha);
}

.cta p {
    text-shadow: 0 0 5px var(--dark-color);
    color: var(--light-color);
}

/* About Page */

.blank {
    color: var(--secondary-color);
    background-color: white;
}

.blank h2 {
    color: var(--primary-color);
}

.Christy {
    padding: 0;
}

.Christy h2 {
    margin-bottom: 1rem;
}

/* CARDS */

.founder {
    display:grid;
    grid-template-columns: 1fr 3fr;
    justify-items: center;
    gap: 1rem;
    background-color: hsl(333, 95%, 66%);
    padding: 1rem;
    border-radius: 5px;
}

.founder .cards {
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
}

.founder__text {
    padding: 1rem;
    background-color: hsl(333, 95%, 66%);
    border-radius: 5px;
    color: var(--dark-color);
}

.about__page .team {
    
}

@media (max-width: 50rem) {
    .founder {
    display:grid;
    grid-template-columns: 1fr;
    border-radius: 0px;
}
.cta {
    font-size: 1.5rem;
}
}

.cards {
    align-items: normal;
  display: grid;
  color: var(--light-color);
  gap: 1rem;
  grid-template-columns: repeat( auto-fill, minmax(200px, 1fr) );
}

.card {
  position: relative;
  align-items: left;
  justify-self: left;
  /*top: 50%;
  left: 50%;*/

  /* SIZE OF CARD */
  width: 200px;
  height: 300px;
  perspective: 500px;
}

.content {
  /*position: absolute;*/
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);

  transition: transform 1s;
  transform-style: preserve-3d;
}

.card:hover .content {
  transform: rotateY( 180deg ) ;
  transition: transform 0.5s;
}

.front,
.back {
  position: absolute;
  height: 100%;
  width: 100%;
  background: var(--primary-color);
  /* line-height: 300px; */
  color: #03446A;
  text-align: center;
  font-size: 1.25rem;
  border-radius: 5px;
  backface-visibility: hidden;
}

.back {
  background: var(--primary-color);
  padding: 1rem;
  color: white;
  transform: rotateY( 180deg );
}

.front h3 {
    position:absolute;
    padding: 1rem;
    color: var(--light-color);
    text-shadow: 2px 2px 0 var(--primary-color);
}

.front {
    border: 10px solid white;
    border-radius: 5px;
}

.front img {
  /* Note: must go in this order */
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.back h3 {
    color: var(--light-color);
}
.testimonials_container .testimonial {   
}

.testimonials_container .front {
    border: 10px solid white;
    border-radius: 5px;
}

.testimonials_container .back {
    background-color: var(--light-color);
}

.testimonials_container .testimonial__back p {
    font-size: .8rem;
    font-weight: 400;
    padding: 0;
    margin: 0;
    text-align: right;
    line-height: 1;
    color: var(--dark-color);
}

.card .content .front .quote h3 {
    position: relative;
}

.card .content .front .quote p {
    position: relative;
    padding: 0;
    margin:0;
    color: var(--light-color);
    font-size: .75rem;
}

.card .content .front .quote {
    display: grid;
    grid-template-rows: 1fr 1fr;
    position: relative;
    width: 100%;
    height: 100%;
    padding: .5rem;
    margin: 0;
    
    font-size: 1.25rem;
}

.card .content .front.quote {
    padding: 2rem 0;
    background-color: var(--secondary-color);
}

.card .content .back.quote {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 10px solid white;
    border-radius: 5px;
}


.card .content .back.quote h3{
    color: var(--light-color);
}

/* BUTTON */
.button-5 {
  align-items: center;
  background-clip: padding-box;
  background-color: var(--secondary-color);
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: var(--light-color);
  cursor: pointer;
  display: inline-flex;
  /*font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif; */
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  /*-webkit-user-select: none; */
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.button-5:hover,
.button-5:focus {
  background-color: var(--actual-chic);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.button-5:hover {
  transform: translateY(-1px);
}

.button-5:active {
  background-color: var(--highlight-color);
  box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
  transform: translateY(0);
}

/* FOOTER */

footer nav {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    color: var(--light-color);
}

footer img {
    height: 3rem;
}

@media (max-width: 50rem){
  footer nav {
    display:grid;
    grid-template-columns: 1fr;
    color: var(--light-color);
    align-items: center;
    justify-content: center;
  }
  footer h3 {
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }

  body {
    padding: 0;
  }
}

.highlight_element:hover {
    border: 2px solid var(--highlight-color);
    border-radius: 5px;
}

.team__container {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.introductions {
    padding: 2rem;
}

.introductions h2 {
    padding: 1rem 0;
}

.button-5.white {
    border: 2px solid white;
}

footer nav .fullwidth {
    border: 2px solid red;
}