:root{
  --color-yellow: #f0b22f;
  --color-purple: #613790;
}

html{
  margin: 0px;
  padding: 0px;
  font-size: 62.5%;
}

body{
  background: #ccc;
  font-size: 1.6rem;
}


h2{
  font-size: 2.4rem;
  display: block;
}

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

.constraint {
  max-width: 1020px;
  margin: 0 auto;  
  padding: 0 10px;
}

header{
  background: #000;
  border: 1px solid transparent;
  color: var(--color-yellow);
}

header .logo{
  margin: 10px auto;
  max-width: 200px;
}

h1 {
  font-size: 16px;
  text-align: center;
}

.development {
  margin: 40px 0;
}

footer{
  background: #000;
  color: var(--color-yellow);
}

footer .constraint {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

footer .logo{
  max-width: 100px;
  margin: 10px 10px 0;
}

footer p {
  font-size: 12px;
  margin: 0 0 10px 10px;
}

.socials ul{
  list-style: none;
  margin: 10px;
  padding: 0;
}


.socials ul li{ 
  display:inline-block;
}


.socials ul li img{ 
  width: 38px;
}


.hero {
  background: url(../images/CapsuleLibraryHero.png) no-repeat;
  background-size: cover;
  background-position: center;
  border: 1px solid;
  min-height: 100px;
  margin-bottom: 70px;
}

.hero .constraint{
  position: relative;
  padding: 0;
}

.cta {
  background: var(--color-yellow);
  border-radius: 10px;
  padding: 10px 20px;
  position: absolute;
  bottom: -46px;
  right: 10px;
}

.features {
  border: 1px solid var(--color-purple);
  border-radius: 10px;
  position: relative;
  margin: 40px 10px; 
}

.features h3 {
  position: absolute;
  top: -30px;
  left: 10px;
  background: #ccc;
  padding: 0 10px;
}


.about {
  background: #000;
  color: var(--color-yellow);
  padding: 20px 0;
}

.miseryLovesCompanyGame {
  margin: 40px 0;
}

.miseryLovesCompanyGame .constraint div:first-child {
  display: none;
}

@media (min-width: 768px) { 
 body{
    font-size: 2.4rem;
  }

  header .logo {
    margin: 10px 0;
  }

  h1 {
    text-align: left;
  }

  header .constraint div:first-child {
    display: flex;
    align-items: center;
  }

  .hero .constraint{
    min-height: 250px; 
  }

  .hero img {
    display: none;
  }

  .about .constraint{
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
  }

  .miseryLovesCompanyGame ul {
    columns: 3;
    column-gap: 20px;
  }

  .miseryLovesCompanyGame .constraint {
    display: flex;
    align-items: center;
    
  }

  .miseryLovesCompanyGame .constraint div:first-child {
    display: block;
    margin: 10px 20px;
  }


  .features h3 {
    top: -45px;
    left: 20px;
  }



.cta {
  padding: 20px 40px;
  bottom: -55px;
  right: 10px;
}

}

@media (min-width: 992px) { 
  .hero  .constraint {
    min-height: 400px; 
  }
}

@media (min-width: 1200px) { 

}
