@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');

*,
*::after,
*::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --font: "Urbanist", "Segoe UI", Helvetica, sans-serif;
    --font-italic: "Tangerine", serif, cursive; 

    --black: #000;
    --white: #fff;

    --dark-1: #0c0c0c;
    --dark-2: #181818;
    --gray: #ccc;
    --light-1: #fcfcfc;
    --light-2: #f5f5f5;

    --crimson: #e10031;
}

body{
    width: 100vw;
    height: 100vh;
    display: grid;
    justify-content: center;
    grid-template-columns: auto min-content;
    gap: 5rem;
    padding: 2.5rem 0;
    font-family: var(--font) !important;
    color: var(--black);
    background: var(--white);
}

::-webkit-scrollbar{
    width: 5px;
}

::-webkit-scrollbar-thumb{
    background: rgb(255, 0, 49, .2);
}

/* Text */
h1, h2, h3, h4, h5, h6{
    line-height: 1.15;
    letter-spacing: -0.008em;
    font-weight: 700;
}

h1{
    font-size: 2.986rem;

    &.lg{
        font-size: 5.2rem;
    }
}

h2{
    font-size: 2.488rem;
}

h3{
    font-size: 2.074rem;
}

h4{
    font-size: 1.728rem;
}

h5{
    font-size: 1.44rem;
}

h6{
    font-size: 1.2rem;
}

p{
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.italic{
    font-family: var(--font-italic) !important;
}

/* Buttons */
.btn{
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--dark-2);
    background-color: var(--light-2);
    border: none;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;

    &::before,
    &::after{
        content: "";
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 50px;
        opacity: .5;
        pointer-events: none;
        transition: all 0.3s ease-in-out;
    }

    &::before {
        left: -100%;
        background: linear-gradient(90deg, #cffafc 0%, #57f2f2 48%, #4ceaff 100%);
        z-index: -1;
    }

    &:hover::before {
        left: 0;
    }

    &::after {
        right: -100%;
        background: linear-gradient(270deg, #333333 0%, #000000 100%);
        z-index: -1;
    }

    &:hover::after {
        right: 0;
    }

    &:hover {
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    }

    &:active {
        transform: translateY(1px);
        box-shadow: none;
    }
}

/* Layouts */
.info{
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 1.25rem;
}

.image{
    display: flex;
    align-items: end;
    justify-content: center;

    img{
        width: 320px;
    }
}

/* Media Queries */
@media(width <= 576px){
    body{
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
}