@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

:root {
    --font-base: "Bai Jamjuree";
    --border-radius: 1.2rem;
    --border-radius-lg: 2.4rem;

    /* --color-bg: hsl(129, 41%, 16%);
    --color-bg2: hsl(129, 41%, 24%);
    --color-brand: hsl(31, 85%, 62%);
    --color-brand2: hsl(31, 85%, 52%);
    --sidebar-hsl: 129, 41%, 10%;
    --color-body: hsl(129, 41%, 85%);
    --color-heading: hsl(129, 41%, 95%); */

    /* --color-bg: hsl(33, 53%, 21%);
    --color-bg2: hsl(33, 53%, 31%);
    --color-brand: hsl(47, 88%, 53%);
    --color-brand2: hsl(47, 88%, 63%);
    --sidebar-hsl: 33, 53%, 10%;
    --color-body: hsl(33, 53%, 85%);
    --color-heading: hsl(33, 53%, 95%); */

    /* --color-brand: hsl(210, 100%, 69%);
    --color-brand2: hsl(210, 100%, 79%);
    --color-bg: hsl(210, 100%, 17%);
    --color-bg2: hsl(210, 100%, 25%);
    --sidebar-hsl: 210, 100%, 10%;
    --color-body: hsl(210, 100%, 85%);
    --color-heading: hsl(210, 100%, 95%); */

    /* --color-brand: hsl(55, 95%, 63%);
    --color-brand2: hsl(55, 95%, 43%);
    --color-bg: hsl(241, 67%, 35%);
    --color-bg2: hsl(241, 67%, 45%); 
    --sidebar-hsl: 241, 67%, 15%;
    --color-body: hsl(241, 67%, 82%);
    --color-heading: hsl(241, 67%, 95%); */

    /* --color-bg: hsl(165, 63%, 15%);
    --color-bg2: hsl(165, 63%, 20%);
    --color-brand: hsl(70, 69%, 53%);
    --color-brand2: hsl(70, 69%, 63%);
    --sidebar-hsl: 165, 63%, 10%;
    --color-body: hsl(165, 63%, 85%);
    --color-heading: hsl(165, 63%, 95%); */

    /* --color-brand: hsl(206, 7%, 52%);
    --color-brand2: hsl(206, 7%, 62%);
    --color-bg: hsl(210, 11%, 15%);
    --color-bg2: hsl(210, 10%, 23%);
    --sidebar-hsl: 210, 10%, 10%;
    --color-body: hsl(210, 10%, 85%);
    --color-heading: hsl(210, 10%, 95%); */

    /* --color-brand: hsl(83, 34%, 61%);
    --color-brand2: hsl(104, 29%, 43%);
    --color-bg: hsl(132, 35%, 15%);
    --color-bg2: hsl(131, 35%, 24%);
    --sidebar-hsl: 131, 35%, 10%;
    --color-body: hsl(131, 35%, 84%);
    --color-heading: hsl(131, 35%, 95%); */

    --color-brand: hsl(252, 78%, 72%);
    --color-brand2: hsl(252, 78%, 62%);
    --color-bg: hsl(247, 44%, 23%);
    --color-bg2: hsl(247, 44%, 32%);
    --sidebar-hsl: 247, 44%, 15%;
    --color-body: hsl(252, 78%, 85%);
    --color-heading: hsl(252, 78%, 95%);
}

*,*::after,*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; 
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    background-color: rgb(222, 162, 93);
    color: var(--color-body);
    line-height: 1.5;
    font-family: var(--font-base), sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: var(--color-heading);
    text-transform: uppercase;
}

.heading-1 {
    font-size: clamp(4.4rem, 6vw, 6.4rem);
}

.heading-2 {
    font-size: clamp(3.2rem, 4vw, 4.4rem);
}

.heading-3 {
    font-size: 1.8rem;
}

.text-brand {
    color: rgb(144, 0, 255);
    font-size: 40px;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--color-brand);
    transition: all 0.4s ease;
    font-size: 500;
}

a:hover {
    color: var(--color-brand2);
}

img {
    max-width: 100%;
    width: 100%;
    display: inline-block;
}

p {
    margin-bottom: 1.6rem;
}

.container {
    max-width: 114rem;
    padding: 0 4.4rem;
}

@media screen and (max-width:768px) {
    .container {
        padding: 0 2.4rem;
    }
}

section.full-height {
    min-height: 100vh;
    display: grid;
    align-content: center;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 8rem 0;
}

.btn {
    padding: 1.4rem 2.4rem;
    background-color: var(--color-brand);
    color: var(--color-bg2);
    text-transform: uppercase;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: transparent;
    font-size: 1.6rem;
    font-family: var(--font-base);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-brand2);
    color: var(--color-bg2);
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 4.4rem;
    height: 4.4rem;
    display: grid;
    align-content: center;
    background-color: var(--color-bg2);
    color: var(--color-body);
    text-align: center;
    border-radius: 10rem;
    font-size: 2.4rem;
}

.social-links a:hover {
    background-color: var(--color-brand);
    color: var(--color-bg2);
}

/* Sidebar */
#sidebar {
    min-height: 100vh;
    height: 100%;
    width: 24rem;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(hsla(var(--sidebar-hsl), 0.9), hsla(var(--sidebar-hsl), 0.9)), url(../img/HD-wallpaper-spider-man-marvel-marvel-comics-marvel-superheroes-superheroes-thumbnail.jpg);
    background-position: center;
    background-size: cover;
    display: grid;
    align-content: center;
    text-align: center;
    padding: 2.4rem;
    z-index: 999;
    transition: all 0.4s ease;
}

#sidebar .person {
    margin-bottom: 2.4rem;
}

#sidebar .person img {
    border-radius: var(--border-radius-lg);
    width: 17rem;
    box-shadow: 0 0 0 0.4rem var(--color-brand);
    margin-bottom: 1.2rem;
}

#sidebar ul {
    text-transform: uppercase;
    display: grid;
    gap: 1.2rem;
}

#sidebar ul li a {
    color: var(--color-heading);
}

#sidebar ul li a.is-active,
#sidebar ul li a:hover {
    color: var(--color-brand);
}

.burger {
    width: 6.4rem;
    height: 6.4rem;
    background-color: var(--color-brand);
    border-radius: 10rem;
    position: fixed;
    right: 2.4rem;
    top: 2.4rem;
    cursor: pointer;
    display: grid;
    align-content: center;
    display: none;
}

.burger span {
    width: 4rem;
    height: 0.4rem;
    display: block;
    background-color: var(--color-bg2);
    margin: 1.2rem auto;
    transition: all 0.4s ease;
}

.burger.is-active span:nth-child(1) {
    transform: translateY(0.8rem) rotate(-45deg);
}

.burger.is-active span:nth-child(2) {
    transform: translateY(-0.8rem) rotate(45deg);
}

/* Main */
#content-wrapper {
    padding-left: 24rem;
}

@media screen and (max-width:992px) {
    .burger {
        display: grid;
    }

    #sidebar {
        left: -24rem;
    }

    #sidebar.is-active {
        left: 0;
    }

    #content-wrapper {
        padding-left: 0;
    }
}

/* Home */
#home .cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.6rem;
}

#home p {
    max-width: 60rem;
    margin-top: 1.8rem;
    margin-bottom: 3.4rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2.4rem;
}

.three-col-grid {
    grid-template-columns: 1fr 1fr 1fr;
}

.two-col-grid {
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width:768px) {
    .three-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:576px) {
    .three-col-grid {
        grid-template-columns: 1fr;
    }

    .two-col-grid {
        grid-template-columns: 1fr;
    }
}

/* Services */
#services .card p {
    margin-bottom: 0;
}

/* Intro */
.intro {
    margin-bottom: 3.2rem;
}

.card {
    transition: all 0.4s ease;
    border-radius: var(--border-radius-lg);
    background-color: rgb(130, 6, 254);
}

.card-padding {
    padding: 3.2rem;
}

.card img {
    border-top-right-radius: var(--border-radius-lg);
    border-top-left-radius: var(--border-radius-lg);
}

.icon {
    width: 6.4rem;
    height: 6.4rem;
    font-size: 3.2rem;
    border-radius: var(--border-radius);
    background-color: var(--color-brand);
    color: var(--color-bg2);
    text-align: center;
    display: grid;
    align-content: center;
    margin-bottom: 1.8rem;
}

.card:hover {
    box-shadow: 0 0 0 0.3rem var(--color-brand);
    transform: translateY(-0.5rem);
}

/* Contact */
.form {
    display: grid;
    gap: 1.2rem;
}

.form-control {
    background-color: var(--color-bg2);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-bg2);
    padding: 1.4rem;
    color: var(--color-body);
    font-size: 1.6rem;
    font-family: var(--font-base);
}

.form-control::placeholder {
    color: var(--color-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-brand);
}

footer {
    padding: 4rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}







