@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: Gab;
    src: url("src/font/Gab.TTF");
}

*:focus {
    outline: 2px solid black;
}

* {
    padding: 0;
    margin: 0;
}

a {
    color: black;
    text-decoration: none;
    -webkit-text-decoration: none;
    -moz-text-decoration: none;
}

img {
    user-select: none;
}

body {
    background-color: black;
}

#main {
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #e14444;
    box-shadow: inset 0px 0px 30px 10px rgba(0, 0, 0, 0.3);
}

#main img, #main video {
    width: 60em;
}

#main h1 {
    color: black;
    font-size: 2em;
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
}

#main button {
    padding: 1em 2em;
    margin: 2em;
    color: black;

    font-size: 1.3em;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;

    background-color: transparent;
    border: 2px solid black;
    border-radius: 3px;
}

#main button:hover {
    cursor: pointer;

    color: #e14444;
    background-color: black;
}

#works {
    width: 100%;
    min-height: 100vh;
    padding: 1em 0 3em 0;
    background-color: #e14444;
    box-shadow: inset 0px 0px 30px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Outfit', sans-serif;
}

.nav {
    text-align: center;
}

.nav img {
    width: 20em;
    margin-bottom: 0.5em;
}

.showreel {
    width: 65%;
    margin: 0 auto;
    text-align: center;
}

.content-showreel video {
    width: 100%;
    margin-top: 1em;
}

.showreel h2 {
    font-size: 2em;
    font-weight: 300;
    margin: 0.5em;
}

hr {
    width: 65%;
    margin: 0 auto;
    background-color: black;
    border: none;
    height: 2px;
}

.work {
    width: 65%;
    margin: 0 auto;
    text-align: center;
}

.work h1 {
    font-size: 1.8em;
    font-weight: 400;
    text-transform: uppercase;
    margin: 2em 0 1em 0;
    font-family: Gab;
}

.work h2 {
    font-size: 1.5em;
    font-weight: 300;
    text-transform: uppercase;
}

.work h2 span {
    font-weight: 200;
}

.work-box {
    margin: 2em 0;
    padding: 2em 0 0 0;
    min-height: 5vh;
    width: 100%;
    margin: 0 auto;
    background: #e14444;
    box-shadow: inset 29px 29px 58px #ab3434,
                inset -29px -29px 58px #ff5454;
}

.content-work video {
    width: 90%;
    padding: 1em 2em 0em 2em;
}

.work hr {
    width: 100%;
    margin: 0 auto;
    background-color: black;
    border: none;
    height: 2px;
}

.content-site button {
    margin: 1.5em 0 2em 0;

    font-size: 1em;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;

    background-color: transparent;
    border: 2px solid black;
    border-radius: 3px;
}

.btn {
    margin: 1em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em;
}

.content-site button:hover {
    cursor: pointer;
    background-color: black;
}

.content-site button:hover a {
    color: #e14444;
}

.icon {
    font-size: 2.5em;
    margin: 0.5em;
    user-select: none;

    transition: transform 0.5s ease;
}

.icon:hover {
    cursor: pointer;
}

.content-work {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.content-visible {
    max-height: 700px;
}

.rotate {
    transform: rotate(180deg);
}

.rotate.reverse {
    transform: rotate(-180deg);
}

footer {
    min-height: 15vh;
    padding: 3em;
    background-color: black;
    display: grid;
    grid-template-rows: 3fr 1fr;
    margin: 0 auto;
}
.footer-main img {
    width: 20em;
    margin: 0em auto 2em auto;

}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: center;

}

.footer-item {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

footer h3, footer a {
    font-weight: 200;
    color: #e14444;
    font-family: 'Outfit', sans-serif;
    font-size: 1em;
}

footer a:hover {
    font-weight: 400;
    cursor: pointer;
}

@media (max-width: 1000px) {

    #main img, #main video {
        width: 45em;
    }
    
    #main h1 {
        font-size: 1.7em;
    }

    #main button {
        font-size: 1em;
    }

    .showreel {
        width: 80%;
    }

    .showreel h2 {
        font-size: 1.4em;
    }
    
    hr {
        width: 80%;
    }

    .work {
        width: 80%;
    }

    .work h1 {
        font-size: 1.5em;
    }
    
    .work h2 {
        font-size: 1.3em;
    }

    .icon {
        margin: 0.3em;
    }

    .content-site button {
        font-size: 0.9em;
    }

    .footer-main img {
        width: 15em;   
    }
    
}

@media (max-width: 1400px) {

    .nav img {
        width: 15em;
    }

    .showreel h2 {
        font-size: 1.7em;
    }
    
}

@media (max-width: 750px) {

    #main img, #main video {
        width: 30em;
    }
    
    #main h1 {
        font-size: 1.5em;
    }

    #main button {
        font-size: 0.9em;
    }

    .showreel {
        width: 90%;
    }

    .showreel h2 {
        font-size: 1.2em;
    }
    
    hr {
        width: 90%;
    }

    .work {
        width: 90%;
    }

    .icon {
        margin: 0.2em;
    }

    .content-site button {
        font-size: 0.8em;
    }

}

@media (max-width: 500px) {

    #main img, #main video {
        width: 90vw;
    }
    
    #main h1 {
        font-size: 5vw;
    }

    #main button {
        margin: 3em;
        font-size:3vw;
    }

    .nav img {
        width: 50vw;
        margin-bottom: 0;
    }
    
    .work-box {
        padding: 2em 0;
    }

    .showreel {
        width: 100%;
    }

    .work {
        width: 100%;
    }

    .work h1 {
        font-size: 5vw;
    }
    
    .work h2 {
        font-size: 4vw;
    }

    .icon {
        margin:0.5em 0 0 0;
    }

    .content-site button {
        font-size: 2.5vw;
        margin: 2em 0 0 0;
    }

    .content-work video {
        width: 100%;
        padding: 1em 0 0 0;
    }
    
    .footer-main img {
        width: 50vw;   
    }

    footer h3, footer a {
        font-size: 3vw;
    }
    
}