* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    height: 100%;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

a {
    color: #000;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;

}

.container-nav-full {
    width: 100%;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    padding: 0 40px;
}

.container-full {
    width: 100%;
    /* The image used */
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url("img/bg-reverse.gif") no-repeat center center/cover;
    
    /* Full height */
    height: 100%;
    
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-full p {
    color: #f5f5f5;
    font-size: 40px;
    text-shadow: 2px 2px 5px rgb(0, 0, 0);
    font-family: 'Comfortaa', cursive;
    margin-top: 140px;
    text-align: center;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #f5f5f5;
    box-shadow: 0 2px 10px -8px gray;
}

.main-nav {
    font-family: 'Comfortaa', cursive;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    font-size: 13px;
}

.main-nav .menu-left a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-family: 'Audiowide', cursive;
    font-weight: 700;
}

.main-nav .menu-left .logo {
    width: 60px;
    padding-right: 10px;
}

.main-nav .menu-right {
    display: flex;
    align-items: center;
    color: #f5f5f5;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    padding: 0 15px;
}

.main-nav ul li a {
    padding-bottom: 2px;
}

.main-nav ul li a:after {
    display:block;
    content: '';
    border-bottom: 2px solid #262626;  
    transform: scaleX(0);  
    transform-origin:  0% 50%;
    transition: transform 250ms ease-in-out;
}

.main-nav ul li a:hover:after { 
    transform: scaleX(1); 
}

.main-nav ul li a.current {
    border-bottom: 2px solid #262626;
}

.main-nav ul.main-menu {
    font-size: 18px;
    font-weight: 500;
    margin-right: 20px;
}

.menu-btn {
    cursor: pointer;
    position: fixed;
    top: 35px;
    right: 30px;
    z-index: 10;
    display: none;
}

.nav-btn:hover {
    color: #f5f5f5;
    background-color: #262626; 
    transition: all 0.2s ease-in-out;
}

.btn {
    cursor: pointer;
    display: inline-block;
    border: 1px solid #262626;
    border-radius: 3px;
    font-weight: bold;
    padding: 10px 20px;
    color: #262626;
    font-size: 15px;
}

.btn:hover {
    opacity: 0.9;
}

.dark {
    color: #fff;
}

.off-white {
    background-color: #f5f5f5;
}

.white {
    background-color: #fff;
}

.dark .btn {
    background: #f4f4f4;
    color: #333;
}

.section-title {
    font-family: 'Comfortaa', cursive;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    margin-top: 80px;
    margin-bottom: 20px;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-bottom: 100px;
    padding-top: 180px;
    margin-top: -180px;
}

.services .service {
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 2px #888888;
    border-radius: 3px;
    background-color: #fff;
    padding: 10px;
}


.services .service .info {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.services div img {
    width: 50px;
    height: 50px;
    margin: auto 0;
}

/* Projects */
.projects {
    padding-top: 180px;
    margin-top: -180px;
}

.project {
    margin-bottom: 40px;
    box-shadow: 0px 0px 2px #888888;
}

.project .info p {
    font-size: 18px;
}

.project .info div {
    display: flex;
    align-items: center;
    justify-content: start;
}

.project .info a img {
    height: 40px;
}

.project .info div a:first-child img {
    margin-right: 10px;
    border-radius: 5px;
} 



.neuroshima {
    background: url("img/Convoy_BG.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.neuroshima .top-images {
    display: flex;
    justify-content: space-around;
    flex: 50%;
    height: 50%;
}

.neuroshima .title {
    flex: 50%;
    max-width: 50%;
}

.neuroshima .title .crown {
    width: 20%;
    margin: 0 auto;
}

.neuroshima .title img {
    width: 100%;
}

.neuroshima .title .name {
    width: 60%;
    margin: 0 auto;
}

.neuroshima .title .publisher {
    width: 40%;
    margin: 0 auto;
}

.neuroshima .mobile {
    flex: 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
}

.neuroshima .mobile .phone-image {
    width: 80%;
    margin: auto;
}

.neuroshima .mobile img {
    width: 100%;
}

.neuroshima .info {
    color: #049db8;
    margin: 0;
    margin-top: 30px;
    flex: 50%;
    width: 80%;
}

.neuroshima .info div {
    justify-content: center;
    margin-top: 20px;
    margin-right: 20px;
}

.neuroshima .info a:last-child img {
    height: 60px;
}

.greenland {
    background: url("img/Greenland_BG.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.greenland .top-images {
    display: flex;
    justify-content: space-around;
    flex: 50%;
    height: 50%;
}

.greenland .title {
    flex: 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.greenland .title img {
    width: 100%;
}

.greenland .title .name {
    width: 70%;
    margin: 0 auto;
}

.greenland .title .publisher {
    width: 30%;
    margin: 0 auto;
}

.greenland .mobile {
    flex: 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
}

.greenland .mobile .phone-image {
    width: 80%;
    margin: auto;
}

.greenland .mobile img {
    width: 100%;
}

.greenland .info {
    color: #262626;
    flex: 50%;
    width: 50%;
    margin: 0;
    margin-top: 10px;
    text-align: initial;
}

.greenland .info p {
    margin-bottom: 20px;
}

.greenland .info div {
    justify-content: flex-start;
    margin-bottom: 20px;
    margin-right: 20px;
}



.colour-chess {
    background: url("img/Chess_BG.jpg") no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.colour-chess .title {
    width: 30%;
    margin: auto;
    margin-left: 10%;
}

.colour-chess .title img {
    width: 100%;
}

.colour-chess .about {
    display: flex;
    padding: 0;
}

.colour-chess .about .info {
    display: flex;
    flex-direction: column;
    justify-content: start;
    flex: 50%;
    padding-top: 90px;
    padding-left: 70px;
}

.colour-chess .about .info p {
    color: #f5f5f5;
    width: 90%;
    text-align: initial;
}



.colour-chess .about .mobile {
    flex: 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.colour-chess .about .phone-image {
    width: 60%;
    margin: 0 auto;
}

.colour-chess .phone-image img {
    width: 100%;
}

/* .colour-chess .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 50%;
}

.colour-chess .left .title {
    width: 60%;
    margin: 0 auto;
}

.colour-chess .left .title img {
    width: 100%;
}

.colour-chess .info {
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    margin-top: 30px;
}

.colour-chess .info div {
    margin-top: 20px;
}

.colour-chess .right {
    flex: 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.colour-chess .right .phone-image {
    width: 60%;
    margin: 0 auto;
}

.colour-chess .phone-image img {
    width: 100%;
} */

.colour-chess .info a:last-child img {
    height: 60px;
}

/* Partners */
.partners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    grid-gap: 20px;
    margin: 40px 0;

    padding-top: 180px;
    margin-top: -180px;
}

.partners img {
    width: 100%;
}

/* About */
.about {
    padding: 80px 0;
}

.about h1 {
    font-family: 'Comfortaa', cursive;
    font-size: 48px;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    text-align: justify;
}

/* Contact */
.contact {
    padding: 80px 0;
}

.contact h1 {
    font-family: 'Comfortaa', cursive;
    font-size: 48px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
}

.contact form {
    margin-top: 20px;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    background-color: #f5f5f5;
  }

/* Footer */
.footer {

    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 20px 0;
}

@media(max-width: 1200px) {
    .container-full {
        height: 500px;
    }

    .vertical .info h5 {
        margin-bottom: 10px;
    }

    /* .colour-chess .info p {
        font-size: 16px;
        margin-bottom: 20px;
    } */

}

@media(max-width: 992px) {
    .container-full {
        height: 400px;
    }

    .container-full p{
        font-size: 40px;
    }

    .menu-btn {
        display: block;

    }

    .menu-btn:hover {
        opacity: 0.5;
    }

    .main-nav ul.main-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background: #f2f2f2;
        width: 50%;
        height: 1000px;
        border-right: 1px solid #ccc;
        opacity: 0.95;
        padding: 30px;
        transform: translateX(-500px);
        transition: transform 0.5s ease-in-out;
    }

    .main-nav .menu-right {
        display: block;
        position: absolute;
        top: 230px;
        left: 40px;
        transform: translateX(-500px);
        transition: transform 0.5s ease-in-out;
    }

    .main-nav ul.main-menu {
        display: flex;
        flex-direction: column;
    }

    .main-nav ul.main-menu li {
        padding: 10px;
        border-bottom: 1px solid #ccc;
        font-size: 20px;
    }

    .main-nav ul.main-menu li:last-child {
        border-bottom: 0;
    }

    .main-nav .main-menu.show, .main-nav .menu-right.show {
        transform: translateX(-20px);
    }

    .main-nav ul li a:after {
        display: none;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .neuroshima .top-images {
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
    }
    
    .neuroshima .title {
        max-width: 100%;
    }

    .neuroshima .title .crown {
        width: 25%;
    }

    .neuroshima .title .name {
        width: 70%
    }

    .neuroshima .mobile {
        margin-top: 30px;
        max-width: 100%;
    }

    
    .greenland .top-images {
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
    }

    .greenland .title {
        max-width: 100%;
    }

    .greenland .title .name{
        width: 80%
    }

    .greenland .mobile {
        margin-top: 30px;
        max-width: 100%;
    }

    .greenland .info {
        width: 60%;
        font-size: 16px;
    }
    

    /*
    .greenland .title .publisher {
        display: flex;
        justify-content: center;
    }

    .greenland .title .publisher img {
        width: 150px;
    }

    .greenland .top-images .mobile {
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .greenland .top-images .mobile img {
        width: 500px;
    }

    .greenland .info {
        width: 60%;
    } */

    .colour-chess .title {
        width: 50%;
        margin: auto;
    }

    .colour-chess .about {
        flex-direction: column;
    }

    .colour-chess .about .info{
        order: 2;
        padding-top: 20px;
        padding-left: 0;
        align-items: center;
        justify-content: center;
    }

    .colour-chess .about .info p {
        width: 90%;
        padding: 0 10px;
        text-align: start;
    }

    .colour-chess .about .mobile {
        order: 1;
        max-width: 100%;
        margin-top: 30px;
    }

    .colour-chess .about .mobile .phone-image {
        width: 30%;
    }

    /* .colour-chess .info {
        width: 90%;
    }

    .colour-chess .info p {
        margin-bottom: 0;
    } */

}

@media(max-width: 768px) {
    .container-full p{
        font-size: 32px;
    }

    .services {
        grid-template-columns: repeat(1, 1fr);
    }

    /* .neuroshima .title .name img {
        width: 200px;
    }

    .neuroshima .top-images .mobile {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .neuroshima .top-images .mobile img {
        width: 450px;
    }

    .neuroshima .info {
        width: 70%;
    } */

    /* .greenland .title .name img {
        width: 450px;
    }

    .greenland .top-images .mobile img {
        width: 450px;
    } */

    /* .colour-chess {
        height: 850px;
        flex-direction: column;
    }

    .colour-chess .info {
        justify-content: center;
        text-align: center;
    }

    .colour-chess .info div {
        margin-bottom: 0;
        justify-content: center;
    }

    .colour-chess .image-horizontal img {
        width: 180px;
        margin-top: 0;
    }

    .colour-chess .info a img {
        height: 30px;
    }

    .colour-chess .info a:last-child img {
        height: 50px;
    } */

    .about {
        padding: 40px 0;
    }

    .contact {
        padding: 40px 0; 
    }

}

@media(max-width: 600px){
    .services {
        grid-template-columns: repeat(1, 1fr);
    }

    .project .info p {
        font-size: 16px;
    }

    .project .info a img {
        height: 30px;
    }

    .neuroshima .info a:last-child img {
        height: 50px;
    }

    .colour-chess .info a:last-child img {
        height: 50px;
    }

    /* .neuroshima {
        height: 800px;
    }

    .neuroshima .info p {
        font-size: 16px;
    }

    .neuroshima .top-images .mobile img {
        width: 350px;
    } */

    /* .greenland .title .name img {
        width: 350px;
    }

    .greenland .title .publisher img {
        width: 130px;
    }

    .greenland .top-images .mobile {
        margin-bottom: 20px;
    }

    .greenland .top-images .mobile img {
        width: 350px;
    }

    .greenland .info p {
        text-align: initial;
    }
 */
    
    /* .project .image-horizontal img {
        margin: 0;
        width: 150px;
    } */
}

@media(max-width: 500px){
    /* .greenland .info {
        width: 70%;
    } */
    .main-nav {
        height: 60px;
    }

    .menu-btn {
        top: 14px;
    }

    .about h1, .contact h1 {
        font-size: 32px;
    }
}

@media(max-width: 420px){
    .project .info a img {
        height: 25px;
    }

    .colour-chess .title {
        width: 40%; 
    }

    .neuroshima .info a:last-child img {
        height: 40px;
    }

    .colour-chess .info a:last-child img {
        height: 40px;
    }
}

@media(orientation : landscape) {
    .main-nav {
        height: 60px;
    }

    .menu-btn {
        top: 14px;
    }
}