@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");

body {
  transition: 0.3s;
  margin: 0;
  padding: 0;
  background-color: rgb(244, 241, 241);
  font-family: "Poppins", sans-serif;
  color: rgb(57, 57, 57);
}

h1 {
  font-size: 70px;
  line-height: 70px;
  font-weight: 300;
  margin: 10px 0;
}

h2 {
  font-size: 40px;
  line-height: 40px;
  font-weight: 300;
  margin: 50px 0 10px 0;
}

p {
  margin: 0px;
  font-size: 20px;
}

a {
  color: rgb(162, 0, 255);
  font-size: 20px;
  text-decoration: none;
  font-weight: 100;
}

.dark a {
  color: rgb(246, 169, 241);
}

header {
  display: flex;
  justify-content: flex-end;
  padding: 30px;
}

.buy-me-a-coffee {
  position: absolute;
  left: 60px;
  top: 20px;
  height: 60px;
  width: 217px;
}

.switch {
  width: 80px;
  height: 40px;
  border-radius: 20px;
  background-color: rgb(39, 38, 38);
  position: relative;
}

.flicker {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: rgb(255, 255, 255);
  position: absolute;
  top: 5px;
  left: 5px;
  transition: 0.3s;
  box-shadow: inset 4px 4px 4px rgb(255, 255, 255),
    inset -4px -4px 4px rgb(195 193 198 / 90%);
}

.dark {
  background-color: rgb(57, 57, 57);
  transition: 0.3s;
}

.moon {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  box-shadow: 4px 4px 0 0 rgb(255, 255, 255);
  position: absolute;
  top: 5px;
  left: 45px;
}

.dark .flicker {
  transform: translateX(40px);
}

.dark > * {
  color: rgb(255, 255, 255);
}

.main {
  height: 80vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

.main-text {
  padding: 30px;
  margin-bottom: 100px;
  line-height: 40px;
}

.links {
  color: rgb(146, 0, 134);
  font-weight: 300;
}

.dark .links {
  color: rgb(255, 251, 0);
  font-weight: 300;
}
.social-icon {
  color: black;
  margin-top: 1rem;
}

.dark .social-icon {
  color: white;
  margin-top: 1rem;
}

.hero-image {
  position: relative;
  width: 50%;
  height: 350px;
  display: block;
  margin-bottom: 100px;
}

.cube {
  position: absolute;
  width: 80px;
  height: 80px;
  /* transform: rotate(-25deg) skew(25deg); */
}

.cube:before {
  position: absolute;
  content: "";
  width: 11px;
  height: 100%;
  transform: skewY(-45deg);
  left: -10px;
  bottom: -5px;
}

.cube:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 11px;
  transform: skewX(-45deg);
  left: -5px;
  bottom: -10px;
}

#ruby {
  left: -30px;
  bottom: 150px;
  background-image: url("images/ruby.png");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#ruby:before {
  background-color: rgb(214, 214, 214);
}

#ruby:after {
  background-color: rgb(241, 241, 241);
}

#sql {
  left: 270px;
  bottom: -20px;
  background-image: url("images/sql.svg");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#sql:before {
  background-color: rgb(214, 214, 214);
}

#sql:after {
  background-color: rgb(241, 241, 241);
}

#python {
  left: 210px;
  bottom: 150px;
  background-image: url("images/python.svg");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#python:before {
  background-color: rgb(214, 214, 214);
}

#python:after {
  background-color: rgb(241, 241, 241);
}

#rails {
  left: 330px;
  bottom: 150px;
  background-image: url("images/rubyonrails.svg");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#rails:before {
  background-color: rgb(214, 214, 214);
}

#rails:after {
  background-color: rgb(241, 241, 241);
}

#html {
  left: 30px;
  bottom: -20px;
  background-image: url("images/html.svg");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#html:before {
  background-color: rgb(214, 214, 214);
}

#html:after {
  background-color: rgb(241, 241, 241);
}

#google-tensorflow {
  left: 150px;
  bottom: -20px;
  background-image: url("images/google-tensorflow.svg");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#google-tensorflow:before {
  background-color: rgb(214, 214, 214);
}

#google-tensorflow:after {
  background-color: rgb(241, 241, 241);
}

#aws {
  left: 90px;
  bottom: 150px;
  background-image: url("images/amazon-aws.svg");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#aws:before {
  background-color: rgb(214, 214, 214);
}

#aws:after {
  background-color: rgb(241, 241, 241);
}

#git {
  left: 390px;
  bottom: -20px;
  background-image: url("images/git.svg");
  background-size: cover;
  background-color: rgb(255, 255, 255);
  box-shadow: -20px 60px 20px rgb(50 50 50/ 15%);
}

#git:before {
  background-color: rgb(214, 214, 214);
}

#git:after {
  background-color: rgb(241, 241, 241);
}

@media screen and (max-width: 480px) {
  .buy-me-a-coffee {
    position: absolute;
    left: 56px;
    top: 35px;
    height: 30px;
    width: 108.5px;
  }
  .main-text {
    padding: 30px;
    margin-bottom: 100px;
    line-height: 20px;
  }
  .main-text h1 {
    line-height: 30px;
    font-size: 2rem;
    margin-top: 3rem;
  }

  .main-text h2 {
    line-height: 30px;
    font-size: 27px;
    margin-top: 2rem;
  }

  .main-text p {
    font-size: 15px;
    margin-top: 1rem;
  }

  .main-text a {
    font-size: 15px;
  }
}
@media only screen and (max-width: 1000px) {
  .hero-image {
    display: none;
  }
}
