html {
    scroll-behavior: smooth;
}

*{
    margin: 0px;
    padding: 0px;
    
}


body, html{
    width: 100vw;
    overflow-x: hidden;
    
}


/* 
#010001 black
#8C2703 dark orange
#F24405 orange
#F2620F light orange
#F2EBDF white
*/

p, a,h3{
    font-family: "Rajdhani", regular;
}

.rajd-font{
    font-family: "Rajdhani", regular;
}

h1{
    font-family: "Bebas Neue", regular;
}

.beb-font {
    font-family: "Bebas Neue", regular;
}

.orange{
    color: #F2620F;
}

.highlight{
    background: #F24405;
    color: #010001;
    font-weight: bold;
}

.flick{
    
    color: black;
    
    
    text-shadow: none;
    
    
    animation: flicker 3s linear infinite;
}

@keyframes flicker {
	0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
		opacity: .99;
		text-shadow: -1px -1px 0 #F24405, 1px -1px 0 #F24405, -1px 1px 0 #F24405, 1px 1px 0 #F24405, 0 -2px 8px, 0 0 2px, 0 0 5px #ff7e00, 0 0 15px #ff4444, 0 0 2px #ff7e00, 0 2px 3px #000;
	}
	20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
		opacity: 0.4;
		text-shadow: none;
	}
}

body{
    background-color: #010001;
    color: #F2EBDF;
    font-family: ostr;
}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    
}

.nav li {
    float: right;
    width: 100px;
    transform: perspective(1000px);
    transform-style: preserve-3d;
}

.nav li a {
    display: block;
    color: #F2EBDF;
    text-align: center;
    padding: 30px 16px;
    text-decoration: none;
    transition: 0.25s;
    transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
}

.nav li a:hover{
    font-size: 20px;
    transform: translateZ(20px);
}

.nav li a:hover {
    background-color: #F24405;
}

.nav{
    margin-bottom: 0px;
    width: 100%;
    z-index: 1;
    position: absolute;
    
}

.player{
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.player video{
    width: fit-content;   
    max-width: 100%;    
}

.about{
    height: fit-content;
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.about .left, .about .right {
    width: 50%;
    padding-top: 100px;
    height: auto;
}

.about .left p {
    padding-left: 40px;
    padding-right: 40px;
}

.about .right .progress{
    margin-bottom: 20px;
    margin-top: 5px;

}

.skills{
    padding-left: 40px;
    padding-top: 20px;
}

.progress {
    background: rgba(255,255,255,0.1);
    justify-content: flex-start;
    border-radius: 100px;
    align-items: center;
    position: relative;
    padding: 0 5px;
    display: flex;
    height: 10px;
    width: 500px;
}
  

/* 3d-render */
.progress-value-2 {
    
    box-shadow: 0 20px 80px -10px #F2EBDF;
    border-radius: 100px;
    background: #F2EBDF;
    height: 8px;
    width: 0;
}

  
@keyframes load2 {
    0% { width: 0; }
    100% { width: 30%; }
}

/* 3d-model */
.progress-value-3 {
    
    box-shadow: 0 20px 80px -10px #F2EBDF;
    border-radius: 100px;
    background: #F2EBDF;
    height: 8px;
    width: 0;
}

  
@keyframes load3 {
    0% { width: 0; }
    100% { width: 50%; }
}

/* Motion */
.progress-value-4 {
    
    box-shadow: 0 20px 80px -10px #F2EBDF;
    border-radius: 100px;
    background: #F2EBDF;
    height: 8px;
    width: 0;
}

  
@keyframes load4 {
    0% { width: 0; }
    100% { width: 20%; }
}

@media (prefers-reduced-motion: no-preference) {
    .slider1 {
        animation: load1 3s ease-in-out forwards 1;
    }
    .slider2 {
        animation: load2 3s ease-in-out forwards 1;
    }
    .slider3 {
        animation: load3 3s ease-in-out forwards 1;
    }
    .slider4 {
        animation: load4 3s ease-in-out forwards 1;
    }
    
}

.images{
    padding-top: 80px;
    
}

.img-cont{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.card {
    width: fit-content;
    height: 500px;
    padding: 20px;
}

.card img{
    height: 400px;
    width: auto;
}

.view {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 80px;
}

.buttons {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.view .buttons button{
    width: 30%;
    color: #F2EBDF;
    height: 70px;
    font-size: 400;
    background-color: rgba(0,0,0,0);
    border: none;
    font-family:  "Rajdhani", regular;
    transform: perspective(1000px);
    transform-style: preserve-3d;
    transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
    
}

.btn-text{
    transition: 0.25s;
    transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
}

.view button:hover .btn-text{
    
    transform: scale(1.75) translateZ(20px);
}

.view button:hover{
    background-color: #F24405;
}

.footer{
    width: 100%;
    height: auto;
}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    
}

.footer .nav li {
    float:left;
    width: 100px;
    transform: perspective(1000px);
    transform-style: preserve-3d;
}

.footer .insta:hover{
    background-color: #E1306C;
}

.footer .in:hover{
    background-color: #0072b1;
}

.footer .yt:hover{
    background-color: #FF0000;
}

.player .nav li i {
    display: block;
    color: #F2EBDF;
    text-align: center;
    padding: 30px 16px;
    text-decoration: none;
    transition: 0.25s;
    transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
}

.player .nav li i:hover{
    font-size: 20px;
    transform: translateZ(20px);
}

.player .nav li i:hover {
    background-color: #F24405;
}

.player .nav li:nth-child(6) {
    display: none;
}

.mini-nav {
    width: 100%;
    height: 100vh;
    background-color:#010001;
    display: none;
    position: absolute;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
} 
.fade {
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.fade-in.fade {
    animation-name: fadeIn;
    display: flex;
}

.fade-out.fade {
    animation-name: fadeOut;
    display: none;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        
    }
}

.mini-nav li {
    width: 100%;
    transform: perspective(1000px);
    transform-style: preserve-3d;
}

.mini-nav li a, .mini-nav li i {
    display: block;
    color: #F2EBDF;
    text-align: center;
    padding: 30px 16px;
    text-decoration: none;
    transition: 0.25s;
    transition: 0.25s;
    -moz-transition: 0.25s;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
}

.mini-nav li i {
    position: relative;
    bottom: 22vh;
    left: 40vw;
}

.mini-nav li a:hover, .mini-nav li i:hover{
    font-size: 20px;
    transform: translateZ(20px);
}

.mini-nav li a:hover, .mini-nav li i:hover {
    background-color: #F24405;
}

@media screen and (max-width: 900px)
{
    .player {
        height: 50vh;
        margin-bottom: 1px;
    }

    .player video {
        top: 0vh;
    }

    .img-cont {
        flex-direction: column;
    }

    .card {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .about {
        display: block;
    }

    .about .left, .about .right {
        width: 100%;
        height: fit-content;
    }

    .footer .nav {
        height: max-content;
    }

    .footer .nav li {
        width: 100%;
        position: relative;
        left: 0px !important;
    }


}

@media screen and (max-width: 500px)
{
    .contact-in {
        display: block;
    }
    .contact .left, .contact .right {
        width: 100%;
    }

    .contact .right {
        padding-left: 20px;
    }

    .progress {
        width: 80%;
    }

    .player .nav ul li {
        display: none;
    }

    .player .nav ul li:nth-child(0) {
        display: block !important;
    }

    .player .nav li:nth-child(6) {
        float: right;
        display: block !important;

    }

    .card h1 {
        font-size:xx-large
    }
    .card img {
        height: 200px;
    }

    .player img {
        top: 0px;
    }

    .card {
        height: 200px;
    }

    .images {
        padding-bottom: 50px;
    }
}


@media screen and (max-width: 400px){
    .card img {
        height: 150px;
    }

    .card {
        height: 150px;
    }
}