squash / src / styles / globals.css
globals.css
Raw
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --black-1: #191919;
  --black-2: #282828;
  --black-3: #0C0C1D;
  --grey-90: #333333;
  --font-color-black: #1E2A39;
  --font-color-grey: #696C74;
  --primary-color: #f5f500;
  --purewhite: #ffffff;
  --slate: #FAFAFA;
  --primary-font: 'Plus Jakarta Sans', sans-serif;
  --font-bold: 'Manrope', sans-serif;
  --transition: all 0.3s ease-in-out;
  --quick-transition: all 0.15s ease-in-out;
}
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  font-family: var(--primary-font);
  font-weight: 400;
}
.font-bold{
  font-weight: 800;
  font-family: var(--font-bold);
}
.font-semi-bold{
  font-weight: 700;
  font-family: var(--primary-font);
}
.font-medium{
  font-weight: 500;
  font-family: var(--primary-font);
}
.font-regular{
  font-weight: 400;
  font-family: var(--primary-font);
}
.button-primary{
  background-color: var(--primary-color);
  font-size: 18px;
  color: var(--black-1);
  font-weight: 700;
  font-family: var(--font-bold);
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.button-primary:hover{
  transform: translateY(-2px);
}
.button-round{
  background-color: var(--primary-color);
  border-radius: 23px;
  color: var(--black-1);
  padding: 12px 22px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
a{
  text-decoration: none;
}
button{
  border: none;
}
.section{
  padding: 16px 8px;
  background-color: var(--slate);
  transition: var(--quick-transition);
}
.dark{
  background-color: var(--black-2);
  color: var(--purewhite);
}
.footer {
  padding: 60px 190px;
  background-color: var(--black-2);
  color: var(--purewhite);
}
h1{
  font-size: 50px;
  font-weight: 800;
  line-height: 140%;
}
h2{
  font-size: 30px;
  font-weight: 700;
  line-height: 66px;
  font-family: var(--font-bold);
  color: var(--font-color-black);
}
.section.dark h2{
  color: var(--purewhite);
}
h3{
font-family: Manrope;
font-size: 48px;
font-weight: 700;
line-height: 66px;
letter-spacing: 0em;
text-align: left;
margin-bottom: 12px;
}
h4{
  font-size: 60px;
  font-weight: 800;
  font-family: var(--font-bold);
  line-height: 82px;
  color: var(--primary-color);
}
h6{
  font-size: 24px;
  font-family: var(--font-bold);
  font-weight: 700;
  line-height: 33px;
  color: var(--grey-90);
}
.col{
  display: flex;
  flex-direction: column;
}
.col.centered{
  align-items: center;
}
.col.centered.justified{
  justify-content: center;
}
.subtitle{
  font-size: 18px;
  line-height: 29px;
  text-align: center;
  color: var(--font-color-grey);
  max-width: 485px;
  margin-bottom: 60px;
}
ul{
  list-style: none;
}
.pricing-card{
  padding: 20px;
  border-radius: 12px;
  background-color: var(--purewhite);
  color: var(--black-1);
}
.section.dark .pricing-card div h2{
  color: var(--black-3);
}
.pricing-card div:nth-child(1){
  border-radius: 8px;
  padding: 16px;
  background-color: var(--slate);
  margin-bottom: 24px;
  text-align: center;
}
.pricing-card.yellow div:nth-child(1){
  border-radius: 8px;
  padding: 16px;
  background-color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}
.pricing-card.yellow div:nth-child(1) button{
  background-color: var(--black-1);
  color: var(--purewhite)!important;
}
.pricing-card h6{
  margin-bottom: 20px;
}
.pricing-card p{
  margin-bottom: 20px;
}
.pricing-card h2{
  margin-bottom: 20px;
}
.logo-cont{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.logo-md{
  max-width: 78px;
  height: 107px;
  margin-right: 12px;
}
.logo-txt-md{
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 800;
  line-height: 38px;
}
.flex-rw-cntr{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.just-between{
  justify-content: space-between;
}
.bottom-border{
  border-bottom: 1px solid var(--font-color-grey);
}
@media screen and (min-width: 768px) {
  .section{
    padding: 60px 62.5px;
  }
  h1{
    font-size: 70px;
  }
  h2{
    font-size: 48px;
  }
}
@media screen and (min-width: 1400px) {
  .section{
    padding: 120px 125px;
  }
  h1{
    font-size: 96px;
    font-weight: 800;
    line-height: 140%;
  }
}