@font-face{
    font-family: 'opensans';
    src: url(../fonts/OpenSans-Regular.ttf);
}

* {
    margin: 0;
    font: 16px opensans;
    box-sizing: border-box;
}

.categorys {
    width: 100%;
    text-align: center;
    background-color: #1E446A;
}

.circle {
    background-color: #ededed;
    border-radius: 50%;
    border: solid transparent 2px;
    display: inline-block;
    height: 80px;
    margin: 3%;
    text-align: center;
    vertical-align: middle;
    width: 80px;
}

.circle:hover {
    border: solid #008B8B 2px;
    cursor: pointer; 
}

.fa:before {
    font-size:30px;
    color: #FFF;
    line-height: 80px;
}

.circle .fa:before {
    color: #008B8B;
}

.game {
    width: 100%;
    background-color: #008B8B;
    min-height: 80vh;
    overflow: none;
}

.game .top h2 {
    text-align: center;
    color: #D3D3D3;
    font-size: 40px;
}

.text-game p {
    text-align: justify;
    color: #D3D3D3;
    line-height: 140%;
    font-size: 17px;
    overflow: none; 
}

.text-game {
    padding-top: 40px;
    padding-bottom: 80px; 
    width: 90%;
    margin: auto;
    overflow: none;
}

.button-game {
    border: solid #FFF 2px;
    background: transparent;
    border-radius: 3px; 
    width: 130px;
    height: 30px;
    color: #FFF;
    float: right;
    margin-top: 5px;
    font-size: 14px;
    margin-right: 10%; 
}

.button-game:hover {
    cursor: pointer;
    color: #008B8B;
    background-color: #FFF;
}

/*Home*/
#home {
    width: 100%;
    height: 80vh;
    text-align: center;
    background-image: url('../images/home.png');
    background-position: center;
}

#home h1 {
    font-size: 30px;
    padding: 5px 0 10px 0;
}

.image-home {
    width: 100%;    
    max-height: auto;
    background-size: cover;
    background-position: center;    
}

.image-home p {
    text-align: center;
    padding-top: 50px;
}

.title {
    font-size: 100px;
    opacity: 1; 
} 

.galery {
    width: 100%;
    height: 100vh;
    background-color: #F8F8FF;
}

/*Slide Show */
#slider {
    z-index: 1;
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    height: 100%;
}


#slider a {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 90%;
    margin-left: 5%;
    height: auto;
    opacity: 0;
    filter:alpha(opacity=0);
}

#slider img {

    display: flex;
    align-items: center;
    vertical-align: center;
    justify-content: center;
}

.box-image {

}

.ativo {
    opacity: 1!important; 
    filter:alpha(opacity=100)!important;
}

.img-slide {
    /*max-height: 500px;*/
    text-align: center;
    margin: auto;
    max-width: 100%;
    top: 50%;
    transformY: translate(-50%); 
}

figure {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.trs {
    -webkit-transition:all ease-out 0.5s;
    -moz-transition:all ease-out 0.5s;
    -o-transition:all ease-out 0.5s;
    -ms-transition:all ease-out 0.5s;
    transition:all ease-out 0.5s;
}

span {
    cursor: pointer; 
    position: absolute; 
    bottom: 50%;
    z-index: 5;
    text-align: center;
}

span i::before {
    color: #008B8B !important;
    font-size: 60px !important;
}

.next {right: 5%;}

.prev {left: 5%}

/*Contact */

input, textarea {
    outline: none;
    padding: 10px;
}

#contact {
    width: 100%;
    min-height: 80vh;
    background-color: #008B8B;
}

form {
    width: 100%;
    color: #FFF;
    margin-top: 10%;
    display: inline-block;
}

.input-contact {
    height: 50%; 
    float: left;
    width: 50%;
    margin: auto;
}

.input-contact input {
    border: none;
    width: 94%;
    display: block;
    margin-top: 10px;
    color: gray;
    height: 45px;
    margin-left: 3%;
}

.textarea-contact {
    width: 50%; 
    float: right;
}

textarea {
    border: none;
    height: 155px;
    width: 94%;
    display: block;
    margin-top: 10px;  
    resize: none;
    color: gray;
    margin-left: 3%;
}

.button-contact {
    background-color: transparent;
    float: right;
    border: solid 2px #FFF;
    color: #FFF;
    width: 100px;
    height: 40px;
    margin-top: 20px;
    margin-right: 1.5%;
}

.button-contact:hover { 
    background-color: #FFF;
    color: #008B8B;
    cursor: pointer;
}

#contact h2 {
    color: #FFF;
    font-size: 40px;
    text-align: center;
}

.form-contact {
    display: inline-block;
}

/* Team */
.container {
    position: relative;
    width: 100%;
}

.container-people {
    display: inline-block;
    padding: 20px;
    text-align: center;
    width: 20%;
}

@media screen and (max-width: 768px) {
    .container-people {
        width: 30%;
    }

    .textarea-contact {
        width: 100%;
    }

    .input-contact {
        width: 100%;
    }

    .box-icons {
        width: 80%;
    }
}

@media screen and (max-width: 1094px) {
    .container-people {
        width: 40%;
    }
}

@media screen and (max-width: 532px) {
    .container-people {
        width: 80%;
    }
}

.people {
    border-radius: 50%;
    display: block;
    height: 178px;
    margin: auto;
    max-width: 178px;
    text-align: center;
}

.overlay {
    background-color: #008B8B;
    bottom: 100%;
    color: #FFF;
    font-size: 0.8em;
    height: 0;
    left: 0;
    opacity: 0.8;
    overflow: hidden;
    position: absolute;
    right: 0;
    transition: .5s ease;
    width: 100%;
}

.container:hover .overlay {
    bottom: 0;
    height: 100%;
}

.text {
    white-space: nowrap;
    color: #FFF;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.box-people {
    top: 50%;
}

.middle-people {
    opacity: 0;
    top: 50%;
    position: absolute;
    left: 50%;    
    transform: translate(-50%, -50%);
    background-color: #008B8B;
}

.box-people:hover .middle-people{
    opacity: 1;
}

.box-team {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    margin-top: 40px;
}

#team {
    min-height: 100vh;
}

#team h2 {    
    color: #008B8B;
    font-size: 50px;
    margin-top: 50px;
    text-align: center;
}

.description {
    width: auto;
    display: inline-block;
    position: relative;
    display: flex;
}

.description-p {
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.description p:first-child {
    color: #008B8B;
    font-weight: bold;
}


.description p:nth-child(2) {
    color: #C0C0C0;
}

/*Footer*/
.div-icon .fa {
    margin-top: -0.7em;
}

.box-icons {
    display: inline-block;
    margin-left: 50px;
    text-align: center;
}

.box-developer{
    float: right;
}

.div-icon {
    width: 3.5em;
    height: 3.5em;
    background-color: blue;
    border-radius: 50%;
    margin: 10px 5px;
    text-align: center;
    display: inline-block;    
    transition: all 0.2s;
}

.div-icon:hover {
    -webkit-animation:spinAround 2s linear infinite;
    animation: spinAround 2s linear infinite;
}

@-webkit-keyframes spinAround {
    from {
        -webkit-transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spinAround {
    from {
        -moz-transform: rotate(0deg)
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@keyframes spinAround {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg);
    }
}

.face {
    background-color: #3B5998;
}

.youtube {
    background-color: #C4302B;
}

.flickr {
    background-color: #FF1981;
}

.twitter {
    background-color: #00ACED;
}

.vimeo {
    background-color: #AAD450;
}

.developer {
    color: #D3D3D3;
    font-size: 14px;
    margin-top: 5%;
    margin-right: 5%;
    text-align: center;
}

footer {
    background-color: #FFF;
    width: 100%;
    min-height: 20vh;
    display: inline-block;
    bottom: 0;
}


@media screen and (max-width: 772px) {
    .box-developer {
        float: none;
        text-align: center;
    }

    .img-logo {
        text-align: center;
    }    

    .box-icons {
        margin-left: 0px;
        text-align: center;
    }

    footer {
        text-align: center;
    }
}

/*Donwload*/
video {
    text-align: center;
    margin: auto;
}

.video {
    width: 100%;
    text-align: center;
    background-color: red;
    margin-left: 20px;

}

#video {
    text-align: center;
}

iframe {
    width: 30%;
    text-align: center;
    padding: 10px;
}

.middle {
    opacity: 1;
    top: 50%;
    position: absolute;
    left: 50%;    
    transform: translate(-50%, -50%);
}

.images-category:hover .middle{
    opacity: 1;
}

.tabs {
    text-align: center;
}

.tabbutton:hover {
    background-color: #008B8B;
    color: #FFF;
}

.tabs .active {
    background-color: #008B8B;
    color: #FFF;
}

.tabcontent {
    display: none;
}

.description-paper {
    text-align: center;
    color: #008B8B;
}

.tabbutton {
    background-color: transparent;
    border: 1px solid #008B8B;
    color: #008B8B;
    cursor: pointer;
    margin-top: 10px;
    padding: 10px;
    transition: 0.3s;
}

.images-category {
    width: 30%;
    height: auto;
    position: relative; 
    display: inline-block;
}

.images-category:hover img {
    opacity: 0.6;
}

.images-category img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.box-right {
    float: right;
    text-align: center;
    width: 50%;
    height: 100vh;
}

.donwload {
    min-height: 100vh;
    width: 100%;   
    background: url('../images/cubes.png');
    background-repeat: repeat;
    background-attachment: fixed;
}

.button-donwload {
    padding: 15px;
    background-color: #008B8B;
    color: #FFF;
    cursor: pointer;
    border: none;
    border-radius: 5px;
}

.button-donwload i {
    font-size: 5px;
}

.box-title-download {
    text-align: center;
}

.title-download {
    font-size: 3em;
    color: #008B8B;
}

.description-download {
    padding: 25px 0 25px 0;
    color: #C0C0C0;
    text-align: center;
}

.description-category {
    text-align: center;
    color: #008B8B;
    padding: 20px 0 20px 0; 
}

.center {
    text-align: center;
    color:#FFF;
}

.center p {
    color: #FFF;
    font-size: 1.3em;
}

a {
    text-decoration: none;
}

.box-categorys {
    text-align: center;
}

@media screen and (max-width: 900px) {
    .images-category {
        width: 40%;
    }    
}

@media screen and (max-width: 507px) {
    .images-category {
        width: 100%;
    }    
}

/*
Nav*/

header {
    top:0;
    right: 0;
    transition: all 2s linear 0.3s;
}

.menu {
    width: 100%;
    height: 60px;
    position: fixed;
    z-index: 6;
    top: 0;
    margin: 0 auto; 
}

nav {
    width: 70%;
    float: right;
    display: none;
    transition: all 2s linear 0.3s;
}

nav ul li {
    display: inline-block;
    padding: 17px 30px;
    list-style: none; 
    color: #008B8B;
}

.menu ul li:hover {
    border-bottom: 4px solid  #008B8B;
}

.img-logo {
    height: 20px;
    padding: 20px 50px;
}

#control-nav {
    display: none;
}

@media screen and (max-width: 767px) {
    header .control-nav {
        position: absolute;
        right: 20px;
        top: 20px;
        display: block;
        width: 30px;
        padding: 5px 0;
        border: solid #333;
        border-width: 3px 0;
        z-index: 2;
        cursor: pointer;
        float: right;
    }

    header .control-nav:before {
        content: "";
        display: block;
        height: 3px;
    }

    header .control-nav-close {
        position: fixed;
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
        display: block;
        z-index: 1;
        -webkit-transition: all 500ms ease;
        transition: all 500ms ease;
        -webkit-transform: translate(100%, 0);
        -ms-transform: translate(100%, 0);
        transform: translate(100%, 0);
    }

    header .nav {
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 50%;
        border-left: 1px solid #CCC;
        background: #FFF;
        overflow-x: auto;
        z-index: 6;
        -webkit-transition: all 500ms ease;
        transition: all 500ms ease;
        -webkit-transform: translate(100%, 0);
        -ms-transform: translate(100%, 0);
        transform: translate(100%, 0);
        display: block;
    }

    header .nav ul {
        display: block;
        padding: 0;
    }

    header .nav ul li {
        display: block;
        text-align: center;
    }

    #control-nav:checked ~ .control-nav-close {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    #control-nav:checked ~ nav {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .categorys {
        display: none;
    }

    #home {
        margin-top: 60px;
        height: 100vh;
    }

}