@font-face{
    font-family: orbitron-regular;
    src: url("../font/Orbitron-Regular.ttf");
}

body{
    background-color: #111111;
    color: #ffffff;
    letter-spacing: 0.1em;
}

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


.container{
    width: calc(100% - 40px);
    margin: 20px;
}

input, select{
    border-style: solid;
    height: 30px;
    width: 100%;
    border-width: 0px;
    margin: 1px;
}
textarea{
    border-style: solid;
    width: 100%;
    border-width: 0px;
    margin: 1px;
}

button{
    background-color: orange;
    border-width: 0;
    padding: 10px;
    color: #ffffff;
    margin: 1px;
}

/**************************YELLOW**************************/

#yellow-container{
    -webkit-perspective: 4000px;
    -moz-perspective: 4000px;
    perspective: 4000px;
    text-align: center;
}

#yellow{
    text-align: center;
    margin: auto;
    position: relative;
    max-width: 1000px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: .7s ease;
}

#yellow img{
    width: 100%;
}

#yellow-front-content{
    position: absolute;
    top: 52%;
    left: 60%;
    width: 30%;
    text-align: justify;
    font-size: 18px;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    line-height: 1.5em;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media screen and (max-width: 1050px){
    #yellow-front-content{
        font-size: 1.8vw;
    }
}

#yellow-back{
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    transform: rotateY(180deg);
}

#yellow-back-content{
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    top: 40%;
    left: 10%;
    position: absolute;
    width: 30%;
    line-height: 1.5em;
    text-align: justify;
    font-size: 16px;
}

#yellow-back-content h1{
    margin-bottom: 15px;
    font-size: 3em;
}

#yellow-back-content strong{
    color: #333333;
}

@media screen and (max-width: 1050px){
    #yellow-back-content{
        font-size: 1.6vw;
    }
}


#yellow-front, #yellow-back{
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.yellow-flip{
    transform: rotateY(180deg);
}



/**************************BLUE**************************/

#blue-container{
    -webkit-perspective: 4000px;
    -moz-perspective: 4000px;
    perspective: 4000px;
    text-align: center;
    
}

#blue{
    text-align: center;
    margin: auto;
    position: relative;
    max-width: 1000px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: .7s ease;
}

#blue img{
    width: 100%;
}

#blue-front-content1{
    position: absolute;
    top: 40%;
    left: 10%;
    width: 30%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    line-height: 1.5em;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: justify;
    font-size: 18px;
}

#blue-front-content2{
    position: absolute;
    top: 40%;
    left: 60%;
    width: 30%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    line-height: 1.5em;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: justify;
    font-size: 18px;
}

#blue-back{
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    transform: rotateY(180deg);
}

#blue-back-content{
    position: absolute;
    top: 40%;
    left: 55%;
    width: 40%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    text-align: justify;
    font-size: 18px;
    color: #111111;
}

@media screen and (max-width: 1050px){
    #blue-front-content1{
        font-size: 1.8vw;
    }

    #blue-front-content2{
        font-size: 1.8vw;
    }
    #blue-back-content{
        top: 5%;
        font-size: 1.8vw;
    }
}

#blue-front, #blue-back{
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.blue-flip{
    transform: rotateY(180deg);
}



/**************************GREEN**************************/

#green-container{
    -webkit-perspective: 4000px;
    -moz-perspective: 4000px;
    perspective: 4000px;
    text-align: center;
    
}

#green{
    text-align: center;
    margin: auto;
    position: relative;
    max-width: 1000px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: .7s ease;
}

#green img{
    width: 100%;
}

#green-front-content1{
    position: absolute;
    top: 45%;
    left: 5%;
    width: 40%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    line-height: 1.5em;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: justify;
    font-size: 18px;
}

#green-front-content2{
    position: absolute;
    top: 50%;
    left: 55%;
    width: 40%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    line-height: 1.5em;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: justify;
    font-size: 18px;
}

#green-back-content{
    position: absolute;
    top: 45%;
    left: 55%;
    width: 40%;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5em;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: justify;
    font-size: 16px;
}

#green-back-content strong{
    color: #111111;
}

#green-back{
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    transform: rotateY(180deg);
}

#green-front, #green-back{
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media screen and (max-width: 1050px){
    #green-front-content1{
        font-size: 1.8vw;
    }

    #green-front-content2{
        font-size: 1.8vw;
    }
    #green-back-content{
        font-size: 1.6vw;
    }
}

.green-flip{
    transform: rotateY(180deg);
}


/**************************RED**************************/

#red-container{
    -webkit-perspective: 4000px;
    -moz-perspective: 4000px;
    perspective: 4000px;
    text-align: center;
    
}

#red{
    text-align: center;
    margin: auto;
    position: relative;
    max-width: 1000px;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: .7s ease;
}

#red img{
    width: 100%;
}

#red-front-content1{
    text-align: left;
    position: absolute;
    top: 25%;
    left: 5%;
    width: 40%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    text-align: justify;
    line-height: 1.5em;
    font-size: 16px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

#red-front-content2{
    text-align: left;
    position: absolute;
    top: 45%;
    left: 55%;
    width: 40%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    text-align: justify;
    line-height: 1.5em;
    font-size: 16px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

#red-front-content1 .logo-project{
    width: 25%;
}

#red-front-content1 .project-description{
    padding: 30px 0px 30px 20px;
}


#red-back{
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    transform: rotateY(180deg);
}

#red-front, #red-back{
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

#red-back-content{
    text-align: left;
    position: absolute;
    top: 30%;
    left: 5%;
    width: 40%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    text-align: justify;
    line-height: 1.5em;
    font-size: 16px;
}

@media screen and (max-width: 1050px){
    #red-front-content1{
        font-size: 1.6vw;
    }
    #red-front-content1 .project-description{
        padding: 3px 0px 3px 2px;
    }

    #red-front-content2{
        font-size: 1.6vw;
    }
    #red-back-content{
        font-size: 1.6vw;
        top: 15%;
    }
}

.red-flip{
    transform: rotateY(180deg);
}


/**************************CONTACT**************************/

#contact-container{
    text-align: center;
}

#contact{
    text-align: center;
    margin: auto;
    position: relative;
    max-width: 1000px;
}

#contact img{
    width: 100%;
}

#contact-content1{
    position: absolute;
    top: 40%;
    text-align: center;
    width: 100%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    font-size: 22px;
}

#contact-content1 a{
    color: #ffffff;
    text-decoration: none;
}

#contact-content2{
    position: absolute;
    top: 65%;
    text-align: center;
    width: 100%;
    font-family: orbitron-regular, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5em;
}

#contact-content2 h3, #contact-content2 h2{
    margin-bottom: 20px;
}

#contact-content2 table{
    width: 100%;
}

#contact-content2 table td{
    width: 50%;
}

@media screen and (max-width: 1050px){
    #contact-content1{
        font-size: 2.2vw;
    }

    #contact-content2{
        font-size: 1.8vw;
    }

    #contact-content2 h3, #contact-content2 h2{
        margin-bottom: 2vw;
    }
}