@font-face {
    font-family: 'UTM Avo';
    font-weight: normal;
    src: url("fonts/UTM\ Avo.ttf");
}

@font-face {
    font-family: 'UTM Avo';
    font-weight: bold;
    src: url("fonts/UTM\ AvoBold.ttf");
}

* {
    scroll-behavior: smooth;
}

html {
    --color-blue: #40A0D9;
    --color-green: #50BC85;
    --color-indigo: rgb(29, 28, 73);
    --color-lime: #bdbb32;
    --color-orange: #F79850;
    --color-pink: #D5539E;
}

body {
    background-color: #202020;
    color: white;
    font-family: 'UTM Avo', sans-serif;
    margin: 0;
    max-height: 100vh;
    padding: 0;
}

header {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 4%;
}

header .logo {
    flex: 1;
}

header img {
    max-width: 160px;
    width: 100%;
}

a.contact-button {
    background: var(--color-pink);
    border-radius: 40px;
    padding: 12px 40px;
    text-transform: uppercase;
    transition-duration: .5s;
}

a.contact-button:hover {
    background: var(--color-orange);
}

a {
    color: white;
    text-decoration: none;
}

section {
    padding: 40px;
}

section .title {
    border-bottom: 1px solid white;
    margin: 0 auto 20px auto;
    padding: 20px 0;
    text-align: center;
}

.mw1200 {
    margin: auto;
    max-width: 1200px;
}

.mw600 {
    margin: auto;
    max-width: 600px;
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
}

.card {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    grid-column: span 4;
    overflow: scroll;
    padding: 20px;
    scrollbar-width: none;
    transition-duration: .5s;
}

.card:hover {
    transform: scale(1.0609);
}

.card.blue {
    background-color: var(--color-blue);
}

.card.green {
    background-color: var(--color-green);
}

.card.indigo {
    background-color: var(--color-indigo);
}

.card.lime {
    background: var(--color-lime);
}

.card.orange {
    background-color: var(--color-orange);
}

.card.pink {
    background-color: var(--color-pink);
}

.images a {
    grid-column: span 3;
}

.images img {
    aspect-ratio: 3/2;
    object-fit: cover;
    transition-duration: .5s;
    width: 100%;
}

.images img:hover {
    transform: scale(1.0609);
}

#hero {
    padding-bottom: 0;

    /* background: conic-gradient(from 180deg at 50% 70%, hsla(0, 0%, 98%, 1) 0deg, #eec32d 72.0000010728836deg, #ec4b4b 144.0000021457672deg, #709ab9 216.00000858306885deg, #4dffbf 288.0000042915344deg, hsla(0, 0%, 98%, 1) 1turn); */
}

#hero .mw1200 {
    background-image: url("assets/woman.png");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: contain;
    height: 75vh;
    opacity: .8;
    padding-top: 80px;
}

#hero .subtitle {
    font-size: 1.2rem;
    margin-left: 4%;
}

#hero .title {
    border: none;
    font-size: 5.5rem;
    font-weight: bold;
    margin-left: 4%;
    margin-right: 46%;
    text-align: left;
    text-shadow: 4px 4px #20202080;
}

#services {
    background-color: black;
}

#clients .card {
    aspect-ratio: 2;
    border: 1px solid white;
    border-radius: 8px;
    overflow: hidden;
}

#clients img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    overflow: hidden;
}

#contact {
    background-color: #303030;
}

#contact table {
    margin: auto;
}

#contact td {
    padding: 4px 8px;
    vertical-align: middle;
}

#contact svg {
    display: block;
    fill: white;
    height: 24px !important;
    width: 24px !important;
}

#contact form {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#contact input {
    border: none;
    border-radius: 20px;
    font-family: 'UTM Avo', sans-serif;
    font-size: 16px;
    outline: none;
    padding: 8px 32px;
}

#contact input[type="submit"] {
    align-self: center;
    background: var(--color-green);
    color: white;
}

@media (max-width: 1200px) {
    .images a {
        grid-column: span 4;
    }

    #hero .title {
        font-size: 5rem;
    }
}


@media (max-width: 1024px) {
    #hero {
        padding-right: 0;
    }

    #hero .mw1200 {
        background-position: 110% 40px;
        max-height: 75vh;
        padding-top: 40px;
    }

    #hero .subtitle {
        font-size: 1rem;
    }

    #hero .title {
        font-size: 4.5rem;
    }

    .card {
        grid-column: span 6;
    }

    .images a {
        grid-column: span 6;
    }
}

@media (max-width: 600px) {

    #hero .mw1200 {
        background-position: 110% 40px;
        max-height: 50vh;
        padding-top: 0;
    }

    #hero .subtitle {
        font-size: 1rem;
        margin-left: 2%;
    }

    #hero .title {
        font-size: 3.5rem;
        margin-left: 2%;
    }

    .card {
        grid-column: span 12;
    }

    .images a {
        grid-column: span 12;
    }
}

@keyframes flicker {
    to {
        mask-position: 50% 50%, 0 50%;
    }
}