* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.hero {
    height: 100vh;
    width: 100%;
    background-image: url(img/nvqcover.png);
    background-size: cover;
    background-position: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    padding-left: 8%;
    padding-right: 8%;
}

.btn img {
    width: 40px;
    transition: transform .4s;
}

.btn:hover {
    transform: scale(1.2);
}

.logo img {
    color: white;
    width: 150px;
    display: flex;
}

nav ul li {
    list-style-type: none;
    display: inline-block;
    padding: 10px 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-family: 'Merriweather', serif;
    font-weight: 400;
}

nav ul li a:hover {
    color: #f9004d;
    transition: .4s;
}

.content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}

h1 {
    color: aqua;
    margin: 5px 0px 5px;
    font-size: 60px;
    font-family: 'Odibee Sans', cursive;
    letter-spacing: 2px;
}

h3 {
    color: white;
    font-family: 'Merriweather', serif;
    font-size: 25px;
    margin-bottom: 50px;
}

h4 {
    color: white;
    letter-spacing: 1.5px;
    font-size: 18px;
    font-family: 'Merriweather', serif;
}

span {
    color: #f9004d;
}

.service {
    background: #000000;
    width: 100%;
    padding: 50px 0px;
}

.title h2 {
    color: white;
    font-family: 'Odibee Sans', cursive;
    font-size: 60px;
    width: 1130px;
    margin: 30px auto;
    text-align: center;
    letter-spacing: 3px;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.card {
    height: 350px;
    width: 300px;
    padding: 20px 35px;
    background: #191919;
    border-radius: 20px;
    margin: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card i {
    font-size: 50px;
    display: block;
    text-align: center;
    margin: 25px 0px;
    color: #f9004d;
}

h5 {
    color: white;
    font-size: 23px;
    font-family: 'Merriweather', serif;
    margin-bottom: 15px;
}

.pra p {
    color: #fcfc;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 25px;
}

.card .button {
    background-color: #f9004d;
    color: white;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 9px 22px;
    transition: .4s;
    border-radius: 30px;
}

.card .button:hover {
    background-color: transparent;
    border: 2px solid #f9004d;
    cursor: pointer;
}

.portfolio {
    background: #020000;
    width: 100%;
    padding: 50px 0px;
}

.title h2 {
    color: white;
    font-family: 'Odibee Sans', cursive;
    font-size: 60px;
    width: 1130px;
    margin: 30px auto;
    text-align: center;
    letter-spacing: 3px;
}

.frame {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.photo img {
    width: 262px;
    padding: 10px;
}

footer {
    width: 100%;
    position: absolute;
    background: linear-gradient(to right, #000000, #131212);
    color: #fff;
    padding: 80px 0 30px;
    border-bottom-right-radius: 125px;
    font-size: 15px;
    line-height: 20px;
}

.row {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.col {
    flex-basis: 25%;
    padding: 10px;
}

.col h3 {
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
    font-size: 18px;
}

.whats {
    width: 40px;
    margin-top: 10px;
}

.logo {
    width: 90px;
    margin-bottom: 20px;
}

.email {
    width: fit-content;
    border-bottom: 1px solid white;
    margin: 20px 0;
}

ul li {
    list-style: none;
    margin-bottom: 12px;
}

ul li a {
    text-decoration: none;
    color: white;
}

.underline {
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}

.underline span {
    width: 15px;
    height: 100%;
    background: white;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

@keyframes moving {
    0% {
        left: -20px;
    }

    100% {
        left: 100%;
    }
}

@media (max-width: 700px) {

    body{
        background-color: black;
    }

    .hero {
        height: 50vh;
        width: 100%;
        background-image: url(img/nvqcover.png);
        background-size: cover;
        background-position: center;
    }

    nav {
        display: flex;
        padding-top: 30px;
        padding-left: 5%;
        padding-right: 8%;
    }

    nav ul li a {
        color: white;
        text-decoration: none;
        font-family: 'Merriweather', serif;
        font-weight: 200;
        font-size: 12px;
        display: none;
    }

    nav ul li {
        display: flex;
        padding-left: 5%;
    }

    .content {
        position: absolute;
        top: 30%;
        left: 8%;
        transform: translateY(-50%);
    }

    h1 {
        color: aqua;
        margin: 5px 0px 5px;
        font-size: 30px;
        font-family: 'Odibee Sans', cursive;
        letter-spacing: 2px;
    }

    h3 {
        color: white;
        font-family: 'Merriweather', serif;
        font-size: 20px;
        margin-bottom: 50px;
    }

    h4 {
        color: white;
        letter-spacing: 1.5px;
        font-size: 13px;
        font-family: 'Merriweather', serif;
    }

    .btn img {
        width: 40px;
        transition: transform .4s;
        margin-top: -10px;
    }

    .service {
        background: #000000;
        background-size: cover;
        width: 100%;
        padding: 10px 0px;
    
    }

    .title h2 {
        color: white;
        font-family: 'Odibee Sans', cursive;
        font-size: 30px;
        width: 100%;
        margin: 30px auto;
        text-align: center;
        letter-spacing: 3px;
    }

    .box {
        display: block;
        justify-content: center;
        align-items: center;
        min-height: 300px;
    }

    .card {
        height: 300px;
        width: 300px;
        background: #191919;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
        text-align: center;
        margin: auto;
        margin-top: 15px;
    }

    .card i {
        font-size: 40px;
        display: block;
        text-align: center;
        margin: 25px 0px;
        color: #f9004d;
    }

    h5 {
        color: white;
        font-size: 20px;
        font-family: 'Merriweather', serif;
        margin-bottom: 15px;
    }

    .pra p {
        color: #fcfc;
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 25px;
    }

    .card .button {
        background-color: #f9004d;
        color: white;
        text-decoration: none;
        border: 2px solid transparent;
        font-weight: bold;
        padding: 9px 22px;
        transition: .4s;
        border-radius: 30px;
    }

    .card .button:hover {
        background-color: transparent;
        border: 2px solid #f9004d;
        cursor: pointer;
    }

    .portfolio {
        background: #020000;
        background-size: cover;
        width: 100%;
        padding: 10px 0px;
    }
    
    .title h2 {
        color: white;
        font-family: 'Odibee Sans', cursive;
        font-size: 30px;
        width: 100%;
        margin: 30px auto;
        text-align: center;
        letter-spacing: 3px;
    }
    
    .frame {
        display: block;
        justify-content: center;
        align-items: center;
        min-height: 300px;
        margin: auto;
        text-align: center;
    }
    
    .photo img {
        width: 262px;
        padding: 10px;
    }
    
    footer {
        width: 100%;
        position: absolute;
        background: linear-gradient(to right, #000000, #131212);
        color: #fff;
        padding: 50px 0 30px;
        border-bottom-right-radius: 125px;
        font-size: 15px;
        line-height: 20px;
    }
    
    .row {
        width: 80%;
        margin: auto;
        display: block;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .col {
        flex-basis: 25%;
        padding: 10px;
    }
    
    .col h3 {
        width: fit-content;
        margin-bottom: 40px;
        position: relative;
        font-size: 18px;
    }
    
    .whats {
        width: 40px;
        margin-top: 10px;
    }
    
    .logo {
        width: 90px;
        margin-bottom: 20px;
    }
    
    .email {
        width: fit-content;
        border-bottom: 1px solid white;
        margin: 20px 0;
    }
    
    ul li {
        list-style: none;
        margin-bottom: 12px;
    }
    
    ul li a {
        text-decoration: none;
        color: white;
    }
    
    .underline {
        width: 100%;
        height: 5px;
        background: #767676;
        border-radius: 3px;
        position: absolute;
        top: 25px;
        left: 0;
        overflow: hidden;
    }
    
    .underline span {
        width: 15px;
        height: 100%;
        background: white;
        border-radius: 3px;
        position: absolute;
        top: 0;
        left: 10px;
        animation: moving 2s linear infinite;
    }
    
    @keyframes moving {
        0% {
            left: -20px;
        }
    
        100% {
            left: 100%;
        }
    }



}

