/* Margins, Padding, Borders, Outline = 0 ;HTML and Body Height and Width = 100%; HTML BG Color set*/


* {
    padding: 0px;
    margin: 0px;
    border: 0px;
    outline: 0px;
}
html {
    font-family: 'Open Sans';
    height: 100%;
    width: 100%;
    background-color:#E94858;
    color: #cccccc;
    overflow: hidden;
}


body {
    display: flex;
    width: 100%;
    height: 100%;

}

input {
    display: none;
}

#left {
    z-index: 4;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    transition: 2s ease-in-out .1s;
    background-color: #333366;
    box-shadow: 0px 20px 40px -10px #148ca3;

}
#contact {
    margin: 54px 0 0 0;
    width: 100%;
    text-align: center;
    transition: .5s;
}

h1 {
    color: #9999ff;
    font-size: 4em;
    line-height: 1;
    font-weight: 900;
    font-family: 'Source Serif Pro';
}

h2 {
    font-weight: 400;
    font-size: 1.1em;
    opacity: .9;
    margin: 10px 0 0 0;

}

#portfolio {
    display: flex;
    justify-content: center;
    color: orange;
    margin: 50px 0 0 0;
    font-size: 1.2em;
    border: 1.2px solid;
    text-align: center;
    padding: 10px;
    transition: .5s;
}

#portfolio:hover {
    cursor: pointer;
    background-color:#cc9933;
    color: #333366;
    border: 1.2px solid orange;
}

#portfolio:active {
    background-color:darkorange;
    border: 1.2px solid darkorange;
    transition: .1s;
}

#portfolioBtn:checked ~ #left {
    transform: translateY(-260%);
}

#portfolioBtn:checked ~ .mid1 {
    transform: translateY(-210%);
}

#portfolioBtn:checked ~ .mid2 {
    transform: translateY(-160%);
}

#portfolioBtn:checked ~ .mid3 {
    transform: translateY(-110%);
}


#portfolioBtn:checked ~ #right {
    transform: translateY(0%);
    opacity: 1;
    transition: transform 2s ease-in-out .1s, opacity 2.5s 1.5s;
}


.middle {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 2s ease-in-out .1s;
    box-shadow: 0px 20px 40px -10px;
}
.mid1 {
    transform: translateY(25%);
    z-index: 3;
    background-color: #3CB4CB;
    color: #6eab5a;
}

.mid2 {
    transform: translateY(50%);
    z-index: 2;
    background-color: #82BF6E;
    color: #df8f16;
}

.mid3 {
    transform: translateY(75%);
    z-index: 1;
    background-color: #F3A32A;
    color: #d53444;
    box-shadow: 0px 12px 40px -10px;
}


#right {

    display: flex;
    z-index: 0;
    justify-content:center;
    align-items:center;
    align-content: center;
    height: 100%;
    width: 100%;
    transition: transform 2s ease-in-out .1s, opacity 1s .5s;
    background-color: #E94858;
    flex-direction: column;
    transform: translateY(100%);
    opacity: 0;
    padding-top: 3vw;

}

#svgBox {
    position: absolute;
    top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    align-items: center;
    align-content:center;
    font-size: 1.4em;
    transition: 1s;
    margin: 0 0 28px 0;
}

#svgBox:hover {
    transform: translateY(12px);
    cursor: pointer;
}

#svgBox:hover p {
    margin-bottom: 10px;
    transform: translateY(0px);
    opacity: .9;
}

#svgBox:hover svg {
    opacity: .9;
}

#svgBox:active svg {
    stroke-width:6px;
}

#svgBox P {
    margin-bottom: -25px;
    transform: translateY(-15px);
    width: 100%;
    transition: 1s;
    opacity: 0;
    color:#333366;
    font-variant: small-caps;
    font-weight: bolder;
    font-size: 1.4em;
    font-family: 'Lato'
}

svg {

    fill: none;
    stroke: #333366;
    stroke-width: 4px;
    transition: 1s;
    opacity: .5;
}


iframe {
    width: 64vw;
    height: 36vw;
    max-width: 640px;
    max-height: 360px;
    flex-shrink: 0;
    margin: 10px;
    border: 20px solid #E94858;
    border-radius: 20px;
    box-shadow: 0px 3px 40px -10px #88232d;
}

#container {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 10px 48px 10px;
    width: 64vw;
    max-width: 640px;
}

a {
    text-decoration: none;
}

.item {
    font-size: 1em;
    font-family: 'Nunito';
    color: #cccccc;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 30px;
    padding: 20px 12px 20px 12px;
    margin: 5px;
    flex-shrink: 1;
    background-color: #E94858;
    transition: .5s;
    box-shadow: 0px 3px 40px -10px #88232d;

}

.item:hover {
    cursor: pointer;
    background-color:#cc9933;
    color: #333366;
}

.item:active {
    background-color:darkorange;
    transition: .1s;
}
