body {
    background-image: url("./img/bg.jpg");
    background-position-x: center;
    vertical-align: stretch;
    text-align: center;
    color: #82b7cb;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    padding: auto;
    font-size: 400%;
}

h2 {
    line-height: 0px;
}

#logo {
    background-image: radial-gradient(circle,rgba(255,0,0,0),rgba(41, 2, 45, 0.716)), url("./img/logo.png");
    min-height: 114px;
    background-position: center;
}

#intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 99.1vh;
    text-shadow: 5px 5px #1c0464b4;
}

    #intro img {
        visibility: hidden;
        max-height: 100px;
    }

    #intro a {
        background-image: url(./img/arrow.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100px;
        margin: 0 auto 0;
    }

        #intro a:hover {
            background-image: url(./img/arrow2.png);
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100px;
        }

nav {
    display: none;
}

    nav #dropdown a {
        display: flex;
        flex-direction: column;
        line-height: 3em;
    }

        nav #dropdown a:hover {
            background-color: #30343882;
        }

#menu {/* MENU ≡ */
    color: #82b7cb;
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    background-color: #303438b1;
    padding: 0.5rem .5rem;
    z-index: 100;
}

    #menu:hover {
        background-color: #30343882;
        color: #18bfef;
    }

#toggle:checked ~ #menu {
    display: none;
}

#menuc {
    display: none;
}

#toggle:checked ~ #menuc {
    display: block;
    position: fixed;
    line-height: 3vh;
    font-size: 150%;
    float: left;
    top: 1vh;
    right: 15em;
    color: #82b7cb;
    z-index: 1000;
}

    #toggle:checked ~ #menuc:hover {
        color: #18bfef;
        background-color: #1c1d1eb4;
    }

#toggle {
    display: none;
}

    #toggle:checked ~ nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        justify-content: space-between;
        top: 0rem;
        right: 0rem;
        padding-top: 4vh;
        height: 96vh;
        background-color: #1c1d1eb4;
    }

        #toggle:checked ~ nav ul.pages {
            list-style: none;
            display: flex;
            flex-direction: column;
            padding-left: 0;
        }

            #toggle:checked ~ nav ul.pages li {
                display: block;
                line-height: 4em;
                padding: 0 2rem;
            }

                #toggle:checked ~ nav ul.pages a.active {
                    background-color: #30343882;
                }

                #toggle:checked ~ nav ul.pages li.active {
                    background-color: #30343882;
                }

                #toggle:checked ~ nav ul.pages li:hover {
                    background-color: #30343882;
                }

        #toggle:checked ~ nav ul.icons {
            display: flex;
            list-style: none;
            align-items: center;
            padding-right: 1.5em;
        }

            #toggle:checked ~ nav ul.icons li {
                margin: 0 2rem;
            }

                #toggle:checked ~ nav ul.icons li.phone {
                    background-image: url(./img/phone.png);
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: 28px;
                }

                    #toggle:checked ~ nav ul.icons li.phone:hover {
                        background-image: url(./img/phone2.png);
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: 28px;
                    }

                #toggle:checked ~ nav ul.icons li.email {
                    background-image: url(./img/email.png);
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: 70px;
                    margin-top: .3rem;
                }

                    #toggle:checked ~ nav ul.icons li.email:hover {
                        background-image: url(./img/email2.png);
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: 70px;
                    }

                #toggle:checked ~ nav ul.icons li.git {
                    background-image: url(./img/github.png);
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: 50px;
                    margin-top: .5rem;
                }

                    #toggle:checked ~ nav ul.icons li.git:hover {
                        background-image: url(./img/github2.png);
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: 50px;
                    }

            #toggle:checked ~ nav img {
                display: block;
                visibility: hidden;
                max-height: 50px;
            }

a {
    text-decoration: none;
    color: #82b7cb;
}

    a:hover {
        color: #18bfef;
    }

#main {
    background-color: #1c1d1eb4;
    display: flex;
    flex-wrap: wrap;
}

    #main #feat {
        border-bottom: 2px solid #003f4d;
        min-width: 100%;
    }

        #main #feat ul {
            display: flex;
            list-style: none;
            min-height: 70vh;
            padding: 0;
        }

            #main #feat ul li {
                margin: 0 auto;
                justify-content: space-between;
            }

                #main #feat ul li img {
                    height: 60vh;
                    max-width: 100%;
                }

    #main section {
        display: block;
        min-width: 100%;
        max-width: 100%;
    }

        #main section div {
            border: 2px solid #003f4d;
        }

            #main section div img {
                max-width: 95%;
                max-height: 20rem;
            }

#res {
    display: flex;
    flex-wrap: wrap;
    padding-top: .01em;
    background-color: #1c1d1eb4;
}

    #res ul {
        padding-left: 0;
        list-style: none;
    }

    #res div {
        min-width: calc(100% - 4px);
        border: 2px solid #003f4d;
    }

    #res #dl {
        min-width: 100%;
        text-align: center;
    }

    #res section {
        display: block;
        min-width: 100%;
    }

        #res section div {
            text-align: center;
            min-width: calc(50% - 4px);
            border: 2px solid #003f4d;
            max-height: stretch;
        }

        #res section div h2 {
            text-align: center;
        }

img {
    margin: auto;
}

img:hover {
    transform: scale(1.02);
}

#title {
    padding-top: .01em;
    background-color: #1c1d1eb4;
}

table {
    min-width: 100%;
    border-right: 2px;
    border-color: #003f4d;
}

    table th {
        text-transform: uppercase;
        background-color: #303438b1;
        border: 2px solid #003f4d;
    }

    table td {
        border-top: 0px;
        border-style: dotted solid;
        border-color: #003f4d;
    }

        table td img {
            max-width: 100%;
            max-height: 10em;
        }

        table td video {
            max-width: 100%;
            max-height: 10em;
        }

#email, #message, #fname, #lname {
    background-color: #1c1d1eb4;
}

#email {
    min-width: 40vw;
}

#message {
    min-width: 80vw;
    min-height: 10vh;
}
@media (min-width: 1040px) {
    body {
        font-size: 200%;
    }

    h1 {
        font-size: 300%;
        line-height: 0px;
    }

    #intro {
        min-height: 99.1vh;
    }

    #menu {
        display: none;
    }

    #toggle:checked ~ #menuc {
        display: none;
    }

    #toggle:checked ~ nav {
        flex-direction: row;
        background-color: #303438b1;
        line-height: 6rem;
        max-height: 6rem;
        padding: 0;
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-bottom: 0;
    }

        #toggle:checked ~ nav ul.pages {
            flex-direction: row;
        }

            #toggle:checked ~ nav ul.pages li {
                line-height: 3em;
            }

                #toggle:checked ~ nav ul.pages li.active {
                    background-color: #1c1d1eb4;
                }

                    #toggle:checked ~ nav ul.pages li:hover {
                        background-color: #1c1d1eb4;
                    }

    nav {
        background-color: #303438b1;
        line-height: 6rem;
        max-height: 6rem;
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-bottom: 0;
    }

        nav ul.pages {
            list-style: none;
            display: flex;
            align-items: center;
            padding-left: 0;
        }

            nav ul.pages #dropdown {
                position: relative;
                display: inline-block;
            }

            nav ul.pages #dropdown-menu {
                display: none;
                position: absolute;
                min-width: 100%;
                background-color: #30343882;
                box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
                z-index: 1;
            }

                nav ul.pages #dropdown-menu a {
                    display: block;
                    text-decoration: none;
                }

                    nav ul.pages #dropdown-menu a.active {
                        background-color: #1c1d1eb4;
                    }

                    nav ul.pages #dropdown-menu a:hover {
                        background-color: #1c1d1eb4;
                    }

            nav ul.pages #dropdown:hover #dropdown-menu {
                display: block;
            }

            nav ul.pages li {
                display: block;
                padding: 0 2rem;
            }

                nav ul.pages li.active {
                    background-color: #1c1d1eb4;
                }

                nav ul.pages li:hover {
                    background-color: #1c1d1eb4;
                }

        nav ul.icons {
            display: flex;
            list-style: none;
            align-items: center;
        }

            nav ul.icons li {
                margin: 0 2rem;
            }

                nav ul.icons li.phone {
                    background-image: url(./img/phone.png);
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: 28px;
                }

                    nav ul.icons li.phone:hover {
                        background-image: url(./img/phone2.png);
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: 28px;
                    }

                nav ul.icons li.email {
                    background-image: url(./img/email.png);
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: 70px;
                    margin-top: .3rem;
                }

                    nav ul.icons li.email:hover {
                        background-image: url(./img/email2.png);
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: 70px;
                    }

                nav ul.icons li.git {
                    background-image: url(./img/github.png);
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: 50px;
                    margin-top: .5rem;
                }

                    nav ul.icons li.git:hover {
                        background-image: url(./img/github2.png);
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: 50px;
                    }

            nav img {
                display: block;
                visibility: hidden;
                max-height: 50px;
            }

    #main section {
        display: flex;
        flex-wrap: wrap;
    }

        #main section div {
            min-width: calc(50% - 4px);
            border: 2px solid #003f4d;
            max-height: stretch;
        }

            #main section div img {
                min-height: stretch;
                max-height: 40vh;
                max-width: 54vh;
            }

#res {
    min-width: 100%;
}



    #res section {
        display: flex;
        flex-direction: column;
        min-width: 50%;
        max-width: 50%;
        justify-content:space-between;
    }

        #res section div {
            text-align: left;
            border: 2px solid #003f4d;
            min-height: 10em;
        }

}