::selection {
    background: white;
    color: black;
}

html,
body {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.modal {
    width: 50vw;
    height: 50vh;
    height: calc(var(--vh, 1vh) * 50);
}

body {
    background: black;
}

.nav {
    width: 120px;
    position: fixed;
    z-index: 1;
    top: 17%;
    left: 3.9%;
    background-image: linear-gradient(to left, #434343 0%, black 100%);
    overflow-x: hidden;
    text-align: center;
    padding: 8px 0;
    border-radius: 20px;
}

.nav hr {
    width: 70%;
}

.nav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 14px;
    color: #2196F3;
    display: block;
}

.nav a:hover {
    color: black;
}

@media screen and (max-height: 450px) {
    .nav {
        padding-top: 15px;
    }
    .nav a {
        font-size: 18px;
    }
}

.photo {
    height: 450px;
    width: 400px;
    background-image: linear-gradient(to right, #434343 0%, black 100%);
    margin-top: 8%;
    margin-left: 8%;
    border-radius: 10px;
    /*box-shadow: 2px 5px 20px 5px pink;*/
}

.pic .mypic {
    width: 200px;
    height: 200px;
    border-radius: 40%;
    margin-top: 8%;
    margin-left: 23%;
}

.pic h2 {
    font-family: 'Graduate';
    font-size: 30px;
    margin-left: 12%;
    color: white;
}

.sec {
    width: 750px;
    height: 450px;
    z-index: 10;
    background-image: linear-gradient(to right, black 20%, #434343 60%, black 100%);
    float: right;
    margin-top: -32.8%;
    margin-right: 6%;
    border-radius: 10px 10px 10px 10px;
    margin-left: 42%;
    overflow-y: auto;
    overflow-x: hidden;
}

.sec h2 {
    margin-left: 6%;
    font-family: 'Jim Nightshade';
    font-size: 40px;
    color: white;
}

.sec h3 {
    margin-left: 6%;
    font-family: 'Bebas Neue';
    font-size: 30px;
    color: white;
    word-spacing: 5px;
    letter-spacing: 2px;
    color: gold;
}

.sec h4 {
    margin-left: 6%;
    font-family: 'Bebas Neue';
    font-size: 25px;
    color: white;
    word-spacing: 5px;
    letter-spacing: 2px;
    margin-top: -1.5%;
    color: gold;
}

.sec hr {
    width: 90%;
}

.sec p {
    margin-left: 6%;
    font-family: 'Sirin Stencil';
    font-size: 22px;
    margin-right: 3%;
    color: white;
}

.sec .lang {
    height: auto;
    width: max-content;
    background: rgb(116, 218, 85);
    color: rgb(0, 0, 0);
    border-radius: 5px;
    margin-bottom: 2%;
    margin-left: 6%;
    padding: 2px 2px;
    font-size: 19px;
    font-family: 'Archivo Narrow';
}

.sec1 {
    display: none;
}


/*.sec1 {
    width: 750px;
    height: 500px;
    float: right;
    margin-top: -32%;
    margin-right: 2%;
    border-radius: 10px 10px 10px 10px;
    position: fixed;
    margin-left: 42%;
}

*/


/*.sec1 h2 {
    margin-left: 6%;
    font-family: 'Jim Nightshade';
    font-size: 40px;
}

.sec1 p {
    font-size: 16px;
}
*/

.photo .social {
    margin-left: 20%;
    margin-top: 12%;
    word-spacing: 30px;
}

.container {
    width: 100%;
    height: 40px;
    position: relative;
}

.container>div {
    font-size: 25px;
    font-family: 'Audiowide';
    color: rgb(116, 218, 85);
    text-align: center;
    opacity: 0;
    height: 0px;
}

.container>div:nth-child(1) {
    animation: animation 12s infinite;
}

.container>div:nth-child(2) {
    animation: animation 12s infinite;
    animation-delay: 4s;
}

.container>div:nth-child(3) {
    animation: animation 12s infinite;
    animation-delay: 8s;
}

@keyframes animation {
    0% {
        opacity: 0;
        height: auto;
    }
    16% {
        opacity: 1;
    }
    33% {
        opacity: 0;
        height: 0px;
    }
    100% {
        opacity: 0;
        height: 0px;
    }
}

.sec .cv {
    width: 150px;
    height: 45px;
    border: 2px solid;
    border-radius: 10px;
    text-align: center;
    background-image: linear-gradient(to right, #434343 0%, black 100%);
    color: white;
    font-size: 16px;
}

.sec table {
    margin-left: 10%;
}

.sec td {
    padding: 2px 10px;
}

.sec .cv {
    margin-top: 10%;
    margin-left: 35%;
}

.sec .cv:hover {
    color: white;
    background-image: linear-gradient(to right, black 20%, #434343 60%, black 100%);
    transition: 2s;
    cursor: pointer;
}

.sec .projectnext {
    float: right;
    font-family: 'Blanka';
    font-size: 14px;
    color: black;
    width: 80px;
    height: 35px;
    margin-top: -55%;
    margin-right: -8%;
    border-radius: 5px 5px 80% 80%;
    transition: width 2s, height 2s, transform 2s;
    color: rgb(236, 159, 14);
    background: transparent;
    border: none;
}

.sec .projectnext:hover {
    cursor: pointer;
}

.exp {
    display: none;
}

.ach {
    display: none;
}

.exp,
.ach {
    width: 750px;
    max-height: 450px;
    z-index: 10;
    background-image: linear-gradient(to right, black 20%, #434343 60%, black 100%);
    float: right;
    margin-top: -32.8%;
    margin-right: 6%;
    border-radius: 10px 10px 10px 10px;
    margin-left: 42%;
    overflow-y: auto;
}

.exp h3,
.ach h3 {
    font-family: 'Blanka';
}

.expnext,
.achnext {
    float: right;
    font-family: 'Blanka';
    font-size: 14px;
    color: black;
    width: 80px;
    height: 35px;
    margin-top: -57.5%;
    margin-right: 25%;
    border-radius: 5px 5px 80% 80%;
    transition: width 2s, height 2s, transform 2s;
    color: rgb(236, 159, 14);
    background: transparent;
    border: none;
}

.expnext:hover,
.achnext:hover {
    cursor: pointer;
}

.exp h2,
.ach h2 {
    margin-left: 6%;
    font-family: 'Jim Nightshade';
    font-size: 40px;
}

.exp p,
.ach p {
    font-size: 16px;
}

.edunext {
    float: right;
    font-family: 'Blanka';
    font-size: 14px;
    color: black;
    width: 80px;
    height: 35px;
    margin-top: -57.5%;
    margin-right: 5%;
    border-radius: 5px 5px 80% 80%;
    transition: width 2s, height 2s, transform 2s;
    color: rgb(236, 159, 14);
    background: transparent;
    border: none;
}

.edunext:hover {
    cursor: pointer;
}

.aboutbefore {
    font-family: 'Blanka';
    font-size: 14px;
    color: black;
    width: 80px;
    height: 35px;
    margin-top: -57.5%;
    margin-right: 5%;
    border-radius: 5px 5px 80% 80%;
    transition: width 2s, height 2s, transform 2s;
    color: rgb(236, 159, 14);
    background: transparent;
    border: none;
}

.aboutbefore:hover {
    cursor: pointer;
}

.edu {
    display: none;
}