:root {
    --dark-color: #19283f;
    --green: #33d1cc;
    --red: #ff3150;
    --yellow: #ffc400;
    --section-color: #eff7fa
}

* {
    box-sizing: border-box
}

*::selection {
    background-color: var(--green);
    color: white
}

body {
    font-family: 'Roboto', sans-serif
}

ul {
    display: contents;
    list-style: none
}

.container {
    padding: 0 15px;
    overflow: hidden
}

a.main-btn,
a.main-btn:hover {
    font-size: 1rem;
    background-color: var(--red);
    color: var(--yellow);
    border-color: var(--red)
}

.special-heading::after {
    content: '';
    width: 120px;
    height: 2px;
    background-color: var(--green);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px
}

/* start navbar  */
.navbar {
    background-color: var(--dark-color)
}

.navbar .navbar-nav .nav-link {
    color: white;
    cursor: pointer
}

.navbar .navbar-nav a {
    font-size: 1.1rem;
    font-weight: 400
}

.navbar .navbar-nav .nav-item {
    cursor: pointer
}

.navbar .navbar-toggler:focus {
    border-color: white;
    box-shadow: none
}

.navbar .navbar-nav .nav-item.active .nav-link,
.navbar .navbar-nav .nav-item:focus .nav-link,
.navbar .navbar-nav .nav-item:hover .nav-link {
    color: var(--green)
}

.navbar .search svg {
    color: var(--green);
    border-left: 2px solid var(--green);
    font-size: 1.2rem;
    cursor: pointer
}

/* end navbar  */

/* start landing  */
header.landing {
    background-color: var(--dark-color);
    min-height: calc(100vh - 70px)
        /* avoid fixed sizes */
}

/* end landing  */

/* start features  */
section.features .feature svg:first-child {
    color: var(--section-color)
}

section.features .feature svg:last-child {
    color: var(--green);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)
}

section.features .feature h4 {
    color: var(--yellow);
    margin: 1.5rem 0
}

/* end features  */

/* start our-work  */
section.our-work {
    background-color: var(--section-color)
}

section.our-work .options {
    gap: 1rem
}

@media (min-width: 768px) {

    section.our-work .options {
        gap: 1.5rem
    }

}

section.our-work li {
    cursor: pointer
}

section.our-work li:hover {
    color: var(--red)
}

section.our-work .gallery>div>div {
    cursor: pointer;
    border: 8px solid white
}

section.our-work .gallery>div>div::before {
    content: attr(data-work);
    position: absolute;
    width: 0;
    overflow: hidden;
    height: 100%;
    background-color: rgba(51, 209, 204, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    top: 0;
    left: 0;
    transition: 0.3s;
    z-index: 999
}

section.our-work .gallery>div>div:hover::before {
    width: 100% !important
}

/* end our-work  */

/* start stuff  */
section.stuff .special-heading+p {
    max-width: 500px
}

section.stuff .figure {
    min-width: calc(100% / 3 * 2)
}

/* end stuff  */

/* start team  */
section.team {
    background-color: var(--section-color)
}

section.team .row {
    background-color: var(--section-color)
}

section.team .text h2 {
    color: var(--yellow)
}

section.team .member h4 {
    background-color: var(--green)
}

section.team .member blockquote {
    margin: 1rem
}

section.team .member img {
    width: 100%
}

/* end team  */

/* start project  */

section.project {
    background-color: var(--dark-color);
    color: white
}

/* end project  */

/* start subscribe  */
section.subscribe {
    background-color: var(--yellow)
}

section.subscribe input[type="email"] {
    width: clamp(100px, 90%, 650px);
    color: white;
    border-width: 0 0 1px 0;
    border-color: white;
    border-radius: 0;
    font-size: 1.25rem
}

section.subscribe input[type="email"]:focus {
    outline: none
}

section.subscribe input[type="email"]::placeholder {
    color: white
}

section.subscribe input[type="submit"],
section.subscribe input[type="submit"]:active,
section.subscribe input[type="submit"]:focus {
    background-color: var(--dark-color);
    color: var(--yellow)
}

section.subscribe input[type="submit"] {
    border: none
}

section.subscribe input[type="submit"]:active,
section.subscribe input[type="submit"]:focus {
    border: 0.25rem solid #19283f
}

/* end subscribe  */

/* start footer  */

footer {
    background-color: var(--dark-color);
    font-size: 1.07rem;
    font-weight: 600;
}

footer .social svg {
    cursor: pointer;

    &:first-child {
        background-color: #1877f2;
    }

    &:nth-child(2) {
        background-color: #1da1f2;
    }

    &:nth-child(3) {
        background-color: #2867b2;
    }

    &:nth-child(4) {
        background-color: red;
    }
}

.copy small {
    display: block
}

.copy small:first-child span {
    color: var(--green)
}

.copy small:last-child span {
    color: var(--yellow)
}

/* end footer  */