body{
    background: #191919;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Spacemono', serif;
}
nav{
    margin-top: 3%;
    position: fixed;
    right: 0;
    margin-right: 4%;
    width: 350px;
    height: 50px;
    background: #191919;
    border-radius: 50px;
    display: flex;
    z-index: 2;
    transition: 1s ease-in;
}
.nav.active{
    margin-top: 3%;
    position: fixed;
    right: 0;
    margin-right: 4%;
    width: 350px;
    height: 50px;
    background: #000;
    border-radius: 50px;
    display: flex;
    z-index: 2;
}
nav .logo{
    background: url(img/logo.png);
    width: 50px;
    height: 100px;
    background-repeat: no-repeat;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 0;
}
nav a{
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-family: 'NB', serif;
    margin-top: 5%;
    margin-right: 5%;
}
@font-face {
    font-family: 'Grand slang';
    src: url(fonts/GrandSlang\ Roman.ttf);
}
@font-face {
    font-family: 'Cosi Azure';
    src: url(fonts/Cosi\ Azure\ Black\ Stencil.ttf);
}
@font-face {
    font-family: 'NB';
    src: url(fonts/NB\ International\ Regular\ Webfont.ttf);
}
@font-face {
    font-family: 'Spacemono';
    src: url(fonts/SpaceMono-Regular.ttf);
}
.hero{
    background: #191919;
    cursor: url(img/cursr.png), auto !important;
    /* You may need coordinates to adjust the pointer
       for example, the custom cursor is circular and you want
       the middle to be where you click */
    cursor: url(img/cusor.png) 15 15, move;
    height: 600px;
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    padding: 0;
}
.hero-full{
    width: 50%;
}
.hero-profile{
    height: 440px;
    width: 380px;
    background: url(img/header1.png);
    margin: 60px;
    margin-top: 100px;
}
.hero-text{
    width: 50%;
    color: #fff;
    margin-left: 1%;
}
.hero-text h1{
    margin-top: 20%;
    font-family: 'Cosi Azure';
    font-size: 4.5em;
    margin-bottom: 1%;
}
.hero-text p{

}
.hero-links{
    display: flex;
    height: 70px;
    border: 1px solid rgba(255, 255, 255, 0);
}
.hero-links .button{
    font-size: 1em;
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 25px 30px;
    border-radius: 0;
    border: 1px solid #fff;
    font-family: 'NB', serif;
    margin-top: 4px;
}

.hero-links a img{
width: 50px;
margin: 15px;
}
.slider{
    position: absolute;
    width: 100px;
    bottom: 0;
    top: 80%;
    left: 39%;
    animation: float 1s ease-in-out infinite alternate 3s;
}
@keyframes float{
    0%{
      top: 5%; 
    }
    20%{
        top: 6%; 
    }
    30%{
        top: 7%; 
    }
    40%{
        top: 8%; 
    }
    50%{
        top: 9%; 
    }
    60%{
        top: 10%; 
    }
    70%{
        top: 11%; 
    }
    80%{
        top: 12%; 
    }
    90%{
        top: 13%; 
    }
    100%{
        top: 14%; 
    }
}
.works{
    margin-top: 0;
    background: #191919;
    color: #fff;
    height: 300px;
}
.works h1{
    font-family: 'Cosi Azure';
    font-size: 4.5em;
    text-align: center;
    position: relative;
}
.works h1:before{
   content: "";
   display: block;
   width: 120px;
   height: 2px;
   background: #fff;
   position: absolute;
   left: 20%;
   top: 50%;
}
.works h1:after{
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    background: #fff;
    position: absolute;
    right: 20%;
    top: 50%;
}
.work-tab{
     display: flex;
     flex-direction: column;
}

 .work-line{
     display: flex;
     flex-direction: row;
     align-items: center;
     margin-bottom: 20px;
     margin-left: 40px;
}
.work-line .card{
     background: #343434;
     height: 530px;
     width: 300px;
     margin-right: 2%;
     margin-left: 3%;
     align-items: center;
     border-radius: 20px;
}
.card .card-img1{
    height: 270px;
     background: url(img/2.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}
.card .card-img2{
    height: 270px;
     background: url(img/5.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}.card .card-img3{
    height: 270px;
     background: url(img/3.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}
.card .card-img4{
    height: 270px;
     background: url(img/4.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}
.card .card-img5{
    height: 270px;
     background: url(img/1.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}
.card .card-img6{
    height: 270px;
     background: url(img/8.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}
.card .card-img7{
    height: 270px;
     background: url(img/9.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}
.card .card-img8{
    height: 270px;
     background: url(img/7.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}
.card .card-img9{
    height: 270px;
     background: url(img/0.png);
     width: 250px;
     padding-left: 30px;
     background-repeat: no-repeat;
     background-size: cover;
     margin: 15px 0px;
     margin-left: 10px;
     border-radius: 20px;
     border-bottom-right-radius: 0;
     border-bottom-left-radius: 0;
}

.card-text{

}
.card-text .title{
    display: flex;
   text-align: center;
   width: 100%;
   margin-bottom: 1px;
}
.title .title-img1{
    background: url(img/info.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 2%;
    text-align: center;
}
.tag{
    display: flex;
    text-align: center;
}
.title h2{
    font-family: 'Grand Slang', serif;
    font-size: 1.3em;
    margin-top: 0;
    margin-left: 9px;
}
.tag .tag-img1{
    background: url(img/UIlabel.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 2%;
    
}
.tag .tag-img2{
    background: url(img/WebSitelabel.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 2%;
    
}
.tag h3{
    font-family: 'Cosi Azure', serif;
    font-size: 1em;
    margin-top: 0;
    margin-left: 9px;
}
.card-text p{
    font-family: 'NB', serif;
    margin-top: 0;
    padding: 20px;
}
.card{

}
.carda{
    width: 286px;
    height: 78px;
    padding: 10px 20px;
    background: linear-gradient(90deg, #FF0000 0%, #FFFF00 49.77%, #0000FF 100%);
    text-decoration: none;
    color: #000;
    border-radius: 20px;
    font-size: 1em;
    margin-left: 25%;
}
@media only screen and (max-width: 500px) {
    .hero{
       
        cursor: url(img/cusor.png) 15 15, move;
        height: fit-content;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        padding: 0;
        overflow: hidden;
    }
    .hero-text h1{
        margin-top: 20%;
        font-family: 'Cosi Azure';
        font-size: 2.5em;
        margin-bottom: 1%;
    }
    nav{
        margin-top: 3%;
        position: fixed;
        right:none;
        left: 0;
        margin-right: 0;
        width: 350px;
        height: 50px;
        background: #000;
        border-radius: 50px;
        display: flex;
        z-index: 2;
    }
    .hero-text{
        width: 100%;
    }
    .hero-links {
        display: flex;
        flex-direction: column;
        height: 70px;
        border: 1px solid rgba(255, 255, 255, 0);
    }
    .work-line {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        margin-left: 0px;
    }
    .hero-text h1 {
        margin-top: 0;
        font-family: 'Cosi Azure';
        font-size: 4.5em;
        margin-bottom: 1%;
        text-align: center;
    }
    .hero-text p {
        padding: 0 5px ;
        text-align: center;
    }
    .hero-links .button {
        font-size: 1em;
        color: rgb(255, 255, 255);
        text-decoration: none;
        padding: 25px 30px;
        border-radius: 0;
        border: 1px solid #fff;
        font-family: 'NB', serif;
        margin-top: 4px;
        text-align: center;
        margin: 2px;
    }
    .work-line .card {
        background: #343434;
        height: 530px;
        width: 300px;
        margin-right: 2%;
        margin-left: 3%;
        align-items: center;
        border-radius: 20px;
        margin-bottom: 3%;
    }
}