* {
    margin: 0px;
    padding: 0px;
}

html {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-style: normal;
    position: relative;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #000000;
}

h1 {
    font-size: 64px;
    line-height: 1.25;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
}

p {
    font-size: 20px;
    line-height: 1.5;
}

section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 15%;
}


/*  Navigation  */

nav {
    position: absolute;
    top: 0;
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.navContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.navLinks {
    display: flex;
}

.mainCta {
    display: flex;
    align-items: center;
    transition: .5s;
    font-size: 20px;
    border-radius: 5px;
}

.mainCta:hover {
    opacity: 0.5;
}

.mainCta:first-child {
    margin-right: 2em;
}

.svgRight {
    margin-right: 0.5em;
}

/*  Hero  */

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tag {
    background-color: #EAFAF1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 1em;
}

.tag p {
    color: #27AE60;
}

.viewContainer {
    position: absolute;
    bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewContainer a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: fit-content;
}

.viewContainer p {
    margin-bottom: 1em;
}

.upAndDown {
    animation: float-up-down 1.5s ease-in-out infinite both;
}

@keyframes float-up-down {
    0% {
        -webkit-transform:translateY(0)
    }

    50% {
        -webkit-transform: translateY(-30%);
        transform:translateY(-30%)
    }

    100% {
        -webkit-transform: translateY(0);
        transform:translateY(0)
    }
}


/* Portfolio */

.titleContainer {
    margin-bottom: 6em;
}

.tagContent {
    background-color: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 1em;
}

.tagContent p {
    color: #000000;
}

.cardContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 75px;
    grid-row-gap: 75px;
}

.cardImg {
    width: 100%;
    height: 400px;
    background-color: #8E8E8E;
    border-radius: 10px;
    margin-bottom: 1.5em;
}

.cardTitle {
    margin-bottom: 0em;
    font-size: 24px;
}

.cardText {
    margin-bottom: 1em;
}

.cardLink {
    display: flex;
    align-items: center;
    font-weight: 600;
    width: fit-content;
    font-size: 20px;
}

.svgLeft {
    margin-left: 0.5em;
    display: inline-block;
    transition: .15s ease-in;
}

.cardLink:hover .svgLeft {
    transform: translateX(50%);
}

/* Contact */

.contactSection {
    padding: 0%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contactFirstParagraph {
    margin-bottom: 1em;
}

.contactSecondParagraph {
    margin-bottom: 2em;
}

/* Footer */

footer {
    width: 100%;
    margin: 0 auto; 
    background-color: #000000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footerLinks {
    display: flex;
    align-items: center;
}

.footerContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

footer a {
    color: white;
    margin-right: 3em;
}

footer a:last-child {
    margin-right: 0px;
}

.footerCta {
    display: flex;
    align-items: center;
    transition: .5s;
    font-size: 20px;
    margin-right: 2em;
    color: white;
}

.footerCta:hover {
    opacity: 0.5;
}

.footerCta {
    font-size: 16px;
}


/* Case Study */

/* Hero */
.tagShow {
    background-color: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 1em;
}

.tagShow p {
    color: #000000;
}

.caseText {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 50px;
    display: grid;
    margin-top: 4em;    
}

/* Grid */
.gridContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 75px;
    grid-row-gap: 75px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

.fullLength {
    width: 100%;
    height: 600px;
    background-color: #8E8E8E;
    border-radius: 10px;
    grid-column-start: span 2;
}

.halfLength {
    width: 100%;
    height: 600px;
    background-color: #8E8E8E;
    border-radius: 10px;
}

.caseStudyOne {
    background: linear-gradient(#C5A5FD, #9198e5);
    overflow: hidden;
}

.imgHouse {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.imgHouse img {
    filter: drop-shadow(5px 11px 100px #380A85);
}

.heightChange {
    height: 90%;
}

.widthChange {
    width: 85%;
    height: auto;
}