* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

::selection { background-color: #4F86C6; color: #eee; text-shadow: none; }


body{
    color: #222222;
    background: #eee;
    text-shadow: .1em .1em rgba(17, 17, 17, 0.1);
}

a{ color: #4F86C6;}
a:hover{ color: #84ABD7;}

.wrapper {
    width: 75vw;
    margin: 0 auto;
    font-family: sans-serif;
}

.wrapper > *{
    margin-top: 5rem;
}

header {
    text-align: center;
    font-size: 3.2rem;
}

h1{
    margin-bottom: 0.4em;
    font-size: 1em; line-height: 1.5em;
    text-decoration: underline; text-decoration-color: #4F86C6; text-decoration-skip-ink: none;
}

header > h2{
    font-size: .7em; line-height: 1.5em;
    text-decoration: underline; text-decoration-color: #4F86C6; text-decoration-skip-ink: none;
    margin-bottom: 0.315em;
}

h2{
    margin-bottom: .42em;
    font-size: 2.4rem; line-height: 1.5em;
    text-decoration: underline; text-decoration-color: #4F86C6; text-decoration-skip-ink: none;
}

h3{
    margin-bottom: .5em;
    font-size: 2.0rem; line-height: 1.5em;
    text-decoration: underline; text-decoration-color: #4F86C6; text-decoration-skip-ink: none;
}

h4{font-size: 1.6rem; line-height: 1.5em;}


p{
    margin-top: .625em;
    font-size: 1.6rem;line-height: 1.5em;
}

li {list-style-type: none;}

button{
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

@keyframes micro {
    0% {transform: scale(1);}
    50% {transform: scale(.95);}
    100% {transform: scale(1);}
}

.flex{display: flex; justify-content: space-between;}
.flex > *{width: 50%;}

#picofme{
    position: relative;
}

#picofme img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-section{
    border-left: solid .6em #109d49;
    border-radius: .25em;
    padding-left: 2em;
    margin-right: 5em;
}

.text-section ul{padding-left: 1.25em;font-size: 1.6rem;line-height: 1.5em;}

.text-section li{
    list-style-type: disc;
}




.section__education h3{
        font-size: 1.6rem;
        text-decoration: none;
}
/*Cards*/
#section__websites .glide__slide{
    padding: 1em;
}

.card {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: 0.5s;
    height: 21vw;
}

.card .front figure{
    max-height: 65%;
}
.card .front svg {
    max-width: 90%;
    max-height: 100%;
}

.card.flipped {
    transform: rotatey(-180deg);
}

.card .side {
    width: 100%;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    backface-visibility: hidden;
    box-shadow: 0 0 .5em rgba(0, 0, 0, 0.6);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: .5em;
    text-align: center;
    justify-content: space-between;
}

.card .back {
    transform: rotatey(-180deg);
    background: #f5f5f5;
}

.card .back .infoContainer{
    width: 90%;
    margin: 0 auto;
    text-align: left;
    max-height: 65%;
    border-left: solid .3em #109d49;
    border-radius: .125em;
    padding-left: 1em;
}

.infoContainer p:first-of-type{
    margin-top: 0;
}

.card .back .btnContainer{
   margin-bottom: 15%;
}

.card .back div button{
    font-size: 1.6em;
    padding: .5em;
    width: 90%;
    display: block;
    margin: 0 auto;
    background: #4f86c6;
    color: #eee;
    border-radius: .25em;
    text-decoration: none;
    box-shadow: 0 0 .2em rgba(0, 0, 0, .4);
}

.card .back div button:hover{
    animation: micro .5s ease;
}

.card--alys > .side.front{background: #4fb5ea;}
.card--lha > .side.front{background: #c0c6dd;}
.card--sonic > .side.front{background: #4d4382;}
.card--outbackroos > .side.front{background: #7ac888;}

.card h3 {
    background: #222;
    padding: .25em;
    color: #eee;
    border-bottom: solid 3px #555;
    font-size: 1.6rem;
    text-decoration: none;
}

.card .date {
    background: #222;
    padding: .4em;
    color: #eee;
    border-top: solid 3px #555;
    font-size: 1.6em;
}

/*Glider Crap*/
.logos__row .glide__slides {
    height: 8em;
}

.logos__row  .logo_viewbox {
    height: 75%;
    overflow: visible;
    filter: drop-shadow(0 .25em .25em rgba(0, 0, 0, 0.75));
    position: relative;
    top: 12.5%;
}

.glide__arrow{
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 2em;
    height: 2em;
    margin-top: -1em;
    border-radius: 50%;
    background-color: #222;
    color: #eee;
    font-weight: 700;
    font-size: 3rem;
    border: solid .1em #444;
    cursor: pointer;
    box-shadow: 0 0 .2em rgba(0, 0, 0, .4);
    transition: 0.25s ease;
}

.glide__arrow:hover{
    animation: micro .5s ease;
}

.glide__arrow:active{
    transform: scale(.95);
    box-shadow: 0 0 .1em rgba(0, 0, 0, .4);
}

.glide__arrow.glide__arrow--left {left: -6.5rem;}
.glide__arrow.glide__arrow--right {right: -6.5rem;}

@media only screen and (max-width: 1366px){
    .card {height: 28vw;}
}
@media only screen and (max-width: 1024px){
    .card {height: 44vw;}
}

@media only screen and (max-width: 900px){
    .wrapper {width: 90vw;}
    .flex{flex-direction: column;}
    .flex > *{width: 100%;}
    .text-section {margin-right: 0;}
    .section__certifications, .section__softskills, #aboutme{margin-top: 5em;}
    #picofme{order: -1;}
    #section__websites{width: 100%;}
    #cardContainer{
        width: 80%;
        margin: 0 auto;
    }
    .glide__arrow.glide__arrow--left {left: -3%;}
    .glide__arrow.glide__arrow--right {right: -3%;}
    .card {height: 40vw;}
}

@media only screen and (max-width: 600px){
    .card{height: 100vw;}
    .glide__arrow{font-size: 2rem;}
}

@media only screen and (min-width: 901px){
    #picofme div{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}