@import url('https://fonts.googleapis.com/css?family=Karma:500');

:root {
  --blue1: #99D4F0;
  --blue2: #45B8F3;
  --blue3: #45b2fb;
  --yellow1: #FCC646;
  --yellow2: #FADF9B;
  --playOrange: #ec6133;
  --bs: 0 5px 15px rgba(0,0,0,0.5);

}

body {
  background: #202A44;
  min-height: 100vh;
  font-family: 'Karma', serif;
  color: #f6f6f6;
  letter-spacing: 0.1em;

}
h3 {
  text-transform: uppercase;
  text-align: center;
  font-size: 16px;
}

.egg-container {
  text-align: center;
  grid-row: 4;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.carton {
  display: grid;
  margin: 5vh auto;
  grid-template-columns: repeat(4, 200px);
  grid-gap: 50px;
  width: 1000px;
}
.carton h1, .egg-timer {
  font-size: 4vw;
  margin: 0 0 5px;
  grid-column-start: span 4;
  grid-row: 1;
  /* position: fixed; */
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  text-align: center;
}
.egg-timer {
  grid-row: 2 / 4;
  top: 70px;
  grid-column-start: span 4;
  text-align: center;
  font-size: 3vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}
@media (max-width:800px) {
  .carton h1 {
    font-size: 40px;
  }
  .egg-timer {
    font-size: 28px;
  }
}
.egg-timer a  {
  height: 50px;
  width: 50px;
  line-height: 50px;
  border-radius: 50%;
  position: relative;
  border-width: 0;
  overflow: hidden;
}
.egg-timer a:before {
  font-size: 25px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: var(--bs);
  content: '';
  z-index: 0;
}
.egg-timer a:after {
  color: white;
  position: relative;
  font-size: 20px;
}
.egg-timer a.start:before {
  background: var(--playOrange);
}
.egg-timer a.pause:before {
  background: var(--yellow1);
}
.egg-timer a.start:after {
  content: '▶';
}
.egg-timer a.pause:after {
  content: '❚❚';
}
.egg, .egg::before {
  display: block;
  width: 200px;
  height: 250px;
  background: white;
  border-top-left-radius: 50% 60%;
  border-top-right-radius: 50% 60%;
  border-bottom-left-radius: 50% 40%;
  border-bottom-right-radius: 50% 40%;
  position: relative;
  cursor: pointer;
}
.egg::after {
  content: '';
  position: absolute;
  height: 110px;
  width: 110px;
  border-radius: 50%;
  background: var(--yellow1);
  top: 40%;
  left: 22%;
}
.egg.soft {
  background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.6) 10%, white 90%);
}
.egg.medium-soft {
  background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.8) 5%, white 95%);
}
.egg.medium-soft::after {
  background: radial-gradient(circle closest-side,
      var(--yellow2) 10%, var(--yellow1) 90%);
}
.egg.medium-hard::after {
  background: radial-gradient(circle closest-side,
      var(--yellow1) 10%, var(--yellow2) 90%);
}
.egg.hard::after {
  background: var(--yellow2);
}
.egg::before {
  box-shadow: var(--bs);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  content: '';
  position: absolute;
  z-index: -1;
}
.egg:hover::before {
  opacity: 1;
}


#article {
  text-align: left;
  padding: 10% 10% 1%;
}

#article h3{
  text-align: left;

}

a {
  color:yellow;
}