@import url('https://fonts.googleapis.com/css2?family=Ewert&family=Monoton&display=swap');


@font-face {font-family: "Calibre-SemiBold";
    src: url("781a76ff31dc76f6b5025f2d7426d44e.eot"); /* IE9*/
    src: url("781a76ff31dc76f6b5025f2d7426d44e.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("781a76ff31dc76f6b5025f2d7426d44e.woff2") format("woff2"), /* chrome、firefox */
    url("781a76ff31dc76f6b5025f2d7426d44e.woff") format("woff"), /* chrome、firefox */
    url("781a76ff31dc76f6b5025f2d7426d44e.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url("781a76ff31dc76f6b5025f2d7426d44e.svg#Calibre-SemiBold") format("svg"); /* iOS 4.1- */
  }
  
 

html {
    scroll-behavior: smooth;

}
*{
    font-family: Calibre-Regular,sans-serif
}
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, helvetica, Tahoma, sans-serif;

}

nav {
    background-color:black;
    overflow: hidden;
    position: fixed;
    top: 0;

}

.navbar-brand {
    line-height: 70%;
    color: white !important;
    background-color: black;
    padding: 1vh;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0), 0 6px 20px 0 rgba(0, 0, 0, 0);
}

.h6 {
    font-weight: 800 !important;
}

a.nav-link {
    color: white !important;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-family: Verdana, cursive;
}

.nav-link:hover {
    color: rgb(212, 208, 208) !important;
}

.bgcolor.scrolled {
    background-color: rgba(11, 12, 12, 0.76);
    transition: background-color 2000ms;

}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav-item {
    float: right;
}



.header {
    height: 80vh;
    position: relative;

}

.header-main{
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    flex-direction: row;
}
.header-main > div{
    color: white;
    flex-grow: 1;
    width: 50%;
}

.header-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10%;
    
}
.inner-info-content{
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.name-text{
    font-family: 'Monoton', cursive;  
    font-size: 7vw;
    width: fit-content;
    text-shadow: 2px 4px 14px #de1419;
}
.info-subtext{
    display: flex;
    flex-direction: column;
    width: fit-content;
}
.title-text{
    color: hsl(11deg 80% 45%);
    letter-spacing: 5px;

}
.header-top-layer {
    width: 100%;
    height: 100%;
    background: rgb(0, 10, 10);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.637), rgba(35, 38, 37, 0.747) 51%);
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10%;
    font-size: 5vw;
    font-weight: 700;
    color: white !important;
    font-family: cursive, verdana;

}

.header-bottom-layer {
    width: 100%;
    height: 100vh;

}

.header-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.header-text1 {
    font-size: 5vw;
    font-weight: 900;
    font-family: verdana;
    border-bottom: solid white;
    width: fit-content;


}

.header-text2 {
    font-size: 3vw;
    font-weight: 800;
    font-family: helvetica;
    color: rgb(125, 125, 177);
}

.header-text2,
.header-text1 {
    width: 100%;
    text-align: center;
}

h1 {
    margin: 20px;
    text-align: center;
    padding: 0;
    color: white;

}

.career {
    font-size: 1vw;
    color: blue;
}


/* header button */
.header-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}


.header-image{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}
.header-img{
    object-fit: fill;
    width: 100%;
    

}
.header-image > div{
    height: 100%;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(0);
    }
}


#about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: white;
    color:rgb(0, 0, 0);
}





#projects,
#resume,
#contact,
#about {
    width: 100%;
    padding-top: 70px;
    padding-right: 2vw;
    padding-bottom: 4rem;
    
    

    

}

.about-wrapper {
    display: flex;
    flex-direction: column;
justify-content: center;


}



.profile-picture {
    width: 30vw;
    height: 100%;
    object-fit: cover;
}

.about-description-div {
    color: black;
    padding: 1vw;
    font-size: 1.5vw;
    font-weight: 800;

   
}


#projects {
    position: relative;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    transition: height 2s;
    background-color: white;
   
}


.projects-title {
    margin-bottom: 2vh;
    font-weight: 700;
    font-size: 4vw;
    align-items: center;
}


.selected-projects {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;

}



.project-card {
    width: 20rem;
    height: 20rem;
    perspective: 1000px;
    margin: 1vw;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    background-color: transparent !important;


}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.9s;
    transform-style: preserve-3d;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.project-card:hover .card-inner {
    transform: rotateY(180deg);
    
}

.card-front {
    background: rgb(182,211,242);
    background: linear-gradient(270deg, rgba(182,211,242,1) 0%, rgba(18,17,17,1) 100%);
    color: #ebe1aa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5em;
    border-radius: 50%;
}

/* Style the back side */
.card-back {
    background: while;

color: black;
    transform: rotateY(180deg);
    z-index: 1;
    font-weight: 700;

}

/* Position the front and back side */
.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
}

.card-back{
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    font-size: 1em;

}






/* resume styling */

#resume {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    color:  #394e4e ;

}

#resume {
    background-color: rgb(0 45 73);
    font-weight: 500;
    font-family: verdana;

}


.skills-div,
.edu-div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.title{
    font-weight: 800;
    align-self: start!important;
    color:  #1d3030 ;
    
}
.edu-type{
    font-weight: 800;
    font-size: 1.3vw;
    text-align: center;
    color:  #394e4e ;
}


.edu-cards {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    

}
.edu-card{
    text-align: justify;
}

.skills-div{
    border-bottom: 2px double rgba(128, 128, 128, 0.212);
    padding-bottom: 2vw;
    
}

.skills-cards{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3em;


}


.skills-card {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    width: 30%;
    background-color: rgb(255, 255, 255);
    height: fit-content;
    padding: 2px;
    color:  #002d4a ;
    
    
}

.resume-div{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.resume-data > a{
    text-decoration: none;
    color: black;
}
.resume-data{
    width: fit-content;
    height: fit-content;
    padding: 15px;
    background-color: white;
}

/* contact */
#contact {
    display: flex;
    flex-direction: column;
    background: rgb(255,255,255);
background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(18,17,17,1) 100%);
    height: auto;
    
}

.contact-form {
    background-color:white;
    padding: 1rem;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.158), 0 6px 20px 0 rgba(0, 0, 0, 0.144);
    width: 80%;
    padding-top: 4em;
    margin-left:auto;
    margin-right: auto;

}

.my-info {
    border: solid 1px rgba(85, 83, 83, 0.253);
    background-color: rgba(48, 53, 58, 0.993);
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.158), 0 6px 20px 0 rgba(0, 0, 0, 0.144);

    
}
.contact-title{
    color:white;
    font-weight: 800;
    font-size: 30px;
    padding-top: 1vw;

}
.contact-link{
    color:rgb(147, 211, 211);
    text-decoration: none!important;
    
}
.contact-link:hover{
    color:rgb(194, 224, 243); ;
}
.my-info li{
    list-style:none;
}
label{
    font-weight: 800;
    color: rgb(2, 46, 46);
}

.send-btn {
    background-color: rgb(0 45 74);
    color: white;
    font-weight: 800;
    margin-top: 2em;
    margin-bottom: 1em;
    text-transform: uppercase;
    border-radius: 45px;

}
.send-btn:hover{
    color:white;
    background-color: rgba(0, 44, 74, 0.801);
    transform: translateY(-4px);
}

.icons{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
 .icons > *{
     margin-right:1em ;
 }

/* smaller screens */
@media only screen and (min-width: 590px) {
    .section {
        height: auto;
    }

    .header {
        height: 100vh;
        object-fit: fill;
    }

    .header-img {
        width: 100%;
        height: 100%;
    }

    .header-top-layer {
        padding-top: 90px;

    }

    .header-text1 {
        font-size: 6vw;
        font-weight: 900;
        font-family: verdana;
        border-bottom: solid white;

    }

    .header-text2 {
        font-size: 5vw;
        font-weight: 800;
        font-family: helvetica;
        color: rgb(125, 125, 177);
    }
    .header-bottom-layer {
        width: 100%;
        height: 100%;

    }

    #projects,
    #resume,
    #contact,
    #about {
        padding-top: 70px;
        padding: 5%;
        

    }

    #projects {
        height: fit-content!important;
        border-top: 3px solid #00000012;
    }

    h2 {
        font-size: 4.5vw;
        font-weight: 700;
    }

    .career {
        font-size: 2vw;

    }
    .project-card {
        width: 20rem;
    height: 20rem;

    } 

    .title{
        font-size: 3rem;
    text-transform: capitalize
    }

    .edu-type{
        font-size: 15px;
    }

}

@media only screen and (max-width: 590px) {
    h3, h3 {
        font-size: 1rem;
    }
    .section{
        margin-top: 2rem;

    }
    .header-main {
        display: flex;
        flex-direction: column-reverse;
    }

    .header-main > div {
        width: 100%;
    }

    .header-btn {
        margin-bottom: 1rem;
    }
    .title{
        font-size: 1.5vw;
    }

    #about, #projects {
        position: relative;
        padding: 5vh;
        padding-top: 10px;
        display: flex;
        flex-direction: column;
        transition: height 2s;
        justify-content: center;
        height: auto;

    }
    .about-wrapper {
    display: flex;
    flex-direction: column;
    
}

    

    .about-description-div {
    font-size: 12px;
    padding: 3vw;
}

.project-card {
    width: 12rem;
    height: 12rem;
    perspective: 1000px;
    margin: 1vw;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    background-color: transparent !important;


}


    .card-front {
        font-size: 1em;
        margin: 1em;
    }

    .card-back{
        font-size: 10px;
    }

    .header-text1 {
        font-size: 35px;
        font-weight: 900;


    }

    .header-text2 {
        font-size: 22px;
        font-weight: 800;
    }

    #projects {
    max-height: fit-content;
    
}

    #resume{
        padding-top: 10px;
    }

    .edu-cards {
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: space-between;
    

}

.skills-card {
    
    width: 50%;
    
    
}
.title{
    font-size:20px
}
.edu-type{
    font-size: 15px;
}

.edu-card{
    padding-bottom: 4px;
}

#contact{
    justify-content: center;
    margin-bottom: 2rem;
}
.contact-form{
    width: 80%;
}
}

@media only screen and (min-width: 1024px) {
    
    .name-text{
        font-size: 7em;
        width: fit-content;
        
    }

    
}
