/*
Colours
#0CBDEF
#414041
*/



/*Animations and Transitions*/

@keyframes firsttri{
	0% { left: -500px; top: -1000px; transform: rotate(90deg);}
	30% { left: 500px; top: -300px; transform: rotate(-90deg);}
	70% { left: 200px; top: -400px; transform: rotate(180deg); }
	100% {opacity: 0;}
}

@keyframes secondtri{
	0% { left: -500px; top: -1000px; transform: rotate(90deg);}
	50% { left: 1000px; top: -500px; transform: rotate(20deg);}
	75% { left: -200px; top: -700px; transform: rotate(180deg); }
	100% {left: 300px; top: -500px; transform: rotate(90deg); opacity: 0;}
}

@keyframes thirdtri{
	0% { left: 500px; top: -1500px; transform: rotate(90deg);}
	50% { left: -500px; top: -500px; transform: rotate(-90deg);}
	75% { left: 700px; top: -300px; transform: rotate(180deg); }
	100% {opacity: 0;}
}




/*General styles*/

* {
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: #414041;
    background-attachment: fixed;
    overflow-x: hidden;
}


.wrapper {
    min-width: 360px;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}


h1 {
    background-color: black;
    color: #0CBDEF;
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 300;
    padding: 15px;
    margin-bottom: 0px;
}

p {
    color: white;
    padding: 15px
}

img {
    width: 100%;
}

iframe {
    width: 100%;
}

button {
    background-color: transparent;
    padding: none;
    margin: none;
    border-radius: 0px;
    border: none;
}

/*Nav styles*/

#nav-logo {
    width: 50px;
}

nav {
    background-color: white;
    font-family: 'Raleway', Arial, sans-serif;
}

nav a {
    color: black;
    text-align: center;
}

nav li a:hover {
    color: #0CBDEF;
    background-color: black;
    transition: 1s ease;
}

.dropdown-menu {
    border: none;
    text-align: center;
}

.dropdown-menu a {
    color: black;
}

.dropdown-menu a:hover {
    color: #0CBDEF;
    background-color: black;
}

.dropdown-menu {
    border-radius: 0px;
}

/*FRONT PAGE*/



/*Title styles*/

.home {
    background-image: url(../img/header.gif);
}

#site-title {
    display: inline;
    float: left;
    position: absolute;
    margin: auto;
    margin-top: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: black;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
}

h3 {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 300;
    text-align: center;
    font-size: 1.2em;
    
}

/*Content styles*/
main {
    position: relative;
}

#ability-car {
    position: absolute;
    margin: auto;
    margin-top: -140px; 
    left: 0;
    right: 0;
    
}

#ability-car h2 {
    text-align: center;
    color: white;
    font-family: 'Raleway', Arial, sans-serif;
    margin: 0;
}

.landing-img-container {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.landing-img {
    position: absolute;
    top: 0;
    bottom:0;
    left: -9999px;
    right: -9999px;
    margin: auto;
    height: 100%;
    width: inherit;
}
/*Buttons*/

#landing-btns {
    position: relative;
}

#landing-btns a {
    color: white;
}

#landing-btns a h3:hover {
    color: black;
    background-color: #0CBDEF;
}

a h3 {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: -70px;
    background-color: rgba(12, 189, 239, 0.5);
    padding: 10px;
}

a h3:first-of-type {
    border-right: solid black 1px;
}




/*Animated triangles*/

.animatedtri {
	position: relative;
	width: 45px;
	height: 45px;
	float: left;
}


#firsttri {
	animation-name: firsttri;
	animation-duration: 40s;
	animation-iteration-count: infinite;
}

#secondtri {
	animation-name: secondtri;
	animation-duration: 15s;
	animation-iteration-count: infinite;
}

#thirdtri {
	animation-name: thirdtri;
	animation-duration: 30s;
	animation-iteration-count: infinite;
}

.landing-wrapper {
    overflow: hidden;
    max-width: 100%;
}

.tri-container {
background-color: #414041;
}


/*Footer styles*/

footer {
    background-color: #414041;
    box-shadow: 0 50vh 0 50vh #414041;
    padding-bottom: 30px;
    max-width: 100%;
}

#footer-icons {
    max-width: 100%;
    overflow: hidden;
}

footer h3 {
    color: white;
    padding-top: 50px;
}

footer a {
    color: white;
    text-align: center;
}

footer a i {
    font-size: 1.2em;

}

footer a p {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 300;
}

footer a:hover {
    color: #0CBDEF;
    text-decoration: none; 
}

footer a i:hover {
    transition: 1.5s ease;
    font-size: 2em;
}

footer a p:hover {
    color: #0CBDEF;
    text-decoration: none;
    transition: 1s ease;
}

/*About page styles*/

.topimg {
    margin-top: 75px
}

#how h2 {
    font-family: 'Raleway', Arial, sans-serif;
    padding: 30px;
    color: #0CBDEF;
    font-size: 1.2em;
}

div h2 a {
    font-family: 'Raleway', Arial, sans-serif;
    color: #0CBDEF;
}

div h2 a:hover {
    text-decoration: none;
    color: black;
    transition: 1.5s ease
}

#how .how-info {
    padding-right: 0;
}
    
#how p {
    padding-left: 15px;
    padding-right: 30px;

}

#check-my-resume {
    display: block;
}

#check-my-resume-lg {
    display: none;
}

/*Portfolio page styles*/

main {
    margin-top: 75px;
    overflow: hidden;
}

/*port side scroll fix*/
.port-main {
    margin-left: 0px;
    margin-right: 0px;
}

.jumbotron {
    background: none;
    border: solid 2px #0CBDEF;
    margin 10px;
    border-radius: 0px;
}

.jumbotron #jumbo-intro {
    background-color: rgba(0, 0, 0, 0);
    font-weight: 900;
    
}

.jumbotron h2 {
    color: white;
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 300;
    font-size: 1.5em;
    padding: 20px;
    color: #0CBDEF;
}

#yeti {
    max-height: 500px;
    max-width: 236.656px;
    height: auto;
    object-fit: fill;
}


hr {
    background-color: #0CBDEF;
    height: 2px;
    width: 80%;
}

.jumbotron a {
    border: double 5px #0CBDEF;
    padding: 5px;
    text-align: center;
    color: #0CBDEF; 
}

.jumbotron a:hover {
    background-color: #0CBDEF;
    color: black;
    text-decoration: none;
    transition: 1.5s ease;
}

div .card-header {
    background-color: #414041;
}

.port-img-container {
    position: relative;
    transition: 1.5 ease;
    overflow: hidden;
    padding-bottom: 100%;
    width: 100%;
    border: none;
    border-radius: 0px;
}

.portfolio-img {
    position: absolute;
    left: 0;
    top: 0;
}

.card-body {
    border: solid 2px #0CBDEF;
}

.h-overflow {
    width: inherit;
    object-fit: cover;
    height: 100% 
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #0CBDEF;
    margin: auto;
    opacity: 0;
    transition: all 1.5s ease;
}

.overlay:hover {
    opacity: 0.9;
}

.overlay h2 {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 300;
    text-align: center;
    color: black;
    padding: 20px;
}

.piece-title {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.piece-imagery h2 {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 900;
    color: #0CBDEF;
    padding: 10px;
    padding-top: 0px;
    font-size: 1.9em;
}

.card-header {
    border: none;
    background-color: rgba(0, 0, 0, 0);
}

.card-body {
    position: relative;
}

.piece-imagery p a {
    color: #0CBDEF;
}

.piece-date {
    color: #0CBDEF;
    padding-top: 0;
}

/*Modal adjustments*/

.modal-content {
    background: rgba(0, 0, 0, 0.3);
}

.modal-header {
    border: none;
}

.modal button {
    background-color: #0CBDEF;
}

.modal-button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    border-radius: 0;
}

.modal-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transition: 1s ease;
    
}

/*z-index reordering so buttons will still work after expanded*/

.card-header {
    z-index: 999;
}

/*Styles for Table size viewport*/

@media (min-width: 768px) {
    
    /*All*/
    
    body {
        background-image: url(../img/staticbg.png);
    }
    
    h1 {
        padding-left: 30px;
    }
    
    p {
        font-size: 1.1em;
    }
    
   .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 25px;
       padding-left: 25px;
    }
    
    nav li:first-of-type {
        margin-left: 50px
    }
    
    /*Front Page*/
    
    .landing-img-container {
        height: 700px;
    }
    
    /*About Page*/
    
    .how-img-container {
        box-sizing: border-box;
        padding: 20px;
        padding-bottom: 
    }
    
    .odd-p {
        padding-left: 0;
    }
    
    #check-my-resume {
        
    }
    
    #how h2 {
        padding: 10px;
        border: solid 2px;
    }
    
    #about {
        padding-top: 30px;
    }
    
    
    #about p {
        margin-bottom: 0;
    }
    
    #check-my-resume-lg {
        display: inline;
    }
    
    #check-my-resume {
        display: none;
    }
    
    #how p {
        margin: 0;
        padding-left: 30px;
    }
    
    #how p:first-of-type {
        padding-top: 45px;
    }
    
    #hobby p {
        margin: 0;
    }
    
    #hobby p:first-of-type {
        padding-top: 45px;
    }
    
    #hobby p, #about p {
        padding-left: 30px;
        padding-right: 30px;
    }
    
   /* Portfolio Page*/
    
    .jumbotron {
        margin: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .jumbotron h2 {
        font-size: 2em
    }
    
    .accordion hr {
        display: none;
    }
    
    .port-item {
        position: relative;
    }
    
    .card-header {
        margin: 0;
        padding: 0;
        float: left;
    }
    
    .card-body {
        clear: both;
    }
    
    iframe {
        min-height: 500px;
    }
    
    footer {
        clear: both;
    }
}

/*Styles for desktop*/
@media (min-width: 992px) {
    
    /*All*/
    p {
        font-size: 1.3em;
    }
    
    /*Front Page*/
    
    #site-title {
        font-size: 3em;
        font-weight: 500;
    }
    
    .landing-img-container {
        height: 900px;
    }
    
    #landing-btns a {
        font-size: 1.3em;
    }
    
    #ability-car h2 {
        font-size: 2.5em;
    }
    
    
    /*About Page*/
    
    /*Portfolio Page*/
    .stick-desc {    
        position: sticky;
        z-index: 1;
        left: 10px;
        top: 200px;
        overflow-x: hidden;
        padding: 8px 0;
    }
    
    #ability-car {
        margin-top: -170px
    }
    
    iframe {
    height: 300px;
    max-width: 700px;
    }
    
    .piece-imagery h2 {
        margin-bottom: 20px;
    }

}