*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif;

}
body{
    position:relative;
    height:100vh;
    width:100%;
    display:flex;
    justify-content: center;
    align-items: center;
}
.back-vid{
    position:absolute;
    right:0;
    bottom:0;
    z-index:-1;
}

.main-section{
    display: flex;
    flex-direction: column;
    width:90%;
    height:90%;
    background-color: #4ad0ee25;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 5px 5px 20px 1px #4acfee;
}
nav{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding:30px 40px ;
    order:1;
    
    
}
nav h1{
    color:white;
    font-size: 30px;
    font-weight: 900;
    flex-wrap: nowrap;
}
nav ul{
    display:flex;
    list-style:none;
}
nav a{
    display:flex;
    font-size:20px;
    font-weight: bold;
    color:white;
    text-decoration: none;
    padding: 0px 25px;
    transition: 0.3s;
}
nav a:hover,.active,.first-name{
    color:#4acfee;
    text-decoration:line-through;
}
.first-name{
    text-decoration: none;
}
.hero{
    display:flex;
    flex-direction: row;
    align-items: center;
    height:70%;
    padding:0 10%;
    color:white;
    justify-content: space-between;
    row-gap: 15px;
    order:2;
    margin-bottom: 20px;
    
}
.hero h1{
    font-size: 60px;
    padding-bottom: 10px;
}

.typewriter span,.hero h2{
    font-size: 30px;
    background:linear-gradient(to right, #4acfee,#53f8c9,#6070fd,#5bbdff,#4acfee);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2s linear infinite;
}
@keyframes animate-gradient{
    to{
        background-position: 200%;
    }
}

.typewriter span{
    text-transform: capitalize;
    font-size: 2rem;
    position: relative;
    transition: 0.3s linear;
    flex-wrap: nowrap;
}
.typewriter span::before{
    content:"GraphicsDesigner";
    animation:words 10s infinite;
}
.typewriter span::after{
    content: "";
    position: absolute;
    padding-left: 2px;
    border-left:3px solid #4acfee;
    width: calc(100% + 8px);
    height:100%;
    animation: cursor 0.6s linear infinite;
}
@keyframes cursor{
    to{
        border-left: 3px solid #4acfee;
    }
}
@keyframes words {
    0%, 10%{
        content:"Graphics Designer";
    }
    11%, 20%{
        content:"Editor";
    }
    21%, 40%{
        content:"Writer";
    }
    41%,80%{
        content: "Artist";
    }
    81%, 100%{
        content:"Director";
    }
}



.hero p{
    min-width: 450px;
    max-width: 800px;
    margin-top:7px;
    margin-bottom: 20px;
}
.hero-icons{
    display:flex;
}
.btn{
    display:inline-block;
    padding:15px 30px;
    background-color: #4acfee;
    border:2px solid #4acfee;
    border-radius: 40px;
    box-shadow: 0 0 10px #4acfee;
    font-size: 16px;
    font-weight: 900;
    color:#0e1217;
    cursor:pointer;
    margin-right:15px;
    transition: 0.3s;
    text-wrap:nowrap;

}
.btn:hover{
    background-color: transparent;
    box-shadow: none;
    color:#4acfee;
}

.ul-icons{
    display: flex;
    align-items: center;
}
.ul-icons li{
    list-style: none;
    margin-left: 10px;
}
.ul-icons a{
   
    display:inline-flex;
    padding:8px;
    border:2px solid #4acfee;
    border-radius: 50px;
    font-size: 20px;
    text-decoration: none;
    margin: 0 7px;
    transition: 0.3s;
    color:#4acfee;
    cursor: pointer;
}
.ul-icons a:hover{
    background-color: #4acfee;
    color:#0e1217;
    box-shadow:0 0 10px #4acfee;
}
.image-box{
    display:flex;
    min-width: 350px;
    min-height: 350px;
    margin-left: 20px;
    background-color:none;
    position:relative;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 0 10px #4acfee;
    overflow: hidden;
    transition: 0.5s;
}
.image-box:hover{
    box-shadow: 0 0 25px 5px #4acfee;
}
.image-box img{
    position:absolute;
    width:85%;
    height: 100%;
    mix-blend-mode:lighten;
    object-fit: cover;
}
.cards{
    display:flex;
    padding: 0 10%;
    justify-content: space-between;
    order:3
}
.info-card{
    display:flex;
    align-items: center;
    max-width: 120px;
}
.info-card h1{
    font-size: 55px;
    text-transform: uppercase;
    background:linear-gradient(to right, #4acfee,#53f8c9,#6070fd,#5bbdff,#4acfee);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2s linear infinite;
}
.info-card p{
    color:white;
    font-size: 20px;
    margin-left: 10px;
    
}
@media  screen and (max-width:1100px) {

    .image-box{
        order:3;
        min-width: 250px;
        min-height:250px;
    }
    nav h1{
        min-width: 180px;
    }
    .hero-info{
        order:1;
    }
    .hero-icons{
        order:2;
    }
    .info-card h1{
        font-size: 30px;
    }
    .info-card p{
        font-size: 13px;
    }
    .hero-info h1{
        font-size: 40px;
    }
    .hero-info h2{
        font-size: 20px;
    }
    .hero-info p{
        min-width: 300px;
    }
}

@media screen  and (max-width:900px) {
    nav{
        justify-content: center;
        order:1;
    }
    nav h1{
        min-width: 180px;
    }

    .main-section{
        display: flex;
        overflow:auto;
        flex-direction: column;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE & Edge */
    }
    .main-section::-webkit-scrollbar{
        display:none;
    }
    .hero{
        flex-direction: row;
        row-gap: 30px;
        order:2;
        flex-wrap: wrap;
        justify-content: center;
    }
    .cards{
        margin-top: 100px;
        padding-top:50px;
        flex-basis: 50%;
        flex-wrap: wrap;
        flex-direction: row;
        row-gap: 20px;
        order:3;
        padding-bottom: 20px;
        
    }
    .image-box{
        order:1;
        margin-left: 0px;
    }
    .hero-info{
        order:2;
    }
    .hero-icons{
        order:3;
    }
    .info-card h1{
        font-size: 30px;
    }
    .info-card p{
        font-size: 13px;
    }
    nav ul{
        display:none;
    }
    
    .hero-info p{
         min-width: 250px;

    }
    
}
@media screen  and (max-width:500px) {
   
    nav{
        justify-content: center;
    }
    nav h1{
        min-width: 180px;
    }
    .hero{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0px;
        
    }
    .cards{
        display:none;
    }
    .image-box{
        min-height: 200px;
        min-width: 200px;
        order:1;
        margin-left: 0px;    
    }
    .hero-info {
        order:2;
    }
    .hero-icons{
        flex-wrap: wrap;
        row-gap: 20px;
        order:3;
    }
    .hero-info h1{
        font-size: 30px;
    }
    .hero-info h2{
        font-size: 20px;
    }
    .hero-info p{
        min-width: 200px;
    }

    .typewriter span{
        font-size: 1.5rem;

    }
    
    .ul-icons{
        margin-top: 20px;
        margin-bottom: 60px;
    }
    .ul-icons li{
        margin-left: 0px;
    }
    
    .ul-icons a{
        padding: 8px;
        margin: 0 7px;
    }
    
    .main-section{
        width:90%;
        height:80%;
    }
    .btn{
        padding:10px 20px;
    }
}



@media(max-aspect-ratio:16/9){
    .back-vid{
        width:auto;
        height:100%;
        
    }
    
}
@media(min-aspect-ratio:16/9){
    .back-vid{
        width:100%;
        height:auto;
    }
}