html {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

body {
    /* begin in light mode */
    background-color: #ffffff;
    color: #212121;
    font-family: 'Roboto', sans-serif;
}

button {
    background-color: transparent;
    color: #212121;
    font-size: 26px;
    border: none;
    cursor: pointer;
}

#load-in-theme {
    background-color: #ffffff;
    color: #212121;
}
 
.dark-mode {
    background-color: #212121;
    color: #ffffff;

    /* https://stackoverflow.com/questions/4411306/transition-of-background-color */
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

.light-mode {
    background-color: #ffffff;
    color: #212121;

    /* https://stackoverflow.com/questions/4411306/transition-of-background-color */
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

.name {
    font-weight: bold;
    font-size: 18px;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.name:hover {
    transform:scale(1.07);
}

#contact {
    cursor: pointer;
}

#my-projects {
    cursor: pointer;
}

#dropDownMenu {
    display: none;
}

/*-----------------*/
/* flex containers */
.flex-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.flex-container > div {
    width: auto;
    margin: 10px;
    text-align: center;
  }

.box1 {
    width: 40%;
    padding-left: 30%;
    padding-right: 30%;
}

.box2 {
    width: 40%;
    padding-left: 30%;
    padding-right: 30%;
}

.box3 {
    width: 100%;
}

/*---------------------------*/

#mountainHockey {
    padding-top: 2%;
    width: 100%;
    padding-bottom: 2%;
    transition: all .2s ease-in-out;
}

#mountainHockey:hover {
    transform:scale(1.05);
}

#themeChange {
    border-radius: 5px;
    background-color: #ec4b7b;
    padding: 10%;
    text-align: center;
}

/* #themeChange:hover {
    transform:scale(1.07);
} */

#resume {
    cursor: pointer;
    color: #ec4b7b;
    font-weight: bold;
}

#resume:hover {
    text-decoration: underline;
}

#overview {
    font-size: 16px;
    padding: 10px;
}

#keyboard-page {
    cursor: pointer;
    color: #ec4b7b;
    font-weight: bold;
}

#keyboard-page:hover {
    text-decoration: underline;
}

#appStore-link {
    cursor: pointer;
    color: #ec4b7b;
    font-weight: bold;
}

#appStore-link:hover {
    text-decoration: underline;
}

#appStoreTwo-link {
    cursor: pointer;
    color: #ec4b7b;
    font-weight: bold;
}

#appStoreTwo-link:hover {
    text-decoration: underline;
}

#cgWebsite {
    cursor: pointer;
    color: #ec4b7b;
    font-weight: bold;
}

#cgWebsite:hover {
    text-decoration: underline;
}

#project-page {
    cursor: pointer;
    color: #ec4b7b;
    font-weight: bold;
}

#project-page:hover {
    text-decoration: underline;
}

#youtube-link {
    cursor: pointer;
    color: #ec4b7b;
    font-weight: bolder;
}

#youtube-link:hover {
    text-decoration: underline;
}

.border {
    border: 3.5px solid #bdbcba;
    text-align: center;
    border-radius: 12px;
    padding: 0px 4.5px 0px 4.5px;
}

.tabs {
    padding-top: 5%;
    font-size: 20px;
    font-weight: bold;
}

.inside-tabs {
    font-size: 16px;
}

/* .links {
    font-size: 26px;
    transition: all .2s ease-in-out;
}

.links:hover {
    transform:scale(1.07);
    text-decoration: underline;
} */

a:link {
    color: #212121;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease-in-out;
}
  
  a:visited {
    background-color: transparent;
    color:initial;
    text-decoration: none;
}
  
  a:hover {
    background-color: transparent;
    text-decoration: none;
    transform:scale(1.07);
}


/* Contact me page stuff */

textarea {
    width: 100%;
    text-align: start;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: none;
    /*border*/
    border: 2px solid #bdbcba;
    border-radius: 10px;
}

textarea:focus {
    border: 3px solid #555;
}

input[type=email], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /*border*/
    border: 2px solid #bdbcba;
    border-radius: 10px;
}

input[type=email]:focus {
    border: 3px solid #555;
}
  
#email-button {
    width: 100%;
    background-color: #ec4b7b;
    font-size: 16px;
    color: #404040;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#email-button:hover {
    -moz-box-shadow:    inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow:         inset 0 0 10px #000000;
}


/* input[type=text], select {
    width: 100%;
    height: 100px;
    text-align: start;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;

    border: 2px solid #bdbcba;
    border-radius: 10px;
}

input[type=text]:focus {
    border: 3px solid #555;
} */

/* Social Media */
/*https://codepen.io/kieranfivestars/pen/gbOWbM/ */
  /* Icons */
  

#container {
    position: relative;
    text-align: center;
    padding-top: 22px;
    width: 100%;
}
  
.social-media-button {
    display: inline-block;
    color: #212121;
    text-decoration: none;
    margin: 0px 25px;
    position: relative;
    -webkit-transition-duration: 0.4s; 
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition-duration: 0.4s;
}
  
.social-media-button:hover {
    opacity: 0.9;
    top: -3px;
    /* text-shadow: 2px 3px 5px black; */
}

/* Pop up when hovered on phone number icon */

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
  
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #212121;
    color: #ffffff;
    text-align: center;
    border-radius: 3px;
    padding: 5px 0;
  
  /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
}
  
.tooltip:hover .tooltiptext {
    visibility: visible;
}


/* SOCIAL MEDIA */

/* End of Contact me page stuff */


/* My keyboards page */
#keyboard-intro {
    padding-bottom: 20px;
}

#keyboard-img {
    width: 100%;
    transition: all .2s ease-in-out;
}

#keyboard-img:hover {
    transform:scale(1.05);
}

.card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    background-color: #f2f2f2;
    margin-bottom: 2rem;
}

.card > div {
    padding: 1%;
}

.card:nth-child(even) img {
    order: 2;
}

#scrollToTopBtn {
    display: none;
    width: 100%;
    background-color: #ec4b7b;
    font-size: 16px;
    color: #404040;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    
}

#scrollToTopBtn:hover {
    -moz-box-shadow:    inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow:         inset 0 0 10px #000000;
}

/* End of My keyboards page stuff */
  
/* Phone size setting */

@media (max-width: 1010px) {

    html, body { 
        overflow-x: hidden;
    }

    a:hover {
        transform:scale(1.00);
    }

    .flex-container {
        display: flex;
        /* justify-content: end; */
    }

    .box1 {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .box2 {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .name {
        margin-right: auto;
        padding-left: 2%;
    }

    .name:hover {
        transform:scale(1.00);
    }

    #dropDownMenu {
        display: block;
    }

    #contact {
        display: none;
    }

    #my-projects {
        display: none;
    }

    #themeChange {
        margin-left: auto;
        margin-right: auto;
        font-size: 26px;
        padding: 0px;
        border-radius: 5px;
        background-color: #ec4b7b;
    }


    /* drop down menu button */

    .dropbtn {
        cursor: pointer;
        padding: 0px;
    }
      
    .dropdown {
        position: relative;
        display: inline-block;
    }
      
    .dropdown-content {
        display: none;
        position: absolute;
        top: 45px;
        background-color: #ffffff;
        border-radius: 10px;
        min-width: auto;
        overflow: hidden;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.588);
        z-index: 1;
        left: 1 !important;
        right: 0 !important;
    }
      
    .dropdown-content a {
        color: black;
        padding: 10px 100px 10px 20px ;
        text-decoration: none;
        display: block;
    }

    .social-media-button {
        display: inline-block;
        color: #212121;
        text-decoration: none;
        margin: 0px 15px;
        position: relative;
        -webkit-transition-duration: 0.4s; 
        -moz-transition-duration: 0.4s;
        -o-transition-duration: 0.4s;
        transition-duration: 0.4s;
    }
      
    .dropdown a:hover {
          background-color: #ddd;
          text-decoration: underline;
    }
      
    .show {
          display: block;
    }

    /* keyboard page */
    .card {
        display: block;
    }

    #scrollToTopBtn {
        display: block;
        width: 100%;
        background-color: #ec4b7b;
        font-size: 16px;
        color: #404040;
        padding: 14px 20px;
        margin: 8px 0;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    /* Contact page */

    #social-media-button {
        display: inline-block;
        color: black;
        text-decoration: none;
        margin: 4px 20px;
        position: relative;
        -webkit-transition-duration: 0.4s; 
        -moz-transition-duration: 0.4s;
        -o-transition-duration: 0.4s;
        transition-duration: 0.4s;
    }
      
    /* Do not show pup up text in phone view */
    .tooltip:hover .tooltiptext {
        visibility: hidden;
    }
}