@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;600&family=Press+Start+2P&family=Quicksand:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DotGothic16&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap");

/* Root */

*,
*:after,
*:before {
  margin: 0;
}

/***    Variables    ***/
:root {
  --primary-colour: rgb(0, 0, 0);
  --secondary-colour: rgb(255, 237, 207);
  --accent-colour: #ff8800;
  --accent-colour-second: #ff5100;
  --accent-colour-third: #e96427ad;
  --primary-font: "Dosis", sans-serif;
  --secondary-font: "Silkscreen", cursive;
  --logo-font: "Press Start 2P", cursive;
}

/* General Styling*/
html {
  scroll-behavior: smooth;
  font-size: 1.125em;
}

.toggle-hidden {
  visibility: hidden;
}
.hide {
  display: none;
}

body {
  background-color: var(--primary-colour);
  color: var(--secondary-colour);
}

a {
  list-style: none;
  color: var(--secondary-colour);
  text-decoration: none;
  font-family: var(--primary-font);
}

li {
  list-style: none;
  font-family: var(--primary-font);
}

ul {
  padding-left: 0;
}

button {
  font-family: var(--primary-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--secondary-font);
  font-weight: lighter;
}

h1 {
  font-size: 2rem;
}
h4 {
  font-size: 1.3rem;
}

p {
  font-family: var(--primary-font);
  padding-bottom: 2%;
  line-height: 1.4rem;
  max-width: 70ch;
}
header a {
  font-family: var(--logo-font);
}

#hide-screen {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10;
}
.setup {
  z-index: 20;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0%;
}
.lightbulb-overall {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}
.lightbulb-other .lightbulb-here {
  padding: 0 3.5%;
}
.lightbulb-string {
  cursor: pointer;
  padding: 0 2%;
  position: relative;
  top: -70px;
  max-width: 2%;
}
#overlay-bulb {
  max-width: 30%;
}
#header-bulb {
  max-width: 37%;
}

.lightbulb-other {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
}

#clickMeImage {
  position: absolute;
  max-width: 15%;
  z-index: 15;
  top: 30%;
  right: 4%;
}

.linkedIn img {
  background-color: white;
  border-radius: 20%;
  max-width: 100%;
}
.linkedIn {
  max-width: 2%;
}
footer {
  padding: 2% 0;
}

footer p {
  padding-bottom: 0;
  text-align: center;
}

.contactP {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  footer p {
    max-width: 100%;
    text-align: center;
  }
  #overlay-bulb {
    max-width: 15%;
  }
  #header-bulb {
    max-width: 18%;
  }
  .lightbulb-string {
    max-width: 1%;
  }
  #clickMeImage {
    max-width: 7%;
    top: 20%;
    right: 18%;
  }
}

@media screen and (min-width: 1101px) {
  #overlay-bulb {
    max-width: 74.5%;
  }
  #header-bulb {
    max-width: 90%;
  }
  .lightbulb-string {
    max-width: 5%;
  }
  .lightbulb-overall {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
  }
  .setup {
    top: 0;
    left: 0;
    width: 15vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
  }
  .lightbulb-other .lightbulb-here {
    padding: 0 7%;
  }
  #clickMeImage {
    max-width: 5%;
    top: 27%;
    left: 15%;
  }
  footer p {
    margin: 0 auto;
  }
}

.swing {
  animation-name: swing;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transform-origin: center -20px;
  float: left;
}
.pull {
  animation-name: pull;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-direction: normal;
  transform-origin: center -20px;
}

@keyframes swing {
  0% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(-2deg);
  }
}

@keyframes pull {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(30px);
  }
  100% {
    transform: translateY(0px);
  }
}
