@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: Montserrat;
    color: white;
    text-align: center;
}

html, body{
    /* width: 100%; */
    background-color: rgb(25, 25, 25);
    overflow-x: hidden;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    height: 100%;
}

p {
    font-size: 20px;
}

.header {
    width: 100%;
    height: 100px;
    display: grid;
    grid-template-columns: auto 600px;
    overflow: hidden;
}

.header#index {
    position: absolute;
    left: -5px;
    z-index: 1;
}

.header#portfolio-highlight {
    grid-template-columns: auto 900px;
}

.header .buttons {
    display: grid;
    grid-template-columns: 300px 300px;
}

.header#portfolio-highlight .buttons {
    display: grid;
    grid-template-columns: 300px 300px 300px;
}

.footer {
    margin: 50px;
}

.footer .logos {
    /* width: 100%; */
    margin: 0px auto;
    display: grid;
    grid-template-columns: 50px 50px 50px;
    gap: 50px;
    justify-content: center;
    align-items: center;
}

.footer .logos a:hover {
    opacity: 0.5;
    background-color: rgb(25, 25, 25);
}

a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition-duration: .1s;
    font-weight: bold;
}

h2{
    font-size: 50px;
}

a:hover {
    color: lightblue;
    text-decoration: underline;
    cursor: pointer;
}

.showreel {
    width: 100%;
    height: 750px;
    display: grid;
    grid-template-columns: 100% 100%;
    background-color: rgb(50, 50, 50);
    border-radius: 25px;
    gap: 10px;
    position: relative;
    left: 0px;
    transition-duration: 1s;
}

.showreel div {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: inline;
}

.showreel div h2 {
    position: relative;
    top: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}

img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

div.section {
    margin: 0px auto;
    width: 75vw;
}

div.section * {
    text-align: left;
}

table {
    /* margin: 0px auto; */
    font-size: 20px;
    width: 100%;
}

table * {
    padding: 10px;
    border-bottom: 2px dotted black;
}

.menu-button {
    display: none;
}

.menu-button:hover {
    cursor: pointer;
}

.menu {
    width: 200px;
    height: calc(100% - 70px);
    position: absolute;
    top: 70px;
    right: -200px;
    background-color: rgb(50, 50, 50);
    opacity: .9;
    transition-duration: .5s;
    display: none;
    grid-template-rows: 50px 50px 50px;
    border-radius: 10px 0px 0px 0px;
    overflow: hidden;
}

#portfolio {
    margin: 0px auto;
    width: 75vw;
    display: grid;
    grid-template-columns: calc(50% - 5px) calc(50% - 5px);
    grid-template-rows: calc(50%) calc(50%);
    gap: 10px;
    position: relative;
    left: 0px;
    transition-duration: 1s;
}

.portfolio-highlight {
    border-radius: 25px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: inline;
}

.portfolio-highlight .text {
    font-size: 20px;
    position: relative;
    top: -100%;
    width: 100%;
    height: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
}

.body#portfolio-highlight {
    width: 75vw;
    margin: 0px auto;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto;
}

.gallery {
    width: 50%;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.body#index table a {
    display: block;
}

@media screen and (max-width: 1000px){
    h2 {
        font-size: 30px;
    }

    h1 {
        font-size: 50px !important;
    }

    table {
        font-size: 10px;
    }

    p, .portfolio-highlight a, .portfolio-highlight p {
        font-size: 10px;
    }
}

@media screen and (max-width: 900px){
    .header#portfolio-highlight .menu-button {
        display: block;
    }

    .menu#portfolio-highlight {
        display: grid;
    }

    .header#portfolio-highlight .buttons {
        display: none;
    }

    .header#portfolio-highlight {
        grid-template-columns: auto 50px;
        height: 50px;
    }
}

@media screen and (max-width: 750px){
    .menu-button {
        display: block;
    }

    .menu {
        display: grid;
    }

    .header .buttons {
        display: none;
    }

    .header {
        grid-template-columns: auto 50px;
        height: 50px;
    }

    .gallery {
        width: 100%;
    }
}

@media screen and (max-width: 750px){
    table {
        font-size: 7px;
    }
}

table a {
    border-bottom: none;
}

h1 {
    position: absolute;
    top: 200px;
    left: 0px;
    width: 100%;
    font-size: 75px;
    font-weight: bold;
    z-index: 2;
}