/* animation for intro paragraphs */
@keyframes list-enter{
    0%{
        opacity: 0%;
    }
    100%{
        opacity: 100%;
    }
}

/* for website brand */
@keyframes move-sideways{
    0%{
        width: 2%;
        left: 0%;
    }
    25%{
        width: 10%;
        left: 40%;
    }
    50%{
        width: 0%;
        left: 80%;
    }
    100%{
        width: 0%;
        left: 80%;
    }
}
/* The typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #C77DFF;}
}

/* for window to slide */
@keyframes moveOnMain{
    0%{
        opacity: 1;
        margin-top: 0vh;
    }
    50%{
        opacity: 0;
        margin-top: -50vh;
    }
    100%{
        opacity: 0;
        margin-top: -100vh; 
    }
}

/* landing screen 2nd sentence */
@keyframes for2nd{
    0%{
        font-size: 50%;
        opacity: 0;
    }
    90%{
        font-size: 230%;
        opacity: 0.95;
    }
    100%{
        font-size: 200%;
        opacity: 1;
    }
}

/* landing screen 3rd sentence */
@keyframes for3rd{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@keyframes van{
    0%{
        margin-left: -100vw;
    }
    100%{
        margin-left: 0vw;
    }
}
/* main css */
*{
    user-select: none;
}

a:hover, a:active, a{
    color: inherit;
    text-decoration: none;
}
html{
    height: 100%;
    scroll-behavior: smooth;
    overflow: auto;
    overflow-x: hidden;
}

body{
    height: 100%;
    color: #F7E9FF;
    background: url('../images/fernando-hernandez-lVuV7AcfOrY-unsplash.png') #242424;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Quicksand', sans-serif;
}
#main-content{
    display: none;
}
nav{
    padding:15px;
}
#nav-mobile{
    position: relative;
    border: none;
    background-color: transparent;
    color: whitesmoke;
    z-index: 99;
    outline:none;
    float: right;
}

#nav-view-mobile{
    height: 85vw;
    width: 85vw;
    position: absolute;
    top:-85vw;
    right: -85vw;
    z-index: 97;
    background-color: black;
    opacity: 0.8;
    border-radius: 50%;
    overflow: visible;
}
#links-on-mobile{
    position: absolute;
    text-align: center;
    margin-right: -10vw;
}
.website-brand{
    font-size: 130%;
    font-weight: bold;
    font-variant: small-caps;
    font-family: 'Quicksand', sans-serif;
}
#brand-layer{
    position: absolute;
    top:0;
    left: 0%;
    height:100%;
    width: 2%;
    transform: skewX(-25deg);
    background-color: rgba(0, 255, 255, 0.507);
    z-index: 99;
    animation: move-sideways 3s linear 1.5s infinite ;
}
#navbar{
    position: fixed;
    top: 0;
    left: 0;
    transition: top 0.6s;
    background: rgba(0, 0, 0, 0.9);
    overflow: visible;
    width: 100%;
    height:60px;
    animation: van 5s !important;
}
#navbar.animate{
    top:-80px;
}
#navbar.sticky{
    top:0;
    z-index: 97;
}
.navbar-item{
    text-align: right;
    font-size: 130%;
    transition: color 0.2s linear;
}

.navbar-item:hover{
    color: #90e0ef;
}
header .jumbotron{
    margin-top: 60px;
    margin-bottom: 0px;
}
header .jumbotron, footer .jumbotron{
    border-top:3px solid #C77DFF;
    background:linear-gradient(to top right, #5A189A , #240046) ;
    padding: 10px 0px;
    padding-bottom: 0px;
}

h1{
    font-family: 'Quicksand', sans-serif;
}
img[alt="profile_pic"]{
    width: 100%;
}
header p{
    opacity: 0%;
}
#SayHello{
    text-align: center;
    font-size: 200%;
    margin-top: 10px;
}
#intro1, #intro2{
    font-size: 110%;
    font-weight: light;
}
#intro1{
    animation:list-enter 1s linear 4s forwards;
}
#intro2{
    animation:list-enter 1s linear 5s forwards;
}


.intro h1 {
  overflow: hidden;
  border-right: .15em solid #C77DFF; 
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .08em; /* Adjust as needed */
  animation: for3rd 2s linear forwards;
}

.intro{
    height: 100vh;
    animation: moveOnMain 1s linear 5s forwards;
}
.sliding-container{
    position: relative;
}
#first-statement{
    font-weight: bold;
    font-size: 250%;
    text-align: center;
    padding-top: 50px;
}
#sliding-block{
    position: absolute;
    height: 50px;
    margin-top: 50px;
    width: 100%;
    top:0;
    left: 0;
    /* background-color: green; */
}
#layer{
    position: absolute;
    width: 30%;
    height: 100%;
    transform: skewX(-20deg);
    background-color: #C77DFF;
}
.first2, .first3{
    font-weight: bold;
    font-size: 180%;
    margin-top: 75px;
}
.first2{
    opacity: 0;
    text-align: right;
    animation: for3rd 1s ease-in-out 2s forwards;

}
.first3{
    font-size: 0;
    text-align: left;
    opacity: 0;
    animation: for2nd 1s ease-in-out 3s forwards;
}
.hi {
    color: #C77DFF    ;
}
.skill{
    color: #90e0ef;
}

#nav-gen-lang-tab, #nav-spc-lang-tab, #nav-tools-tab{
    background-color: transparent;
    font-size: 130%;
    font-weight: bold;
    color: white;
    transition: color 0.5s linear;
}
#nav-gen-lang-tab:hover, #nav-spc-lang-tab:hover, #nav-tools-tab:hover{
    border: none !important;
    color: lightpink;
}
#nav-tab{
    margin: 0px 5px;
    margin-top: 10px;
    border-bottom: none !important; 
}
#nav-tab>.active{
    color: #63d0ec;
    /* text-shadow: 0 0 10px #CEA7EE; */
    font-size: 145%;
    margin-bottom: -3px;
    border:none !important;
    border-bottom: 4px solid #CEA7EE !important;
    transition: font-size 0.4s linear;
}
.tab-content{
    margin: 0px 0px;
    margin-top: -12px;
    height: 200px;
    padding: 20px;
    padding-bottom: 0px;
    background:linear-gradient(to top right, #CEA7EE, #5A189A);
    border: 2px solid #CEA7EE;
    box-shadow: 0 0 10px #CEA7EE;
}
.tab-content h2, .certifications h2, .projects h2, .interests h2, #skill-mobile h2{
    color: white;
    font-weight: bold;
    font-size: 220%;
    opacity: 0.8;
    text-align:center;
}


.skills, .certifications, .projects{
    border-bottom: 2px solid #CEA7EE;
}

.skills{
    border-top:3px solid #C77DFF;
    padding-top: 40px;
    background: url('../images/mobile-skill.png');
    /* background: black; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.odd-row h3,.even-row h3{
    font-size: 170%;
    font-weight: 700;
    width: 100%;
    margin-bottom: 20px;
}


figcaption{
    font-size: 120%;
    color: black;
    text-align: center;
    font-weight: 600;
}
.even-row figcaption, .odd-row figcaption{
    color:whitesmoke;
}
figure{
    text-align: center;
    height: 100%;
    width: 100%;
    display: inline-block;
}
.web-tools-pane figure{
    padding-top:30px ;
}

#skill-mob-content figure img{
    margin-top: -40px;
    margin-bottom: 40px;
    width: 60px;
    opacity: 0;
}

.blk-icons{
    display: block;
    text-align: center;
    margin: 0 auto;
}


.jumbotron, .jumbotron-fluid{
    padding: 20px;
    margin:0px;
    background-color: transparent;
}
.certifications, .projects, .interests{
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 30px;
}
.certifications{
    background:url('../images/certif.png');
}
.certifications .jumbotron{
    background: transparent;
    margin: 10px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
}
.certifications h2{
    writing-mode: horizontal-tb;
}

.certificate .card,.project .card{
    width: 0%;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 0px 0px 10px 10px;
    margin-bottom: 20px;
}

.certificate img, .project img{
    width: 100%;
    height: 150px;
}
.card-body{
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.7);
    height: 100px;
    padding: 10px;
    border-radius: 0px 0px 10px 10px;
    color: black;
    font-weight: 400;
    border-top: 1px solid black;
}
.projects{
    background: url('../images/notes.png');
}

.project .card{
    position: relative;
    width: 100%;
    border: 1px solid white;
    margin-bottom: 20px;
}
.project .card-body{
    border-top: 1px solid white;
    opacity: 0.7;
    color: whitesmoke;
    background-color: black;
}


.interests{
    position: relative;
    background-position: center;
    background-position: center;
    background-size: cover;
    padding-top: 0px;
    margin-top: 0px;
}
.interests h2{
    position: absolute;
    writing-mode:horizontal-tb;
    top:25px;
    left: 25px;
    z-index: 2;
}
.interests #carouselExampleIndicators{
    /* background-color: #5A189A; */
    height: 300px;
}

ol.carousel-indicators li,
ol.carousel-indicators li.active {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid white;
  background: transparent;
}

ol.carousel-indicators li.active {
  background: #b967f8;
}

.interests img{
    width: 100%;
    height: 300px;
}
.clear{
    clear: both;
}
.caption-img{
    position: absolute;
    top: 220px;
    left:70vw;
    font-size: 150%;
    font-weight: 400;
}


footer .jumbotron{
    padding-bottom: 30px;
}
footer h2{
    text-align: center;
}
form{
    width: 100%;
}
.spacing{
    height: 30px;
}
form input{
    margin-bottom: 15px;
    border-radius: 0px !important;
    border: none !important;
    border-bottom: 1px solid white !important;
    background-color:transparent !important;
    color: white !important;
    font-family: Arial, Helvetica, sans-serif;
}
.social-links, .mail-form{
    text-align: center;
}
input:focus{
    box-shadow: none !important;
}
input::placeholder{
    color: white !important;
}
input[type="submit"]{
    border: none !important;
    color: #5A189A !important;
    background-color: white !important;
    width: 84px;
    height: 40px;
    border-radius: 10px !important;
    font-size: 400 !important;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
input[type="text"]:valid{
    background-color: transparent !important;
}
input[type="submit"]:hover{
    background-color: #b967f8 !important;
    color: white !important;
}
.odd-row h3{
    text-align: left;
}
.even-row h3{
    text-align: right;
}
.copyright-footer{
    background-color: #5A189A;
    text-align: center;
}
.copyright{
    padding: 10px;
    background-color: #2400468e;
}
.copyright a{
    text-decoration: underline;
}

.hideOnHover{
    position: absolute;
    top: 0;
    transition: opacity 0.5s;
}
.hideOnHover:hover{
    opacity: 0.1;
}

.behind{
    padding: 10px;
    color: white;
    background-color: black;
    opacity: 0.8;
    font-size: 120%;
    height: 150px;
}

/* media queries here */

@media screen and (min-width:576px) {
    #intro1, #intro2{
        font-size: 120%;
    }
    #SayHello{
        font-size: 250%;
    }
}

@media screen and (min-width:768px) {
    .even-row, .odd-row{
        height: 180px;
    }
    .certifications h2{
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        float: left;
        margin-left: 30px;   
        margin-top: 50px;
        text-align: left;
    }
    .projects h2{
        margin-top: 70px;
        writing-mode: vertical-rl;
        float: right;
        text-align: right;
    }
    #SayHello{
        margin-top: 30px;
    }
}

@media screen and (min-width:576px) and (max-width:992px) {
    #skill-mob-content figure img, .blk-icons{
       width:70px
   }
}


@media (min-width:992px){
    .tab-content h2{
        writing-mode: vertical-rl;
        float: right;
        text-align: left;
        margin-left: 0px;
    }
    .skills{
        background: url('../images/skill-rep.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    figure img{
        width: 70%;
    }
    .tab-content figure img{
        width: 120px;
    }
    #nav-tools img{
         width: 80px;
    }
    #nav-tools{
        margin-top: -20px;
    }
    
}