@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');


:root{
    --background: #000000;
    --homepageLines: white;
    --green: #57B67D;
    --white: #ffffff;
    --light: #373737;
}


[data-theme="light"] {
    --background: #ffffff;
    --homepageLines: #000000;
    --green: #57B67D;
    --white: #000000;
    --light: #dedede;

}

body{
    margin: 0px;
    padding: 0px;
    background-color: var(--background);

}
button{
    padding: 0px;
    margin: 0px;
    background-color: inherit;
    border: none;   
    appearance: none;
    outline: none;
}


.button{
    border: 1px solid var(--white);
    width: 190px;
    height: 50px;
    cursor: pointer;
    color: white;
    /* transition: background-color .1s, color .1s; */
}
.button:hover{
    background-color: var(--white);
    color: black;
}
.button:active{
    transform: translateY(2px) translateX(2px);
}
.button:hover .arrow{
    background-color: black;
}
.button:hover .arrow:after{
    background-color: black;
}
.button:hover .arrow:before{
    background-color: black;
}
.button .arrow{
    background-color: var(--white);
}
.button .arrow::before{
    background-color: var(--white);
}
.button .arrow::after{
    background-color: var(--white);
}


.arrow{
    width: 2px;
    height: 18px;
    position: relative;
    margin: 0px 10px;
    cursor: pointer;
    background-color: var(--white);
    /* transition: background-color .1s  */
}
.arrow::before{
    position: absolute;
    content:" ";
    top: 13px;
    left: -8px;
    width: 10px;
    height: 2px;
    transform: rotate(45deg);
    background-color: var(--white);

    /* transition: background-color .1s  */
}
.arrow::after{
    position: absolute;
    content:" ";
    top: 13px;
    left: 0px;
    width: 10px;
    height: 2px;
    transform: rotate(-45deg);
    background-color: var(--white);

    /* transition: background-color .1s  */
}



.title{
    position: fixed;
    display: block;
    top: 0px;
    color: var(--homepageLines);
    font-family: 'Abhaya Libre', serif;
    font-size: 16px;
    z-index: 100;
    opacity: 0;
    transition: opacity .2s;
    padding: 7px 0px 3px 10px;
    z-index: 10;
}
.title span{
    color: var(--green);

}




.landscapeAlert{
    display: none;
}

.footer{
    position: fixed;
    display: none;
    bottom: 0px;
    z-index: 0;
    width: 100vw;
    height: 100px;
    transform: translateY(100px);
    transition: transform .2s;
}
.footer .icon{
    cursor: pointer;
    position: absolute;
    top: 25px;
    left: calc(50vw - 25px);
    width: 48px;
    height: 48px;
    border-radius: 24px;
    opacity: 1;
    border: var(--white) 1px solid;
    transition: transform .4s, opacity .2s, background-color .1s;
}
.footer .icon:hover{
    background-color: var(--light);
}
.footer .icon:active{
    background-color: var(--white);
}
.footer .mailIcon{
    transform: translateX(-80px);
}
.footer p{
    position: absolute;
    color: var(--white);
    left: calc(50% - 40px);
    top: 0px;
    font-family: 'Roboto Mono', monospace;
    opacity: 0;
    z-index: 0;
    transition: opacity .2s;
    width: 140px;
    height: 100px;
    line-height: 100px;
    margin: 0px;
}
.footer .phoneIcon{
    transform: translateX(80px);
}
.mailIcon .iconSVG{
    position: relative;
    transform: scale(1.2);
    top: calc(50% - 7px);
    left: calc(50% - 9px);
}
.phoneIcon .iconSVG{
    position: relative;
    transform: scale(1.2);
    top: calc(50% - 10px);
    left: calc(50% - 6px);
}
.meIcon .iconSVG{
    position: relative;
    transform: scale(1.2);
    top: calc(50% - 10px);
    left: calc(50% - 8px);
}
.footer .close{
    position: relative;
    opacity: 0;
    transform: translateX(140px) translateY(100px);
}
.footer .close::before{
    content: " ";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    top: 23px;
    left: 12px;
    transform: rotate(45deg);
}
.footer .close::after{
    content: " ";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    top: 23px;
    left: 12px;
    transform: rotate(-45deg);
}
.footer .copyRight{
    position: absolute;
    color: var(--white);
    opacity: 1;
    top: 20px;
    left: 20px;
    width: auto;
    font-size: 14px;
}
.footer .piotrjuras{
    position: absolute;
    color: var(--white);
    opacity: 1;
    top: 20px;
    right: 20px;
    width: auto;
    font-size: 14px;
    text-align: end;
    z-index: -1;
}
.footer .piotrjuras span{
    color: var(--green);
}

.footer a{
    color: white;
    text-decoration: none;
}


















@media only screen and (max-width: 700px) {
    .button:hover{
        color: var(--white);
        background-color: transparent;
    }
    .button:hover .arrow{
        background-color: var(--white);
    }
    .button:hover .arrow:before{
        background-color: var(--white);
    }
    .button:hover .arrow::after{
        background-color: var(--white);
    }
    .button:active{
        color: var(--white);
        transform: translate(0px);
    }
    .landscapeAlert{
        display: none;
    }
    .title{
        /* position: sticky; */
        width: calc(100vw - 10px);
        /* top: 0px; */
        background-color: var(--background);
    }
    .footer .copyRight{
        display: none;
    }
    .footer .piotrjuras{
        display: none;
    }

}

@media only screen and (max-width: 900px) and (max-height: 900px) and (orientation: landscape){
    .landscapeAlert{
        background-color: var(--background);
        display: block;
        position: fixed;
        width: 100vw;
        height: 100vh;
        color: var(--white);
        text-align: center;
        z-index: 12;
    }
    .landscapeAlert p{
        position: absolute;
        bottom: 50px;
        width: 100vw;
        font-family: 'Roboto Mono', monospace;
        text-align: center;

    }
    .landscapeAlert img{
        position: absolute;
        top: calc(50vh - 320px);
        left: calc(50vw - 322px);
        transform: scale(0.2);
        margin:0px;
    }
    .homepageScreen{
        display: none;
    }
    .aboutScreen{
        display: none;
    }
    .skillsScreen{
        display: none;
    }
    .portfolioScreen{
        display: none;
    }
    .contactScreen{
        display: none;
    }
    .footer{
        display: none;
    }
}