* {
    margin: 0;
}

body {
    background-color: white;
    text-align: center;
}

h1 {
    font-family: 'Sacramento', Roboto, cursive;
    margin: 10px auto 0 auto;
    font-size: 5.625rem;
    color: #9DC08B;
    animation-name: headings-reverse;
    animation-duration: 1.5s;
}

h2, h3, p {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    animation-name: headings-reverse;
    animation-duration: 1.5s;
}

h2 {
    font-size: 2rem;
    color: #9DC08B;
    margin: 10px auto 10px auto;
}

h3 {
    color: #609966;
    margin: 10px auto 10px auto;
}

p {
    color: #40513B;
    line-height: 2;
}


.top-container {
    position: relative;
    background-color: #EDF1D6;
    padding-top: 60px;
    animation-name:  section-background-reverse;
    animation-duration: 1.5s;
    z-index: -10;
}

.middle-container {
    background-color: #F4FCEF;
    padding-top: 50px;
}

.bottom-container {
    
    background-color: #EDF1D6;
    height: 100px;
    margin: auto;
}

.bottom-cloud {
    position: absolute;
    left: 300px;
    top: 320px;
}

.top-cloud {
    position: absolute;
    right: 300px;
    top: 50px;
}

.beach-img {
    position: relative;
    width: 340px;
    margin-top: 38px;
    z-index: 0;
    overflow: hidden;
}

.mountain {
    width: 50%;
    position: relative;
    z-index: 0;
    overflow: hidden;
}


hr {
    border-top: 7px lightgray dotted;
    border-bottom: none;
    border-left: none;
    border-right: none;
    width: 5%;
    margin: 50px auto 50px auto;
}

.surfpic {
    width: 200px;
    border-radius: 50%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.pic1 {
    width: 15%;
    float: left;
    margin-right: 30px;
}

.pic2 {
    width: 15%;
    float: right;
    margin-left: 30px;
    padding-top: 10px;
}

.skill-row {
    width: 40%;
    margin: 50px auto;
    text-align: left;
    line-height: 2;
}

.contact-me {
    margin: 50px auto 0 auto;
    width: 40%;
    height: 300px;
}

.btn {
    background: #9DC08B;
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    position: relative;
    top: 20px;
  }

  .btn-dark {
    background: #8AAABF;
  }

  .switch {
    background-color: #8AAABF;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    color: #EDF1D6;
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    border: #40513B;
  }

  .switch-dark {
    background-color: #EDF1D6;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    color: #8AAABF;
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    border: #40513B;
  }

  .switch:hover {
    background-color: lightgray;
  }
  
  .btn:hover {
    background: darkgrey;
    text-decoration: none;
    color: #ffffff;
  }

a {
    text-decoration: none;
    margin: 20px;
    color: #609966;
    font-family: 'Roboto', sans-serif;
    display: inline-block;
  }

a:hover {
    color: #40513B;
}

.dark-mode {
    background-color: #8AAABF;
    color: white;
    animation-name: section-background;
    animation-duration: 1.5s;
}

.middle-container-dark {
    background-color: #E6F4F1;
}

.h1-dark {
    font-family: 'Sacramento', Roboto, cursive;
    margin: 10px auto 0 auto;
    font-size: 5.625rem;
    color: white;
    animation-name: headings;
    animation-duration: 1.5s;
}

.h2-dark {
    font-size: 2rem;
    color: white;
    margin: 10px auto 10px auto;
    animation-name: headings;
    animation-duration: 1.5s;
}

.h3-dark {
    color: #8AAABF;
}

.a-dark {
    color: white;
}

.p-dark {
    color: darkgray;
}


@media only screen and (max-width: 600px) {
    .top-container {
        padding-top: 190px;
      
    }
    .mountain {
      width: 100%;
      margin-top: 150px;
    }
    .beach-img {
        width: 310px;
        margin-top: 93px;
    }

    .skill-row {
        width: 80%;
    }
    .contact-me {
        width: 80%;
    }
    .top-cloud {
        top: 120px;
        left: 10px;
        width: 100px;
    }
    .bottom-cloud {
        width: 100px;
        top: 450px;
        right: 10px;
    }
    .pic1 {
        width: 25%;
    }
    .pic2 {
        width: 25%;
    }
    .btn {
        top: 0px;
    }
    hr {
        width: 20%;
    }
  }

  @media only screen and (min-width: 1800px) {
    .top-container {
        padding-top: 220px;
    }
    .beach-img {
        margin-top: 110px;
        width: 450px;
    }
    .mountain {
        margin-top: 102px;
        width: 35%;
      }
    
      .bottom-cloud {
        position: absolute;
        left: 400px;
        top: 550px;
    }
    
    .top-cloud {
        position: absolute;
        right: 400px;;
        top: 150px;
    }
  }

  .fade-in {
    -webkit-animation: 3s ease 0s normal forwards 1 fadein;
    animation: 1s ease 0s normal forwards 1 fadein;
  }

  .fade-out {
    -webkit-animation: 3s ease 0s normal forwards 1 fadeout;
    animation: 1s ease 0s normal forwards 1 fadeout;
  }

  @keyframes section-background {
    from {background-color: #EDF1D6;}
    to {background-color: #8AAABF;}
  }

  @keyframes section-background-reverse {
    from {background-color: #8AAABF;}
    to {background-color: #EDF1D6;}
  }

  @keyframes headings-reverse {
    from {color: #8AAABF;}
    to {color: #EDF1D6;}
  }

  @keyframes headings {
    from {color: #EDF1D6;}
    to {color: #8AAABF;}
  }

  @keyframes fadein{
    0% { -webkit-transform: translateY(150%); }
    100% { -webkit-transform: translateY(0); }
 }
 @keyframes fadeout{
    0% { -webkit-transform: translateY(0); }
    100% { -webkit-transform: translateY(150%); }
 }

 .hidden {
    display: none;
 }

 .snowflake {
    color: #fff;
    font-size: 1em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
  }
  
  @-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}
