html,body{
        background-color: #FFF;
        color: black;
        font-size: 14px;
        line-height: 18px;
        padding: 0px;
        margin: 0px;
        font-family: Arial, Helvetica, sans-serif;
}
.first-page{
        position: relative;
        width: 100%;
        height: 100vh;
        background-color: black;
}

.text-container,.dot-com{
        margin: 0px;
        list-style: none;
        list-style-type: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        min-width: 400px;
        padding: 0px;
}
.nav{
        margin: 0px;
        list-style: none;
        list-style-type: none;
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        padding: 0px;
}
.nav-link{
        float: left;
        margin-left: 20px;
        font-size: 0.95em;
        opacity: 0;
        transition: opacity 0.8s;
}
.nav-link a{
        color: white;
        text-decoration: none;
        letter-spacing: 2px;
}
.nav-link.shown{
        opacity: 1;
}
.nav-link:first-child{
        margin-left: 0;
}
.dot-com{
        font-weight: normal;
        color: #FFF;
        font-size: 0.8em;
        transform: translateY(100%);
        opacity: 0;
        transition: opacity 1s;
        width: auto;
        min-width: auto;
}
.dot-com.shown{
        opacity: 1;
}
.text-white{
        color: white;
}
.text-red{
        color: red;
}
.text-black{
        color: black;
}
.anim-text{
        float: left;
        min-width: 50px;
        text-align: center;
        height: 50px;
        line-height: 50px;
        font-weight: bold;
        font-size: 1.8em;
        transition: transform 3s;
}
.anim-text:nth-child(1){transform: translate(-50px,-100px);}
.anim-text:nth-child(2){transform: translate(-80px,100px);}
.anim-text:nth-child(3){transform: translate(30px,-190px);}
.anim-text:nth-child(4){transform: translate(70px,-80px);}
.anim-text:nth-child(5){transform: translate(-150px,-130px);}
.anim-text:nth-child(6){transform: translate(120px,-10px);}
.anim-text:nth-child(7){transform: translate(-200px,-150px);}
.anim-text:nth-child(8){transform: translate(-120px,130px);}

.anim-text.anim-none{
        transform: translate(0px,0px);
}
.d-none{
        display: none;
}
.text-center{
        text-align: center;
}
.page{
        position: relative;
        width: 100%;
        overflow: hidden;
}
.projects{
        padding-top: 20px;
        background-color: white;
        overflow: hidden;
}
.card-container{
        background-color: transparent;
        padding: 30px;
        width: 60%;
        margin: 0 auto;
}

.card{
        position: relative;
        box-shadow: 0px 0px 3px #DDD;
        display: inline-block;
        margin: 10px;
        padding: 30px;
        text-align: center;
        box-sizing: border-box;
}
.card-project{
        width: calc(50% - 30px);
        background-color: black;
        color: white;
        transition: all 0.2s ease;
}
.card-project:hover{
transform: scale(1.1,1.1);
}
.card-container .card-project:nth-child(3){
        width: calc(100% - 30px);
        min-height: 240px;
}
.btn{
        position: relative;
        padding: 12px 40px;
        border: 2px solid red;
        font-weight: bold;
        width: auto;
        background-color: transparent;

}
.btn-go{
        overflow: hidden;
        color: white;
        z-index: 1;
        cursor: pointer;
        outline: none;
}
.btn-go::before{
        position: absolute;
        content: "";
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%) rotate(45deg);
        background-color: red;
        width: 100%;
        height: 0;
        transition: 0.5s all ease;
        z-index: -1;
}
.btn-go:hover::before{
        width: 100%;
        height: 300%;

}
.about-us,.contact{
        background-color: black;
        color: white;
        padding: 30px 0px;
        min-height: 100vh;
        box-sizing: border-box;
}
.contact{
        background-color: #c70000;
        color: white;
}
.about-content,.contact-content{
        text-align: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
}
.center{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
}
.about-content .line-one{
        font-size: 4em;
        letter-spacing: 6px;
}
.about-content .line-two{
        margin-top: 40px;
        margin-bottom: 30px;
}
.contact-content .line-one{
        font-size: 2em;
        letter-spacing: 2px;
}
.contact-content .line-two{
        margin-top: 40px;
        margin-bottom: 30px;
        font-size: 4em;
        letter-spacing: 4px;
}
.contact-content .line-three{
        color: #DDD;
        font-size: 0.9em;
}
.contact-content .line-four{
        margin-top: 40px;
        font-size: 1.5em;
        letter-spacing: 6px;
}

.social-icons{
        margin: 0px;
        list-style: none;
        list-style-type: none;
        position: absolute;
        bottom: 20px;
        left: 0;
        color: white;
        text-align: center;
        transform: translateX(-50%);
        left: 50%;
}
.social-icons .social-icon{
        float: left;
        margin: 0px 20px;
}
.social-icons .social-icon .icon{
        color: black;
        letter-spacing: 4px;
        font-size: 0.8em;
        text-decoration: none;
        transition: all 0.4s ease;
}
.social-icons .social-icon .icon:hover{
        color: white;
}
.projects .title{
        margin-bottom: 32px;
        margin-top: 12px;
}

.project-card.full{
        min-height: 100vh;
}
.project-card{
        position: relative;
        width: 50%;
        min-height: 50vh;
        float: left;
        overflow: hidden;
}
.project-card .content{
        position: absolute;
        top: 0;
        width: 100%;
        background-color: rgba(0,0,0,0.7);
        bottom: 0px;
        text-align: center;
        color: white;
        opacity: 0;
        transition: all 1s ease;

}
.project-card:hover .content{
        opacity: 1;
}
.project-card .bg-image{
        background-origin: border-box;
        background-size: contain;
        background-position: top;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
        position: absolute;
}
.project-card.border-red{
        border-top: 1px solid #c70000;
        border-bottom: 1px solid #c70000;
}
.project-card.note{
        background-color: #c70000;
}

.project-card.note .bg-image{
        background-image: url("assets/svg/note.svg");
}
.project-card.photo{
        background-color: #000;
}
.project-card.photo .bg-image{
        background-image: url("assets/svg/photo.svg");
}
.project-card.ssd .bg-image{
        background-image: url("assets/svg/SSD.svg");
}
.project-card.barcode .bg-image{
        background-image: url("assets/svg/Barcode.svg");
}
.project-card.speed .bg-image{
        background-image: url("assets/svg/Speed.svg");
}
.project-card.pass-pro .bg-image{
        background-image: url("assets/svg/PassPro.svg");
}



@media (min-width: 320px) and (max-width: 1024px) {
        .text-container{
                min-width: 320px;
        }
        .anim-text{
                min-width: 40px;
        }
        .project-card{
                min-height: 50vw;
        }
        .about-content .line-one {
               
                line-height: 1.6em;
        }
        .about-content, .contact-content {
                
                width: 100%;
        }
        .contact-content .line-two {
                
                font-size: 2em;
                line-height: 1.5em;
        }
        .contact-content .line-one {
                font-size: 1.5em;
               
            }
            .social-icons {
                
                padding: 0px;
            }
            .social-icons .social-icon{
                    margin: 0px 5px;
                    float: none;
            }
            .social-icons .social-icon .icon{
                letter-spacing: 1px;
            }
}
      