* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

#background {
    margin: 0;
    font-family: "Alata", sans-serif;
    font-size: 10px;
}

a {
    color: #7135f2;
    text-decoration: none;
}

a:hover {
    color: #0bd9d9;
}

h1,
h2,
h3,
h4 {
    color: black;
}

p {
    color: #131313;
}

#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url("./images/gradient-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    scroll-snap-align: start;
}

.dev {
    margin-top: -30px;
    transform: translate(0, -500px);
}

.dev--name {
    font-size: 2.9rem;
    color: #fdfdfd;
    text-transform: uppercase;
    margin-bottom: -20px;
}

.dev--title {
    color: black;
    font-weight: 700;
    font-size: 1rem;
    background: #fdfdfd;
    padding: 0.5rem 1rem;
    letter-spacing: 2px;
}

.hero--cta {
    border: 2px solid rgba(0, 0, 0, 0);
    padding: 1rem 70px;
    background: black;
    border-radius: 5px;
    color: white;
    font-size: 1.5rem;
}

.hero--cta:hover {
    color: black;
    background: #0bd9d9 !important;
}

.project {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #ededed;
    background: linear-gradient(135deg, #ededed 44%, #c2c2c2 100%);
    scroll-snap-align: start;
}

.project--mockup {
    width: 120%;
    max-width: 700px;
    align-self: flex-start;
    filter: drop-shadow(10px 10px 10px gray);
    margin-bottom: -2rem;
}

.project--details {
    padding: 2rem;
    max-width: 700px;
}

.project--title {
    font-size: 1.4rem;
    margin-bottom: -1rem;
    text-transform: uppercase;
}

.project--type {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.project--description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.project--button {
    font-size: 0.9rem;
    background: black;
    color: white;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    border-radius: 5px;
}

.project--button:hover {
    color: black;
    background: #0bd9d9 !important;
}

@media (min-width: 710px) {
    .project {
        flex-direction: row;
    }
    .project:nth-child(even) {
        flex-direction: row-reverse;
        background: #ddd;
    }
    .project--mockup {
        align-self: center;
        width: 50%;
        max-width: 1000px;
    }
    .project--title {
        font-size: 2rem;
    }
    .project--type {
        font-size: 1rem;
    }
    .project--description {
        font-size: 1rem;
        max-width: 400px;
    }
    .project--button {
        font-size: 1.2rem;
    }
}

#contact {
    height: 79vh;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
}

.contact--title {
    color: white;
    font-size: 1.4rem;
}

.form {
    background: #ededed;
    background: linear-gradient(135deg, #ededed 44%, #c2c2c2 100%);
    border-radius: 5px;
    max-width: 500px;
    padding: 1rem;
    text-align: left;
}

.form label {
    font-size: 0.8rem;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #eeeceb;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 1rem;
    font-family: "Alata", sans-serif;
    font-size: 1rem;
}

.form textarea {
    height: 150px;
}

.form input[type="submit"] {
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    padding: 1rem 0;
    width: 100%;
    font-size: 1.2rem;
    border-radius: 5px;
    font-family: "Alata", sans-serif;
}

.form input[type="submit"]:hover {
    background-color: #0bd9d9;
    color: black;
}

#footer {
    background: #131313;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    height: 21vh;
}

#footer p {
    color: #fdfdfd;
    font-size: 0.8rem;
}

.footer--social {
    text-align: right;
    align-self: flex-end;
}

.footer--social ul {
    list-style: none;
    display: flex;
}

.footer--social ul li {
    margin-left: 1rem;
}

.footer--social ul li a {
    font-size: 1.6rem;
    color: #fdfdfd;
}

.footer--social ul li a:hover {
    color: #0bd9d9;
}

@media (max-width: 710px) {
    .form label {
        display: none;
    }
    .form textarea {
        max-height: 100px;
    }
}

@media (min-width: 710px) {
    #contact {
        height: 85vh;
    }
    .contact--title {
        font-size: 2rem;
    }
    #footer {
        height: 15vh;
    }
}
