@font-face {
  font-family: "San Francisco";
  font-weight: 400;
  font-style: normal;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff") format("woff");
}

@font-face {
  font-family: "San Francisco";
  font-weight: 700;
  font-style: normal;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff") format("woff");
}
@font-face {
  font-family: "San Francisco";
  font-weight: 900;
  font-style: normal;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-black-webfont.woff") format("woff");
}
@font-face {
  font-family: "San Francisco";
  font-weight: 100;
  font-style: normal;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-thin-webfont.woff") format("woff");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  font-size: 24px;
  background-color: #fff;
  font-family: "San Francisco", Helvetica, sans-serif;
  color: #fff;
  padding: 1vw;
  display: flex;
  flex-direction: column;
}

main {
  background-color: #131415;
  border-radius: 58px;
  flex: 1;
}

.container {
  padding: 4vw;
  max-width: 1400px;
  margin: 0 auto;
}

h1 {
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0;
  padding: 0;
  line-height: 0.8;
  margin-top: -32px;
}

h2 {
  font-size: 1rem;
  font-weight: 100;
  color: #ccc;
  margin-top: -5px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
  height: 185px;
  width: 100%;
  border: 1px solid #000;
  border-radius: 35px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

a img {
  transition: 150ms;
  height: 100px;
  width: auto;
}

a div {
  transition: 150ms;
}

a:hover img {
  transform: scale(1.1);
}

a:hover div {
  transform: translateY(-10%);
}

/***************
Car loan
***************/
#car-loan {
  color: #26B0ED;
  flex-direction: row;
  line-height: 1;
}
#car-loan img {
  padding-right: 20px;
}
/***************
Browser info
***************/
#browser-info {
  flex-direction: row;
}
#browser-info img {
  height: 250px;
  width: auto;
  margin-bottom: -50px;
  margin-left: -20px;
  padding-right: 5px;
}
#browser-info div {
  margin-left: -50px;
}
#browser-info p {
  margin-bottom: -10px;
  color: #24AD76;
}
#browser-info ul {
  font-size: 0.8rem;
  margin-left: -25px;
  font-weight: 100;
  color: #131415;
}

/***************
Url shortener
***************/
#url-shortener {
  color: #D75293;
}

/***************
Map converter
***************/
#map-converter {
  color: #DA5B5B;
  flex-direction: row;
}
#map-converter img {
  margin-bottom: -40px;
  margin-left: -20px;
}
#map-converter div {
  font-size: 1rem;
  margin-top: -20px;
  margin-left: -40px;
  text-align: left;
}

/***************
Go | Upload
***************/
#go-upload {
  color: #DCA527;
  flex-direction: row;
}
#go-upload img {
  height: 140px;
  width: auto;
}
#go-upload span {
  margin-top: -60px;
  margin-right: -48px;
}

/***************
AvoDo | Todo
***************/
#avo-do {
  color: #4957E2;
}
/*
/***************
Bigwwwave
***************/
#bigwwwave {
  color: #CE2E3C;
}
#bigwwwave img {
  height: 130px;
  width: auto;
}

/***************
Sukkersjekk
***************/
#sukkersjekk {
  flex-direction: row;
}
#sukkersjekk img {
  height: 170px;
  width: auto;
  margin-bottom: -30px;
  margin-right: -30px;
}
#sukkersjekk div {
  margin-bottom: -70px;
  margin-right: -20px;
}
#sukkersjekk p {
  color: #36D2C1;
  line-height: 0.6;
  margin-bottom: -10px;
}
#sukkersjekk span {
  color: #1F1F1F;
  font-size: 0.8rem;
  font-weight: 100;
}

/***************
Tesla referral app
***************/
#tesla {
  color: #131415;
}

/***************
Note calculator
***************/
#note-calc {
  /*color:rgb(92, 41, 201);*/
  color:rgb(202, 187, 76);
}
#note-calc img {
  height: 130px;
  width: auto;
}
#note-calc div:first-child {
  margin-bottom: -20px;
}
#note-calc div:last-child {
  margin-top: -20px;
}

/***************
Sumify
***************/
#sumify {
  color:rgb(8, 85, 180);
}
#sumify img {
  height: 130px;
  width: auto;
}
#sumify div:last-child {
  margin-top: -20px;
}

/***************
Footer
***************/

footer {
  margin-top: -40px;
  width: 100%;
}

#copyright {
  font-size: 10px;
  font-weight: 100;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* tablet */
@media (max-width: 1230px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* mobile 768px */
@media (max-width: 870px) {
  h1 {
    line-height: 1.8;
  }
  h2 {
    margin-top: -50px;
    padding-bottom: 30px;
  }
  footer {
    margin-top: -25px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .cards {
    grid-template-columns: 1fr;
  }
}