/*#region Built-Ins */
html {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgb(14, 14, 41);
    min-width: 300px;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
    color: rgb(14, 14, 41);
}

h3 {
    font-size: 30px;
}

strong {
    color: rgb(35, 35, 102)
}

textarea {
    height: auto !important;
    resize: none;
}

button {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 25px;
    background-color: #40aa5e;
    border-radius: 5px;
    border: none;
    padding: 10px 20px;
    color: white;
    margin: 25px 0px;
}

button:hover {
    filter: brightness(75%);
}

a:hover, a:active {
    filter: brightness(75%);
}
/*#endregion */

/*#region Header*/
#header {
    display: flex;
}

#header img {
    width: 100px; 
    height: 100px; 
    margin-top: auto; 
    margin-bottom: auto;
}

#header_title {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: black !important;
}

#header_title p {
    margin: 0px;
}

#name {
    font-weight: bold;
    font-size: 40px;
}

#title {
    font-size: 20px;
}
/*#endregion */

/*#region Home*/
#home {
    color: white;
    background-image: url('../media/background.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;  /* Firefox 3.6 */
    background-position: center;  /* Internet Explorer 7/8 */
    height: 100%;
    padding: 10%;
}

#skills_p {
    font-size: 50px; 
    opacity: 0%;
    position: relative; /* allows for the animation of moving upwards out of viewbox */
}

#menu {
    display: flex;
    background-color: rgb(14, 14, 41);
    padding: 10px 100px 10px;
    z-index: 1; /* needed so it can project over when stikcy */
}

/* changes in Small Resolution Style */
.nav {
    font-size: 25px;
    color: white;
    padding: 0px 25px;
    cursor: pointer;
    transition: 0.75s;
}

.nav:hover {
    color: #40aa5e;
}

.active {
    color: #40aa5e;
}

/* changes in Small Resolution Style */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

/* changes in Small Resolution Style */
.sticky + .content {
    padding-top: 75px;
}
/*#endregion */

/*#region Projects */
.project {
    color: black;
    transition: 2s;
    background-repeat: no-repeat;
    background-size: cover;
    -moz-background-size: cover;  /* Firefox 3.6 */
    background-position: center;  /* Internet Explorer 7/8 */
    width: 15vw;
    height: 15vw;
    transition: 1s;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    cursor: pointer;
}

.project_show {
    width: 20vw;
    height: 20vw;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    background-color: rgb(233, 233, 233);
    opacity: 75%;
}

.project_lbl {
    font-size: 3.25vw;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
    opacity: 0%; 
}

#wood {
    background-image: url('../media/wood.png');
}

#saw {
    background-image: url('../media/saw.png');
}

#toolbox {
    background-image: url('../media/toolbox.png');
}

#project_list {
    display: flex;
    justify-content: space-around;
}

.project_descpt {
    color: rgb(14, 14, 41);
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    transition: .5s;
    background-color: rgb(233, 233, 233);
    opacity: 0%; /* hide the description to start, show after click */
    position: absolute; /* so that we can overlap descriptions */
    padding: 25px;
    /* prevent page height from changing */
    overflow: hidden; 
    height: 0px;
}

.resp {
    background-color: rgb(14, 14, 41);
    border-radius: 25px;
    margin: 25px;
    color: white;
    flex: 0 0 200px;
    height: 50%;
}

.resp_title {
    text-align: center;
    text-decoration: underline;
    font-size: 20px;
}

.descpt {
    flex: 1;
}

/*#region Project GIFS */
.project_imgs {
    width: auto;
    height: auto;
}
/*#endregion */
/*#endregion */

/*#region Contact */
#contact {
    padding: 25px;
    width: 600px;
    margin: auto;
}

.input-block {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contactform text {
    text-align: left;
    color: rgb(128, 126, 126)
}
/*#endregion */

/*#region Custom Classes */
.shown {
    opacity: 100%;
    height: auto;
}

.row {
    display: flex;
    gap: 15px; 
}

.line {
    border-top: 3px solid rgb(14, 14, 41);
    width: 200px;
    margin: auto;
    margin-top: 25px;
}

#repolink {
    background-color: #40aa5e;
    border-radius: 5px;
    color: white;
    font-size: 25px;
    padding: 10px 20px;
    text-decoration: none;
}

#repolink_div {
    margin: 25px 0px;
}
/*#endregion */

/*#region Footer */
#footer {
    padding: 20px;
    color: white;
    background-color: rgb(14, 14, 41);
    font-size: 10px;
}

#footer a:link, a:visited {
    color: #40aa5e;
}

.form-control {
    font-size: 16px;
    border-radius: 0px;
    box-shadow: none;
    font-family: 'Noto Sans JP', sans-serif;
    width: 100%;
    height: 25px;
}
/*#endregion */

/*#region Small Resolution Style*/
@media (max-width: 1000px)
{
    #header img {
        width: 50px; 
        height: 50px; 
    }
    
    #name {
        font-size: 20px;
    }
    
    #title {
        font-size: 12px;
    }
    /* hidding the nav bar if mobile */
    .nav {
        transition: 0s;
        font-size: 0px;
        visibility: hidden;
    }
    .sticky {
        position: static;
    }
    .sticky + .content {
        padding-top: 0px;
    }
    .project {
        width: 25vw;
        height: 25vw;
    }
    .project_show {
        width: 30vw;
        height: 30vw;
    }
    .project_lbl {
        font-size: 5vw;
    }
    h1 {
        font-size: 30px;
    }
    #skills_p {
        font-size: 20px;
    }
    #contact {
        width: auto;
        padding: 0px;
    }
    .project_imgs {
        width: 100%;
        height: auto;
    }
}
/*#endregion */
