@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@600&display=swap');

::-webkit-scrollbar {
    display: none;
}

body {
    background: rgb(0, 89, 89);
    background-image: url(/WebPageImages/background.png);
    background-size: 150px;
    color: var(--text-color);
    padding: 10px;
    font-family: arial;
    font-size: 1.125rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: visible;
}
#all-contents {
  max-width: 99%;
    margin: auto;
}

/* navigation menu */
nav {
    background-color: var(--nav-background-color);
    background-image: var(--nav-background-img);
    background-size: 125px;
    background-position-y: 25px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 30px;
    align-content: center;

    & h1 {
        align-items: center;
        color: var(--text-color);
        text-align: center;
        font-size: 3rem;
        font-family: 'JetBrains Mono';
        padding-top: 0px;
        margin-top: 0px;
        margin-bottom: 20px;
        display: inline-box;
        user-select: none;
        -webkit-user-drag: none;
        -moz-window-dragging: none;
    }
    & #nav-ul {
        list-style-image: none;
        margin-left: calc(50% - 173px);
        user-select: none;
        -webkit-user-drag: none;
        -moz-window-dragging: none;
    }
    & #theme-ul {
        width: 0;
        height: 0;
        float: right;
        margin-right: 45px;
        user-select: none;
        -webkit-user-drag: none;
        -moz-window-dragging: none;
        color: var(--text-color);
        & .mode-li {
            display: inline-block;

            & span {
                cursor: pointer;
            }
        }
    }
    & #clock {
        width: 0;
        height: 0;
        float: left;
        font-size: 1.3rem;
        margin-left: 15px;
        margin-top: 15px;
        padding: 0;
        user-select: none;
        -webkit-user-drag: none;
        -moz-window-dragging: none;
        color: var(--text-color);
    }
    & #portnav-ul {
        list-style-image: none;
        margin-left: calc(50% - 188px);
        user-select: none;
        -webkit-user-drag: none;
        -moz-window-dragging: none;
    }
    & .nav-li {
        display: inline-block;
        width: fit-content;
        height: fit-content;
        transition: transform 0.3s;

        &:not(.location):hover {
            transform: scale(110%);
        }
    }
    
    & .location {
        & a {
            font-style: oblique;
            color: #00000080;
        }
    }
    
    & .nav-a {
      color:#000;
      font-size: 1.375rem;
      -webkit-user-drag: none;
      -moz-window-dragging: none;
    }
    & :link {
        display: inline-block;
    }
}
a {
    text-decoration: none;
    color: var(--text-color);
}
/* main container area beneath menu */
main {
    background: var(--background-color);
    border-radius: 30px;
}
.content {
    padding: 15px;
}

.content h1 {
    color: var(--text-color);
}
#portfolio, #tools {
    list-style-type: none;
    padding-left: 0;
}
#portfolio li, #tools li {
    background: var(--list-item-background);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
#portfolio li:hover, #tools li:hover {
    background: var(--list-item-background-hover);
}
#portfolio a, #tools a {
    text-decoration: none;
    color: var(--text-color);
}

#block {
    /*position: relative;*/
    /*left: calc(50% - 50px);*/
    transform-style: preserve-3d;
    width: 100px;
    height: 100px;

    font-size: 20px;
    text-align: center;
    line-height: 100px;
    transition: .2s;
}

.face {
    width: 100%;
    height: 100%;
    position: absolute;
}

.front {
    transform: translateZ(50px);
    background: #ff0000;
}

.back {
    transform: rotateY(180deg) translateZ(50px);
    background: #ffff00;
}

.left {
    transform: rotateY(-90deg) translateZ(50px);
    background: #00ff00;
}

.right {
    transform: rotateY(90deg) translateZ(50px);
    background: #00ff00;
}

.top {
    transform: rotateX(90deg) translateZ(50px);
    background: #0000ff;
}

.bottom {
    transform: rotateX(-90deg) translateZ(50px);
    background: #0000ff;
}

#flexRow {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 20px;
}

#leftArrow, #rightArrow {
    cursor: pointer;
    margin: 0 20px 0 20px;
    line-height: 100px;
    font-size: 100px;
    user-select: none;
}

#header {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;

    & #header_img {
        max-width: 250px;
        max-height: 250px;
        padding: 20px;
        margin-top: 10px;
        margin-bottom: -20px;
        filter: drop-shadow(var(--header-img-bg-color) 0px 0px 10px);

        user-select: none;
        -webkit-user-drag: none;
        -moz-window-dragging: none;
    }

    & h1 {
        margin: 10px;
    }

    & info {
        & * {
            text-align: center;
            color: var(--dimmer-text-color);
        }

        & a {
            text-decoration: underline;
        }

        margin-bottom: 20px;
    }

    & p {
        margin: 5px;

        &:last-child {
            margin-bottom: 20px;
        }
    }
}
#contacts {
    margin-top: 10px;

    & h2 {
        width:fit-content;
        margin-left: auto;
        margin-right: auto;
        padding-top: 10px;
        margin-bottom: 0;
    }

    & div {
        width:fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    & #socials-list {
        display: flex;
        flex-direction: row;
        justify-content: center;

        & a {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: default;
            margin: 10px;

            & h3 {
                margin: 0;
                margin-bottom: 10px;
                padding: 0;
                text-align: center;
                cursor: pointer;
            }

            & img {
                margin-bottom: 10px;
                width: 150px;
                background: #fff;
                border-radius: 20px;
                cursor: pointer;
                margin: 0px 52px 0px 52px;
            }

            & p {
                margin: 0;
                padding: 0;
                text-align: center;
                cursor: pointer;
            }
        }
    }
}
#copySuccess {
    position:absolute;
    background: white;
    color: black;
    font-size: 15px;
    border: black 1px solid;
    box-shadow: 1px 1px 2px black;
}