@font-face {
    font-family: Tie;
    src: url("/Tie.woff2");
}

* {
    font-family: sans-serif;
}

body {
    overflow-x: hidden;
    background-color: black;
    color: white;

}

#header {
    text-align: center;
    font-size: 2em;
}

#contact {
    position: fixed;
    top: 0;
    right: 16px;
}

img {
    width: 10em;
    max-width: max-content;
    cursor: pointer;
}

.screenshot {
    width: 100%;
    height: auto;
    float: right;
}

h1,
h2 {
    font-family: Tie;
}

.cont {
    box-shadow: 1px 1px 16px white;
    background-color: white;
    color: black;
    padding: 16px;
    text-align: left;
    display: flex;
    margin: auto;
    margin-bottom: 16px;
    max-width: 1000px;
}

sup {
    font-style: italic;
}

.social {
    font-style: normal;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 4em;
    transition: color 0.1s;
    text-shadow: 1px 1px 16px white;
}

.social:hover,
.social-text:hover+.social,
.social-cont:hover>.social {
    color: rgb(0, 138, 156)
}

.social-cont {
    text-align: right;
    vertical-align: middle;
    height: 4em;
}

.social-text {
    position: relative;
    bottom: 2.8em;
    right: -100%;
    font-size: 1.5em;
    font-family: Tie;
    color: rgba(0, 0, 0, 1);
    opacity: 0;
    transition: right 1s, opacity 3s;
    transition-delay: opacity 3s;
    padding: 10px;
    padding-right: 32px;
    padding-left: 32px;
    text-shadow: 16px 16px 32px rgba(0, 0, 0, 0.8), -1px 0px white, 1px 0px white, 0px 1px white, 0px -1px white;
}

.social:hover+.social-text,
.social-text:hover,
.social-text:hover {
    right: 2.5em;
    opacity: 100;
}

#main {
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 760px) {
    .cont {
        flex-direction: column;
    }

    #header {
        font-size: 1.5em;
    }
}

.modal {
    display: none;
    position: fixed;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    height: 80%;
    width: auto;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}