* {
    box-sizing: border-box;
}

html {
    font-size: 10px;
    background-color: black;
    font-family: "Varela Round", sans-serif;
    scroll-behavior: smooth;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.varela-round-regular {
    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.josefin-sans {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

#header {
    width: 100vw;
    height: 10rem;
    margin: 0;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    justify-content: space-between;
    z-index: 1;
}

#go-back {
    font-family: "Josefin Sans", sans-serif;
    text-decoration: none;
    position: relative;
    height: 100%;
    width: 15vw;
    top: 0;
    left: -4rem;
    margin: 0;
    padding: 3rem 1.5rem 0.5rem;
    font-weight: bold;
    font-size: 4rem;
    color: #222222;
    background-color: transparent;
    transition: left 0.2s ease-out, color 0.2s ease-out, background-color 0.2s ease-out;
}

#go-back:hover {
    left: 0;
    color: white;
    cursor: pointer;
    background-color: black;
}

.code {
    color: transparent;
    position: relative;
    top: -0.3rem;
}

#go-back:hover .code {
    color: #1DB954;
}

#header-img {
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin-left: -24rem;
}

#nav-bar {
    width: 50vw;
    margin-right: calc(15vw / 2 - 1.5rem);
    font-size: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-bar a {
    text-decoration: none;
    color: black;
}

#main {
    width: 70vw;
    margin: 14rem auto 0;
    padding: 2rem 8rem;
    background-color: white;
}

#main h1 {
    font-size: 5rem;
    font-weight: bolder;
    margin-bottom: 0;
}

#main p {
    font-size: 2.5rem;
}

#main #what-is-spotify a {
    text-decoration: none;
    color: black;
}

#video-container {
    text-align: center;
}

#video {
    width: 1040px ;
    height: 585px
}

section {
    margin-bottom: -14rem;
    padding: 7rem 0;
}

section:first-of-type {
    position: relative;
    top: -7rem;
}

section:last-of-type {
    margin-bottom: 14rem;
    position: relative;
    top: 10rem;
}

#main h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0;
}

#main ul {
    width: 85%;
    margin: 0 auto;
}

#main li {
    margin-top: 2rem;
    margin-bottom: 5rem;
}

#main li p {
    margin: 1rem 0;
}

#main ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#main ol li {
    width: 27%;
    height: 15vw;
    border: 1px solid black;
    border-radius: 2rem;
    padding: 1rem  2rem;
    background-color: black;
    color: white;
}

#main ol li .plan-name {
    height: 20%;
    font-size: 2.3rem;
    margin: 0;
    padding: 1rem 0;
}

#main ol li .plan-desc {
    height: 60%;
    font-size: 1.5rem;
    margin: 0;
    padding: 3rem 0 2rem 0;
}

#main ol li .plan-select {
    border: 1px solid black;
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20%;
    width: 100%;
    font-size: 2rem;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
}

#main ol li .plan-select:hover {
    background-color: darkgray;
    cursor: pointer;
}

#mailing-list form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main #mailing-list input[type="email"] {
    width: 30%;
    height: 2vw;
    margin: 1.5vw auto 0;
}

#mailing-list input[type="submit"] {
    width: 10%;
    height: 2vw;
    margin: 0.5vw auto;
    background-color: black;
    color: white;
    border: 1px solid transparent;
    border-radius: 3vw;
    font-size: 2rem;
}

#mailing-list input[type="submit"]:hover {
    cursor: pointer;
}

#notice {
    background-color: black;
    color: white;
    padding: 2vw 3vw;
    border-radius: 5vw;
}

#footer {
    width: 70vw;
    margin: 2rem auto;
    padding: 2rem 3rem;
    background-color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 2rem;
}

#footer ul {
    width: 60%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#footer ul li:hover {
    cursor: pointer;
}

@media (max-width: 600px) {
    #header {
        flex-wrap: wrap;
    }
}
/*TODO check and add @ rules!*/