@font-face {
    font-family: Lito;
    src: url(LITOCLEAN.ttf);
}
@font-face {
    font-family: AbhayaLibre-Medium;
    src: url(AbhayaLibre-Medium.ttf);
}
html {
    scroll-behavior: smooth;
}

selector {
    cursor: none;
}

* {
    padding: 0;
    margin: 0;
}

body {
    background: linear-gradient(90deg, #013766 12%, #ac0e28 96%, #ac0e28 100%);
    background-repeat: no-repeat;
    height: 100%;
    min-width: 100%;
    overflow-x: hidden;
    cursor: none;

}


* {
    scrollbar-width: thin;
    scrollbar-color: #0f3461 #ac0e28;
}


*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: #880808;
    border: 1px solid #0000002c
}

*::-webkit-scrollbar-thumb {
    background-color: #0f3461;
    border-radius: 11px;
    border: 2px solid #ffffff;

}

h1 {
    font-weight: 400;
}



.topnav a {
    float: left;
    color: #ffffff;
    padding: 12px;
    text-decoration: none;
    font-size: 34px;
    word-spacing: 80px;
    margin-top: 12px;
    font-weight: 300;
}

@media screen and (min-width: 768px) {
    .menu-switch {
        display: none;
    }

    .topnav a {
        float: left;
        color: #ffffff;
        padding: 12px;
        text-decoration: none;
        font-size: 34px;
        word-spacing: 80px;
        margin-top: 12px;
    }

    .topnav a:hover {
        background-color: #010a1cb4;
        color: #bc4558;
        border-radius: 14px;
        cursor: none;
    }

    .topnav a.active {
        background-color: #ffffff;
        color: white;
    }
}

@media screen and (max-width: 900px) {
    .menu-switch {
        font-size: 34px;
        color: white;
        display: block;
    }

    input.menu-switch {
        display: none;
    }

    .topnav input:checked~label span:last-child {
        display: none;
    }

    .topnav input:not(:checked)~label span:first-child {
        display: none;
    }

    .topnav label {
        border-bottom-left-radius: 20px;
        position: absolute;
        z-index: 101;
        top: 5px;
        right: 15px;
    }

    .topnav div.nav {
        position: absolute;
        right: 5px;
        top: 5px;
        overflow: hidden;
        width: 0;
        height: 0;
        padding: 0;
        margin: 0;
        transition: width 0.5s, height 0.5s;
        z-index: 100;
        background: rgba(0, 0, 0, 0.666666);
        border-radius: 15px;
    }

    .topnav a:hover {
        background-color: #010a1cb4;
        color: #bc4558;
        border-radius: 14px;

    }

    .topnav input:checked~div.nav {
        width: 200px;
        height: 160px;
        padding: 15px;
    }

    .topnav div.nav a {
        display: block;
        color: white;
        text-decoration: none;
        font-size: 16px;
        line-height: 20px;
        word-spacing: 80px;
        margin-top: 12px;
    }
}

#navigation {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.407);
    border: 2px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    align-items: center;
    z-index: 52;
    cursor: none;
}

#navigation img {
    padding-left: 22px;
}

.topnav {
    padding-right: 20px;
    font-family: Lito, sans-serif;
    word-spacing: 10px;
}

#loph {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20%;
}

#wtext {
    color: rgb(255, 255, 255);
    font-size: 48px;
    font-family: Lito, sans-serif;
}

#loph img {
    width: 380px;
    height: auto;
    margin-top: 110px;
    margin-left: 108px;
    border-radius: 14px 14px 14px 14px;
    border: 1px solid rgba(4, 1, 1, 0.163);

}

@media screen and (max-width: 900px) {
    #loph {
        flex-direction: column;

    }

    #loph img {
        margin-left: 0px;
        width: 50vw;
    }

    #wtext {
        font-size: 6vw;
    }
}

.spacer {
    margin-top: 100px;
    height: 100px;
}

@media screen and (max-width: 900px) {
    .ahtxt {

        margin-top: 5px;
    }
}

.ahtxt {
    font-family: Lito, sans-serif;
    color: white;

}

.abtxt {
    font-family: AbhayaLibre-Medium, Serif;
    font-size: 20px;
    color: white;
    margin-top: 40px;
    margin-left: 90px;
    margin-right: 90px;
}

.abtxt p {
    margin-top: 20px;
}

.wchurch img {
    width: 385px;
    height: auto;
    margin-top: 40px;
    border-radius: 14px 14px 14px 14px;
    border: 1px solid rgba(4, 1, 1, 0.163);
}

.aboutme {
    display: flex;
    flex-direction: row-reverse;
}

@media screen and (max-width: 900px) {
    .ahtxt {
        margin-left: 0;
        text-align: center;
        font-size: 6vw;
    }


    .aboutme {
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
    }

    .wchurch img {
        margin-left: 0;
        width: 50vw;
    }
}


.box {
    position: relative;
    flex: 1 1 0;
    overflow: hidden;
    transition: .5s;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .1);
    line-height: 0;
}

.box img {
    width: 100%;
    height: calc(100% - 10vh);
    object-fit: cover;
}

.box span {
    font-size: 22px;
    display: block;
    text-align: center;
    height: 10vh;
    line-height: 2.6;
}

.MI4 {
    font-family: Lito, sans-serif;
    color: white;
    margin-bottom: 100px;
    font-weight: 400;
}


@media screen and (max-width: 900px) {
    .MI4 h1 {
        text-align: center;
        margin-left: 0;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 5% 0;
    box-sizing: border-box;
    justify-content: space-between;
    gap: 2%;
}


@media screen and (max-width: 900px) {
    .box {
        flex-basis: 300px;
        margin: 0 5%;
    }

    .MI4 {
        font-size: 6vw;
    }
}

@media screen and (max-width:750px) {
    .box {
        margin: 0 10%;
    }
}

.containerus {
    width: 80%;
    background-color: rgba(221, 221, 221, 0);
    font-family: Lito, sans-serif;
    font-size: 20px;
    font-weight: 100;
    
 }

.skills {
    text-align: right;
    font-family: Lito, sans-serif;
    font-weight: 100;
    font-size: 20px;

}
  

.html {
    width: 40%;
    height: 24px;
    background-color: #ac0e28;
    border: solid 1px rgba(128, 128, 128, 0.368);
}

.css {
    width: 40%;
    height: 24px;
    background-color: #bc4558;
    border: solid 1px rgba(128, 128, 128, 0.368);
}

.python {
    width: 25%;
    height: 24px;
    background-color: #f44336;
    border: solid 1px rgba(128, 128, 128, 0.368);
}

.dart {
    width: 20%;
    height: 24px;
    background-color: #024987;
    border: solid 1px rgba(128, 128, 128, 0.368);
}

.r {
    width: 10%;
    height: 24px;
    background-color: #ac0e28;
    border: solid 1px rgba(128, 128, 128, 0.368);
}


.pp {
    width: 80%;
    height: 24px;
    background-color: #ac0e28;
    border: solid 1px rgba(128, 128, 128, 0.368);
}

.vsc {
    width: 70%;
    height: 30px;
    background-color: #024987;
    border: solid 1px rgba(128, 128, 128, 0.368);
}


.w {
    width: 60%;
    height: 24px;
    background-color: #bc4558;
    border: solid 1px rgba(128, 128, 128, 0.368);
}

.ph {
    width: 40%;
    height: 24px;
    background-color: #f44336;
    border: solid 1px rgba(128, 128, 128, 0.368);
}



.b {
    width: 15%;
    height: 24px;
    background-color: #ac0e28;
    border: solid 1px rgba(128, 128, 128, 0.368);
}



.Skillos {
    display: flex;
    flex-direction: column;
    width: 80%;
    font-family: Lito, sans-serif;
    color: white;
    margin-top: 40px;
}



.Skillos,.ahtxt,.MI4,.myp,.contacts
{
    font-size: 2em;
}

@media screen and (max-width: 900px) {
    .Skillos,.ahtxt,.MI4,.myp,.contacts
    {
        font-size: 8vw;
    }
}

.ahtxt,.wchurch,.Skillos,.MI4,.myp,.contacts,.contxt
{
    margin-left: 90px;
}

.MI4,.abtxt,.myp
{
    margin-right: 90px;
}

@media screen and (max-width: 900px) {
    .wchurch,.Skillos,.MI4,.myp,.contacts,.contxt,.abtxt
    {
        margin-left: 8%;
    }

    .MI4,.abtxt
    {
        margin-right: 8%;
    }

    .wchurch,.ahtxt,.myp
    {
        margin-left: 0;
    }

    .myp{
        margin-right: 0;
    }
    
}

.myp {
    font-family: Lito, sans-serif;
    color: white;
    text-align: center;
}



.myp h1 {
    margin-bottom: 20px;
}

@media screen and (max-width: 900px) {
    .myp
    {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .myp h1 {
        font-size: 8vw;

    }
}

.myp ul {
    display: flex;
    justify-content: space-around;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, .05);
}

.myp li {
    flex-direction: row;
    width: 150px;
    height: 150px;
    
    color: white;
    font-size: 14px;
    list-style: none;
    text-align: center;
}

.myp li a {
    background: rgba(221, 221, 221, 0);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0);
    transform: scale(120%);
    transition: ease-in-out 1s;
    cursor: none;
}

.myp li span {
    text-align: center;
}

li a:hover {

    width: 200px;
    height: 200px;
    cursor: none;

}

.myp li img {
    border-radius: 14px 14px 14px 14px;
    border: 5px;
    border-color: white;
    border-style: solid;
    cursor: none;
}

.pdes {
    font-family: Lito, sans-serif;
    color: white;
    margin-left: 90px;
    font-size: 14px;
}

.mz {
    border-radius: 14px 14px 14px 14px;
    border: 5px;
    border-color: white;
    border-style: solid;
}

.contacts {
    font-family: Lito, sans-serif;
    color: white;
    margin-top: 4px;
    cursor: none;
}

.contxt {
    font-family: Lito, sans-serif;
    color: white;
    cursor: none;
}

.conicon {
    width: 124px;
    height: 124px;
    cursor: none;
    filter: invert(1);
}

.contxt {
    display: flex;
    justify-content: left;
    gap: 30px;
    margin-top: 120px;
    cursor: none;
}

.footer {
    display: flex;
    justify-content: center;
    margin-top: 100px;
    font-family: AbhayaLibre-Medium;
    font-weight: 100;
    color: white;
    font-size: 8px;
}

@media screen and (max-width: 900px) {
    .myp ul {
        flex-direction: column;
    }

    .contacts {
        font-size: 8vw;
        margin-left: 0;
        text-align: center;
    }

    .contxt {
        margin-left: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .conicon {
        width: 20vw;
        height: auto;
        display: flex;

    }
}

body,
canvas {
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    display: block;
}

.cursor,
.cursor--bg,
.click {
    position: absolute;
    border-radius: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cursor {
    background: #F0F0F0;
    width: 10px;
    height: 10px;
    z-index: 1000;
    box-shadow: 0 0 10px 0 rgb(255, 255, 255);
}

.cursor--bg {
    background: #94908D;
    height: 34px;
    width: 34px;
    box-shadow: 0 0 15px 0 hsl(0, 0%, 100%);
    opacity: 1;
}

.click {
    background: transparent;
    width: 50px;
    height: 50px;
    border: 2px solid hsl(45, 100%, 100%);
    box-shadow: inset 0 0 5px 0 rgb(255, 255, 255);
    z-index: 2;
    transform: scale(0)
}

.animate {
    animation: clickAnimate 0.4s;
}

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

    to {
        transform: scale(180%)
    }
}