* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../images/background2.jpg);
    background-repeat: no-repeat;
    background-size: cover;

}

#myname {
    width:50%;
    text-align: center;
    font-size: 40pt;
    color: #FFC;

}

#myimage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

/* header>nav {
        background-color: darkslategrey;
        width: 100%;
        position: relative;
        border-radius: 600px 25px;
        transition-property:background-color;
        transition-duration:0.5s;
    }
    header>nav:hover {
        background-color:#11394e;
        transition-property:background-color;
        transition-duration:0.5s;
    }
    
    header>nav>a {
        display: inline-block;
        margin-left: 20px;
        color: #FFC;
        text-decoration: none;
        line-height: 30px;
        font-size: 15pt;
        transition-property: background-color, color, border-bottom-left-radius, border-top-right-radius;
        transition-duration: 0.5s, 0.1s, 0.5s, 0.5s;
    }
    
    header>nav>a:hover {
        background-color: #3389B8;
        color: #F2DEB6;
        border-bottom-left-radius: 50%;
        border-top-right-radius: 50%;
    } */
.navi {
    width: 100%;
    height: 100%;
    min-width: 130px;
    background-image: linear-gradient(to left, black, #fff175 40%, rgb(0, 0, 0) 90%);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid yellow;
}

.material-symbols-outlined {
    color: #fff;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

.navi:hover {
    overflow: visible;
    border-radius: 0px;
}

.subcontainer1 {
    width: 20%;
    height: 100%;
}

.navlink {
    justify-content: center;
    display:flex;
    flex-direction: row;
    width: 100%;
    height: calc(100%/13);
    text-decoration: none;
    color: #fff175;
    font-weight: bold;
    /* background-image:linear-gradient(to left,rgb(37, 124, 255) 5%, #FFF,  blue 50%,rgb(0, 5, 49) 85%, rgb(0, 38, 95) 90%); */
    padding: 20px;
    background-image: linear-gradient(to right, #000000 0%, #434343 51%, #000000 100%);
    border: 4px solid transparent;
    transition-duration: 1s;
    text-align: center;
    text-shadow: 2px 2px rgb(12, 0, 121);
}

.navlink>span {
    display: none;
    margin-right:20px;
}

.navlink:hover span {
    display: block;
}

.navlink:hover {
    border-color: hsl(54, 100%, 73%);
    font-size: 1.5em;
    transform: perspective(10rem) rotateY(10deg) translateX(50px);
    transition-duration: 0.5s;
    width: 120%;
    /* background-image:linear-gradient(to left,rgb(47, 130, 255) 5%, #FFF 50%,  blue 80%, rgb(0, 5, 49) 85% , rgb(0, 56, 139) 90%); */
    border-radius: 20px;
    box-shadow: 0 0 20px hsla(0, 0%, 100%, 0.506);
}

#myimage {
    margin: auto;
    border-radius: 20%;
    border: 5px solid rgb(0, 225, 255);
    transition-duration: 0.5s;
    background-image: url(../images/me.jpg);
    background-size: cover;
    background-position: center;
    aspect-ratio: 1;
    height: 200px;
}

#myimage:hover {
    border-radius: 40%;

}

.navlink1 {
    justify-content: center;
    display:flex;
    flex-direction: row;
    width: 100%;
    height: calc(100%/13);
    text-decoration: none;
    color: #fff175;
    font-weight: bold;
    /* background-image:linear-gradient(to left,rgb(37, 124, 255) 5%, #FFF,  blue 50%,rgb(0, 5, 49) 85%, rgb(0, 38, 95) 90%); */
    padding: 20px;
    background-image: linear-gradient(to right, #000000 0%, #434343 51%, #000000 100%);
    border: 4px solid transparent;
    transition-duration: 1s;
    text-align: center;
    text-shadow: 2px 2px rgb(12, 0, 121);
}

.navlink1:hover > .hobby{
    display:block;
}

.hobby {
    width:300px;
    height:300px;
    background-color: blue;
    display:none;
}

.hobby-links  {
    display:none;
}

.hobby:hover {
    flex-direction: row;
}

.hobby:hover > ul >.hobby-links, .hobby-links:hover{
    display:block;
    height:300px;
}

/* @media (max-width: 800px) {
        header {
            max-width: none;
        }
    
        .container {
            background-color: black;
            flex-direction: unset;
            display: grid;
        }
    
        body {
            background-color: red;
            background-image: none;
            width: 100vw;
        }
    } */

.logo {
    width: 100%;
    height: 120px;
    background-image: linear-gradient(to right, #000000 0%, #434343 51%, #000000 100%);
    margin-bottom: 20px;
    border-bottom: 2px solid yellow;
    ;
}

img {
    height: 100px;
    padding: 10px;
}

.container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 950px;
}


.subcontainer2 {
    width: 70%;
    margin-left: 5%;
    height: 100%;
}

.main {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(90, 90, 90, 0.836), rgba(0, 0, 0, 0.5));
    /* background-image: url(../images/starfield.jpg); */
    transition-duration: 1s;
    padding: 50px;
    box-shadow: 0px 0px 10px hsla(54, 100%, 73%, 20%);
    display: flex;
    flex-direction: row;
    border: 2px solid yellow;
    height:40%;
}

.sub-main {
    box-shadow: 0px 0px 10px hsla(54, 100%, 73%, 20%);
    height: 60%;
    background-color: hsla(0, 0%, 35%, 0.644);
    transition-duration: 1s;
    border: 2px solid yellow;
    /* background-image: url(../images/starfield.jpg); */
}

.main:hover {
    border-radius: 50px;
    background-color: rgba(0, 94, 235, 0);
    text-shadow: #FFC 1px 0 10px;
    box-shadow: 0px 0px 20px hsla(54, 100%, 73%, 40%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgb(68, 68, 68), rgba(0, 0, 0, 0.8));
}


.sub-main>h2 {
    padding-top: 30px;
    color: #FFF;
    text-align: center;
    text-shadow: 2px 2px rgb(20, 0, 73);
}

.sub-main:hover {
    border-radius: 50px;
    /* background-color: rgba(0, 94, 235, 0.5); */
    box-shadow: 0px 0px 20px hsla(54, 100%, 73%, 40%);
}

footer {
    width: 100%;
    height:100px;
    background-image: linear-gradient(to right, #000000 0%, #434343 51%, #000000 100%);
    margin-top: 20px;
    border-top: 2px solid yellow;
    padding-top:50px;
    color:#fff;
    text-align: center;
}


@media screen and (max-width:900px) {

    body {
        background-image: none;
        background-color: #000000;
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100%;

    }

    .subcontainer1 {
        width: 100%;
        height: auto;
    }

    .navi {
        width: 90%;
        margin: auto;
        border-radius: 20px;
        overflow: hidden;
        border: 2px solid yellow;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        min-width: none;
    }

    .navlink {
        display: flex;
        transition-duration: 0;
        justify-content: center;
        width: 33%;
        height: 40px;
        text-decoration: none;
        color: #fff175;
        /* background-image:linear-gradient(to left,rgb(37, 124, 255) 5%, #FFF,  blue 50%,rgb(0, 5, 49) 85%, rgb(0, 38, 95) 90%); */
        text-shadow: 2px 2px rgb(12, 0, 121);
        margin: 0;
        padding: 0;
    }

    .navi:hover {
        overflow: visible;
        border-radius: 0px;
    }

    .navlink:hover {
        border-color: hsl(54, 100%, 73%);
        font-size: 100%;
        transform: none;
        border-radius: 20px;
        box-shadow: 0 0 20px hsla(0, 0%, 100%, 0.506);
        width: 33%;
    }

    

    .navlink>span {
        display: none;
    }

    .navlink:hover span {
        display: none;
    }

    .subcontainer2 {
        width: 95%;
        margin: 20px auto;
        height: 100%;
        display:flex;
        flex-direction: column;
    }

    .main {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(90, 90, 90, 0.836), rgba(0, 0, 0, 0.5));
        /* background-image: url(../images/starfield.jpg); */
        height: auto;
        transition-duration: 1s;
        box-shadow: 0px 0px 10px hsla(54, 100%, 73%, 20%);
        display: flex;
        flex-direction: column;
        border: 2px solid yellow;
        margin: 20px auto 20px auto;
        gap:20px;
    }

    .sub-main {
        box-shadow: 0px 0px 10px hsla(54, 100%, 73%, 20%);
        height:auto;
        background-color: hsla(0, 0%, 35%, 0.644);
        transition-duration: 1s;
        border: 2px solid yellow;
        /* background-image: url(../images/starfield.jpg); */
    }

    .sub-main h2 {
        padding: 0 20px;
    }

    .main:hover {
        border-radius: 50px;
        background-color: rgba(0, 94, 235, 0);
        text-shadow: #FFC 1px 0 10px;
        box-shadow: 0px 0px 20px hsla(54, 100%, 73%, 40%);
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgb(68, 68, 68), rgba(0, 0, 0, 0.8));
    }


    .sub-main>h2 {
        height:300px;
        padding-top: 30px;
        color: #FFF;
        text-align: center;
        text-shadow: 2px 2px rgb(20, 0, 73);
    }

    .sub-main:hover {
        border-radius: 50px;
        /* background-color: rgba(0, 94, 235, 0.5); */
        box-shadow: 0px 0px 20px hsla(54, 100%, 73%, 40%);
    }

    .desktop {
        display: none;
    }

    #myname {

        text-align: center;
        font-size: 40pt;
        color: #FFC;
        padding:0;

    }

    #myimage {
        width: 50%;
        height:auto;
        margin: 10px auto;
    }

    footer {
        height:auto;
        width: 100%;
        background-image: linear-gradient(to right, #000000 0%, #434343 51%, #000000 100%);
        position:absolute;
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        border-top: 2px solid yellow;
    }

    
    #footer-middle {
        margin:auto;
        width: 100%;
        text-align:center;
        color: #FFC
    }
    
    

}