@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
    background: #010615;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.box {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px;
    background: #060c21;
    transition: 0.5s;
    border-radius: 12px;
}

.box .content {
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 90px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 1;
    transition: 0.5s;
    border-radius: 12px;
}

.box .content h2 {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1px;
}

.box .content h2 span {
    font-size: 20px;
    color: #fff;
    font-weight: 200;
    letter-spacing: 2px;
}

.box .imgBox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.box .imgBox img {
    max-width: 100%;
    opacity: 0.1;
    transition: 0.5s;
    border-radius: 12px;
}

.box:before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #fff;
    z-index: -1;
    border-radius: 12px;
}

.box:hover {
    height: 400px;
    cursor: pointer;
}

.box:hover .content {
    opacity: 1;
}

.box:hover .imgBox img {
    opacity: 1;
}

.box:nth-child(3n):before,
.box:nth-child(3n):after {
    background: linear-gradient(235deg, #89ff00, #010615, #00bcd4);
}

.box:nth-child(3n + 1):before,
.box:nth-child(3n + 1):after {
    background: linear-gradient(235deg, #ff005e, #010615, #fbff00);
}

.box:nth-child(3n + 2):before,
.box:nth-child(3n + 2):after {
    background: linear-gradient(235deg, #772aff, #010615, #2196f3);
}

.btn {
    background-color: transparent;
}

img:hover {
    cursor: pointer;
}

.nav-area li {
    display: inline-block;
    padding: 0 15px;
    text-transform: uppercase;
}

.nav-area li a:hover {
    color: #75849d;
}

#navbar {
    width: 1200px;
    display: block;
}

.btn {
    border-style: none;
}

.box form,
input,
button {
    cursor: pointer;
}
.mobile-nav-bar {
    display: none;
}

@media screen and (max-width: 768px) {
    * {
        font-size: 0.95rem;
    }
    header img {
        width: 100px;
        height: 100px;
    }
    .btn-area {
        font-size: 0.95rem;
        padding: 5px 20px;
    }
    .box .content {
        opacity: 1;
    }
    .box .imgBox img {
        opacity: 1;
    }
    #nav-bar {
        display: none;
    }
    .mobile-nav-bar {
        display: block;
    }
    .burger-nav {
        display: block;
        height: 100px;
        width: 100px;
        background: url(../photos/burger-icon.png) no-repeat 50% center;
        cursor: pointer;
    }
    .burger-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .burger-container img {
        width: 100px;
    }
    .burger-container p {
        color: white;
        font-size: 2rem;
        font-weight: 225;
    }
    .mobile-nav-bar ul {
        overflow: hidden;
        background: #75849d;
        height: 0;
    }
    .mobile-nav-bar ul.open {
        height: auto;
    }
    .mobile-nav-bar ul li {
        float: none;
        text-align: left;
        width: 100%;
        margin: 0;
    }
    .mobile-nav-bar ul li a {
        color: white;
        padding: 10px;
        border-bottom: 2px solid #393d44;
        display: block;
        margin: 0;
    }
}
