html {
  overflow: -moz-scrollbars-vertical;
}

body {
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #3c3d3f;
  text-align: left;
  max-width: 60%;
  margin: auto;
}

header {
  display: flex;
  margin-top: 36px;
  height: 64px;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  right: 50%;
}

header #title {
  color: white;
  background-color:hsl(220, 94%, 69%) ;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 48px;
  font-weight: bold;
  flex-grow: 1;
}


#close_button {
  background-image: url("../media/close33.png");
}

.add_image_container{
  display:flex;
  justify-content: center;
}

.add_image_container button{
  width: 300px;
}

.header_buttons{
  display: flex;
  gap: 9px;
}

footer {
  margin-top: 20px;
  text-align: center;
}

.alert {
  color: red;
}


/* Reference for toggling the button: https://css-tricks.com/the-checkbox-hack/ */

.visually_hidden {
    position: absolute;
    left: -100vw;
}

#create_image_form {
  display: none;
  position: absolute;
  top: 128px;
  transform: translateX(70px);
  transform: translateY(32px);
 
}

#toggle:checked ~ #create_image_form {
    display: flex;
}

label.btn {
  background:  hsl(220, 94%, 69%);
}

.all_posts {
  margin-top: 80px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  font-size: 36px;
  color: hsl(220, 94%, 69%);
}

.scroll_down {
  font-weight: bold;
  font-size: 36px;
  text-align: left;
  color:hsl(220, 94%, 69%);
  margin-top: 155px;
  animation-name: bounce;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  left: -178px;
  position: relative;
}

.scroll_down_right {
  font-weight: bold;
  font-size: 36px;
  text-align: left;
  color:hsl(220, 94%, 69%);
  margin-top: 155px;
  animation-name: bounce;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  left: 698px;
  position: relative;
}


/* Reference for animation : https://dev.to/ayushmanbthakur/bounce-animation-with-vanilla-css-2806 */
@keyframes bounce{
    0%{
        transform: translateY(0);
    }
    30%{
        transform: translateY(-70px);
    }
    50%{
        transform: translateY(5px);
    }
    70%{
        transform: translateY(-25px);
    }
    80%{
        transform: translateY(2px);
    }
    90%{
        transform: translateY(-15px);
    }
    100%{
        transform: translateY(0);
    }
}

.comment_btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.prev_icon {
  background-image: url("../media/left-icon.png");
  margin-right: 20px;
  width: 55px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

.complex_form .btn{
  width: 100%;
}

.next_icon {
  background-image: url("../media/right-icon.png");
  margin-left: 20px;
  width: 55px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}








