*{ 
    font-family: 'OpenSans', sans-serif;
    margin: 0px;
}
body{
    background: url("img/gradient.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    max-height: 100vh;
}

/*********** profile section ***********/
#profile{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 350px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.14);
}

#name{
    font-size: 36px;
    color: #FFF7F8;
    text-align: center;
    font-weight: 650;
    letter-spacing: 1px;
    margin-top: 3vh;
}

#profile-pic{
    width: 250px;
    height: 250px;
    margin: 10px 0;
}

#navigation{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

#navigation li {
    display: block;
    font-size: 26px;
    font-weight: 550;
    letter-spacing: 1px;
    border-bottom: 5px solid transparent;
    margin: 1vh 0;
}

#navigation a:link, :visited {
    color: #FFF7F8;
    text-decoration: none;
}

#navigation a:hover {
    border-bottom: 3px solid #FFF7F8;
    display: inline-block;
    margin-bottom: -3px;
}

.onpage {
    border-bottom: 3px solid #FFF7F8;
}

#socials{
    list-style-type: none;
    margin-bottom: 30px;
    padding: 0;
    width: 100%;
    text-align: center;
}

#socials li {
    display: inline-block;
    margin: 0 10px;
}

.icon {
    height: 35px;
    width: 35px;
}

.hidden-spacer {
    display: none;
    height: 5vh;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

.arrow {
    text-align: center;
    width: 40px;
    height: 40px;
    /* margin: 10px 0; */
    background-image: url(img/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    -o-transition: all .6s;
    transition: all .6s linear;
    transform: rotate(0) translateY(0);
}

/* .arrow--flip {
    cursor: pointer;
    -moz-transform: rotate(180deg) translateY(20px);
    -o-transform: rotate(180deg) translateY(20px);
    -webkit-transform: rotate(180deg) translateY(20px);
    transform: rotate(180deg) translateY(20px);
} */

@media only screen {
    #navigation {
        margin: 0 !important;
    }
}

@media (max-height: 650px) {
    #name {
        font-size: 28px;
    }
    
    #profile-pic{
        width: 210px;
        height: 210px;
    }

    #navigation li {
        font-size: 23px;
    }

    #socials{
        padding-bottom: 6vh !important;
    }

    .icon{
        height: 26px;
        width: 26px;
    }
    
}

@media (min-height: 651px) and (max-height: 740px) {
    #profile-pic{
        width: 230px;
        height: 230px;
    }
    #socials{
        list-style-type: none;
        width: 100%;
        text-align: center;
    }   
    .icon{
        height: 30px;
        width: 30px;
    }

    .hidden-spacer{
        display: block;
    }
}

@media (max-width: 800px) {
    #profile {
        width: 100vw;
        height: 100vh;
        position: relative;
    }

    #navigation {
        margin: 10px 0;
        padding-bottom: 10px;
    }

    #navigation li {
        font-size: 25px;
    }

    #socials{
        margin-bottom: 10vh !important;
        padding-bottom: 5vh;
    }

    .arrow{
        margin-bottom: 20px;
        position: fixed;
        bottom: 1%;
    }

    /* .hidden-spacer{
        display: block;
    } */
}

/*********** content section ***********/
#content {
    padding: 0px 70px 0px 370px;
}

#content > * {
    text-align: left;
    height:100vh;
}

h1 {
    color: #FFF7F8;
    font-size: 36px;
    font-weight: 650;
    letter-spacing: 1px;
    padding-top: 3vh;
    display: inline-block;
}

.fas {
    align-self: center;
    color: #FFF7F8;
    margin-right: 20px;
    transform: translateY(-4%);
}

/* opener page */
.title {
    color: #FFF7F8;
    padding-top: 3vh;
    font-size: 7vh;
    font-weight: 650;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    height: 85%;
    justify-content: space-between;
}

#t2{
    text-align: end;
    padding-right: 5%;
}
#t3{
    text-align: end;
    padding-right: 5%;
}
#t6{
    padding-left: 25%;
}
#t7{
    text-align: end;
    padding-right: 5%;
}

/* about page */
#about {
    min-height:100vh;
    height: 100%;
    margin-bottom: 80px;
}

#intro-wrapper {
    margin: 30px 40px 0 20px;
    border-left: 2px solid rgb(255, 255, 255);
}


.intro-section {
    color: #FFF7F8;
    font-size: 18px;
    font-weight: 550;
    line-height: 1.5em;
    letter-spacing: .8px;
    /* margin: 30px 40px 0 20px; */
    margin-left: 35px;
    padding: 30px;
    /* padding-left:34px; */
    background-color: rgba(255, 255, 255, 0.14);
    /* border-left: 2px solid rgb(255, 255, 255); */
}

.intro-section a {
    color:#FFF7F8; 
    font-style: italic;
    text-decoration: none;
    font-weight: 700;
}

.p-spacer {
    height: 40px;
}

@media (max-width: 580px) {
    .intro-section{
        font-size: 15px !important;
        font-weight: 500;
    }
}
@media (max-width: 800px) {
    #opener {
        min-height:100vh;
        height: 100%;
        margin-bottom: 30px;
    }
    #content{
        padding: 30px 10px;
    }
    .intro-section{
        font-size: 17px;
        font-weight: 500;
    }
    .title{
        font-size: 8vw;
        min-height: 70vh;
        /* height: 70%; */
        padding-left: 2vw;
        padding-right: 2vw;
    }
}
@media (min-width: 801px) and (max-width: 1024px) {
    .title{
        font-size: 4vh;
    }
    .intro-section{
        font-size: 16px;
    }
}

/* flip cards */
.cards {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.scene {
    height: 24vh;
    min-height: 220px;
    margin: 10px;
    perspective: 600px;
    width: 26vw;
    min-width: 320px;
}

.flip{
    position: absolute;
    right: 10px;
    bottom: 10px;
    height: 18px;
    transition: all .2s linear;
    opacity: .7;
}

.flip.zoom{
    height: 24px;
    opacity: 1;
}

@media (min-width: 801px) {
    .cards {
        margin-left: 50px;
    }
}

@media (max-width: 800px) {
    .scene {
        width: 100% !important;
    }
    .cards{
        justify-content: center;
    }
}

@media (max-width: 1132px) {
    .scene {
        width: 85%;
    }
}

.card {
    width: 100%;
    height: 100%;
    transition: transform .6s;
    transform-style: preserve-3d;
    position: relative;
    display: flex;
}

#experience .card{
    cursor: pointer;
}

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

.card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.card__face--front {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.14);
}

.card-img{
    max-width: 250px;
    min-height: 90px;
}
.card-role{
    font-size: 18px;
    font-weight: 600;
    margin: 7px 0;
}
.card-timeplace{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.card__face--back {
    background-color: rgba(255, 255, 255, 0.14);
    transform: rotateY(180deg);
    display: flex;
    justify-content: start;
}

/* experience page */
#experience {
    min-height:100vh;
    height: 100%;
    margin-bottom: 80px;
}

#experience .card__face--front{
    justify-content: center;
}

hr{
    margin-top: 5px;
    border: 1px solid rgba(255, 247, 248, .8);
    width: 30%;
    align-self: center;
}

.card-info{
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    margin: 10px 13px 10px 0;
}

/* projects page */
#projects {
    min-height:100vh;
    height: 100%;
    margin-bottom: 40px;
}

#projects .scene{
    min-height: 270px !important;
}

#projects .card__face--front{
    justify-content: start;
}

#projects a {
    text-decoration: none;
}

.proj-title{
    font-size: 22px;
    margin: 8% 10px 5px 10px;
    font-weight: 700;
}

.proj-info{
    font-size: 14px;
    /* margin: 5px 20px 10px 20px; */
    font-weight: 500;
    margin-bottom: 10px;
}

.proj-description{
    font-size: 15px;
    margin: 15px 20px 10px 20px;
    font-weight: 550;
}

.proj-hr {
    width:90% !important;
    margin: 10px 0;
}

.button {
    background-color: rgba(255, 247, 248, 0);
    color: rgba(255, 247, 248, 1);
    border: 3px solid rgba(255, 247, 248, .8); /* Green */
    border-radius: 5%;
    font-size: 18px;
    font-weight: 600;
    margin: 10px 15px 0 15px;
    padding: 3px 10px;
}

.button:hover {
    background-color: rgba(255, 247, 248, .3);
}

.row{
    display: flex;
    flex-direction: row;
}

/* #projects a:hover {
    text-decoration: underline double;
} */



/*********** progress section ***********/
#progress{
    height: 100%;
    width: 2px;
    position: fixed;
    right: 40px;
    top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

@media (max-width: 800px) {
    #progress, #progress * {
        display:none;
    }
    /* #progress{
        height: 20%;
        top: 75%;
    } */
}

.dot {
    height: 18px;
    width: 18px;
    background-color: rgba(255, 247, 248, 1);
    border-radius: 50%;
}

.dot-onpage {
    height: 15px;
    width: 15px;
    border: 2px solid rgba(255, 247, 248, 1);
    border-radius: 50%;
}

.spacer {
    height: 33vh;
    /* background-image: radial-gradient(circle at 2.5px,rgba(162, 178, 213, 1) 1.25px, rgba(255,255,255,0) 2.5px);
    background-position: center;
    background-size: 5px 15px;
    background-repeat: repeat-y;
    width: 4px; */
    /* background:rgba(162, 178, 213, 1); */
    background-color: rgba(255, 247, 248, 1);
    width: 2px;
}