body {
    overflow:hidden;
    background-color: #000000;
    margin:0;
    padding:0;
    font-family: 'Karla',helvetica,arial;
}

a {
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Karla',helvetica,arial;
  font-weight: 550;
  font-style:italic;
  letter-spacing: 10px;
}

p {
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Karla',helvetica,arial;
  font-weight: 400;
  font-size:20px;
  font-style:italic; 
}

@keyframes hideToad {
  0%{opacity:1}
  75%{opacity:1}
  100%{opacity:0;display:none;}
}

@keyframes appearToad {
  0%{opacity:0}
  75%{opacity:0}
  100%{opacity:1}
}

@keyframes auroraBorealis {
    0%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3310,#81ff3300,#81ff3300,#81ff3300)}
    3%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3310,#81ff3320,#81ff3310,#81ff3300,#81ff3300)}
    6%{background: linear-gradient(270deg,#81ff3300,#81ff3310,#81ff3320,#81ff3330,#81ff3320,#81ff3310,#81ff3300)}
    9%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3310,#81ff3320,#81ff3310,#81ff3300,#81ff3300)}
    12%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3310,#81ff3300,#81ff3300,#81ff3300)}
    15%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    20%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    25%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    30%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    35%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    40%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    45%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    50%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    55%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    60%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    65%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    70%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    75%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    80%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    85%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    90%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    95%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    100%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}

  /*
    0%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    10%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3310)}
    20%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3310,#81ff3320)}
    30%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3310,#81ff3320,#81ff3330)}
    40%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3310,#81ff3320,#81ff3330,#81ff3340)}
    50%{background: linear-gradient(270deg,#81ff3300,#81ff3310,#81ff3320,#81ff3330,#81ff3340,#81ff3350)}
    60%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3310,#81ff3320,#81ff3330,#81ff3340)}
    70%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3310,#81ff3320,#81ff3330)}
    80%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3310,#81ff3320)}
    90%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3310)}
    100%{background: linear-gradient(270deg,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300,#81ff3300)}
    */
}


#background {
    position:relative;
    height: 105%;
    margin: -10px;
    background: url(bg.jpg) center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: #000000;
    z-index: -2;

}

#auroraBorealis {
  position: fixed;
  background: #00000000;
  height:100%;
  width:100%;
  top:0;
  left:0;
  animation: auroraBorealis 4s infinite;
  z-index: -1;
}

/* ABOUT */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 20%; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  /*background: linear-gradient(#81ff3300,#81ff3310,#81ff3320,#81ff3330,#81ff3340,#81ff3350);*/
  /*background-color: rgb(0,0,0); /* Fallback color */
  /*background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  margin: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 50px;
  padding-left: 40px;
  border: 2px none #ffffff;
  /*border-radius: 10px; pyöreet reunat */
  width: 35%;
}

/* The Close Button */
.close {
  color: #81ff33;
  float: right;
  font-size: 40px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #737373;
  text-decoration: none;
  cursor: pointer;
}

/* PROJECTS */
.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  right: 10%;
  top: 30%;
  overflow: auto; /* Enable scroll if needed */
  /*background: linear-gradient(#81ff3300,#81ff3310,#81ff3320,#81ff3330,#81ff3340,#81ff3350);*/
  /*background-color: rgb(0,0,0); /* Fallback color */
  /*background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content2 {
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Karla',helvetica,arial;
  font-weight: 550;
  font-style:italic;
  font-size:30px;
  text-align: center;
  letter-spacing: 10px;
  width: 300px;
}

/* The Close Button */
.close2 {
  color: #81ff33;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  width:300px;
}

.close2:hover,
.close2:focus {
  color: #737373;
  text-decoration: none;
  cursor: pointer;
}

#mousefrog{
    position:absolute;
}

#mobilefrog{
    position:fixed;
    display:none;
    right:-100;
    bottom:-80;
}

#title {
    position:fixed;
    z-index: 2;
    bottom:110px;
    left:205px;
    width:60%;
    text-align:left;
    color:#FFFFFF;
    font-family: 'Karla',helvetica,arial;
    font-weight: 700;
    font-size:200;
    font-style:italic;
    line-height: 86pt;
    animation: hideToad 3s forwards;
}

#top {
    position: fixed;
    left: 0; right: 0;
    top: 50px;
    /*background: linear-gradient(#ffc7bd, #ffc7bda8, #ffc7bd54, #ffc7bd00); */
    justify-content: center;
    align-items: center;
    display: flex;
    animation: appearToad 3s forwards;
}
  
#bottom {
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    /*background: linear-gradient(#ffc7bd00, #ffc7bd54, #ffc7bda8, #ffc7bd);*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
  
#left {
    position: fixed;
    top: 0; bottom: 0;
    left: 0;
    /*background: linear-gradient(90deg,#ffc7bd,#ffc7bd80, #ffc7bd00, #ffc7bd00,#ffc7bd00);*/
    display: flex;
    align-items: center;
    text-align: center;

}
  
#right {
    position: fixed;
    top: 0; bottom: 0;
    right: 0;
    /*background: linear-gradient(90deg,#ffc7bd,#ffc7bd80, #ffc7bd00, #ffc7bd00,#ffc7bd00);*/
    display: flex;
    align-items: center;
    text-align: center;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

#linkRight:hover {
    background: linear-gradient(90deg,#81ff3300,#81ff3325,#81ff3375,#81ff3375,#81ff3375,#81ff3395,#81ff3395,#81ff3375,#81ff3375,#81ff3375,#81ff3325,#81ff3300);
}

#linkLeft:hover {
    background: linear-gradient(90deg,#81ff3300,#81ff3300,#81ff3375,#81ff3395,#81ff3375,#81ff3300,#81ff3300);
}

.modal-content2:hover {
  background: linear-gradient(90deg,#81ff3300,#81ff3300,#81ff3375,#81ff3395,#81ff3375,#81ff3300,#81ff3300);
}


#linkLeft {
    text-decoration: none;
    font-family: 'Karla',helvetica,arial;
    font-weight: 550;
    font-style:italic;
    letter-spacing: 10px;

    color: #ffffff;
    font-size: 30px;
    width:205px;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    cursor: pointer;
    z-index: 100;
}

#linkRight {
    text-decoration: none;
    font-family: 'Karla',helvetica,arial;
    font-weight: 550;
    font-style:italic;
    letter-spacing: 10px;

    color: #ffffff;
    font-size: 30px;
    width:205px;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    cursor: pointer;
    z-index: 100;
}

#linkBottom {
    color: #ffffff;
    font-size: 50px;
    font-weight: 700;
    z-index: 100;
    font-family: 'Karla',helvetica,arial;
    font-style: italic;
}

#linkTop {
    color: #ffffff;
    font-size: 50px;
    font-weight: 700;
    line-height: 21pt;
    z-index: 100;
    font-family: 'Karla',helvetica,arial;
    font-style: italic;
    text-align: left;
}

@media only screen and (max-width: 1200px) {
    #title {
    display:none;
    }
    #top {
    display:flex;
    animation:none;
    }
    #mousefrog {
        display:none;
    }
    #mobilefrog {
        display:initial;
    }
}


@media only screen and (max-width: 900px) {
    #mousefrog {
    display:none;
    }
    #mobilefrog {
    display:initial;
    }

 .modal2 {
      right: 0;
      left:0;
      top: 15%;
      flex-direction: column;
    }
    .modal-content2 {
      align-self: center;
}
    .close2 {
      align-self: center;
}

@media only screen and (max-width: 555px) {
    .modal-content2 {
      background-color: rgba(0,0,0,0.9);
    }
    
}

@media only screen and (max-width: 375px) {
    .modal {
    padding-top: 40px; /* Location of the box */
    }
    .modal-content {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 20px;
    padding-left: 20px;
    width:55%;
    }
    
}


