:root {
    font-size: 62.5%;

    /* Colors */

    /*  Gradient  */
    --Gradient1: hsl(6, 100%, 80%);
    --Gradient2: hsl(335, 100%, 65%);


    /*  Primary  */

    --Pale-Blue: hsl(243, 100%, 93%);
    --Grayish-Blue: hsl(229, 7%, 55%);
    --Dark-Blue: hsl(228, 56%, 26%);
    --Very-Dark-Blue: hsl(229, 57%, 11%);

    /* Typography */

    --bodyCopy: 14px;

}


/*
  - Family: [Raleway](https://fonts.google.com/specimen/Raleway)
  - Weights: 400, 700
  */

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;

    width: 100%;
    height: 15px;
    background: linear-gradient(to right, hsl(6, 100%, 80%) 0%, hsl(335, 100%, 65%) 50%, var(--Very-Dark-Blue) 50%, var(--Very-Dark-Blue) 100%);
    border-radius: 10px;
    outline: none;
    transition: background 0.2s;
    border: 2px solid hsl(229, 57%, 11%);
}

input[type="range"]:active,
input[type="range"]:focus {
    opacity: 1;

}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;

}

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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/images/bg-mobile.png);
    background-repeat: no-repeat;
    background-color: var(--Very-Dark-Blue);
    font-family: 'Raleway', sans-serif;
}

@media (min-width: 60rem) {
    body {
        background-image: url(/images/bg-desktop.png);
        background-position: bottom left;
    }
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

main div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    flex-basis: 900px;


}

section {
    background-color: var(--Dark-Blue);
    font-size: 14px;
}

section:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 3rem;
    gap: 3rem;
    border-radius: 1rem 10rem 1rem 1rem;
    flex-basis: 200px;
    flex-grow: 1;
    flex-shrink: 2;
    height: 18rem;
}

section:nth-child(1)>img {
    width: 130px;
}

section:nth-child(1) div {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    padding: 0;

}

section:nth-child(1) div>img {
    background-color: var(--Very-Dark-Blue);
    padding: 1.2rem;
    border-radius: 1rem;
}


section:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 4rem;
    gap: 1rem;
    border-radius: 1rem;
    background-color: var(--Dark-Blue);
    height: 14rem;
    margin-top: 40px;
    flex-basis: 300px;
    flex-grow: 2;
    flex-shrink: 1;
    font-weight: 400;
}

@media (max-width: 60rem) {

    section:nth-child(2) {
        margin-top: 00px;
    }
}

section:nth-child(2)>span {
    color: var(--Pale-Blue);
}

section:nth-child(2)>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: var(--Pale-Blue);
    width: 100%;
    padding: 0;
}

section:nth-child(2)>h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 3.6rem;
    position: fixed;
    bottom: 100px;
    right: 100px;
    background-color: white;
    padding: 1.6rem;
    border-radius: 1rem;
    font-weight: 700;
}

@media (min-width: 60rem) {
    section:nth-child(2)>h2 {
        bottom: 350px;
        right: 290px;
    }
}

section:nth-child(2) h2>span {
    font-size: 1.2rem;
    padding: 0;
    opacity: 0.6;
}

.special {
    position: absolute;
    right: 289px;
    bottom: 357px;
    background-color: transparent;
    border: 1px solid transparent;
    border-top: 1px solid white;
    transform: scale(18);
    width: 1px;
    height: 1px;
    transform: rotate(-136deg);
}

/* Footer */
.attribution {
    position: absolute;
    bottom: .8rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    text-align: center;
    color: white;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

@media (max-width: 60rem) {
    .special {
        display: none;
    }
}
