@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Raleway", "Roboto", "Lato", sans-serif;
    font-weight: 400;
    padding: 3rem;
    box-sizing: border-box;
    background-color: #161623;
    display: flex;
    flex-flow: column wrap;
}

::selection {
    background: yellowgreen;
}

.bg-shape-circle {
    position: fixed;
    top: 10rem;
    left: 5rem;
    z-index: -5;
    height: 220px;
    width: 220px;
    background: rgb(253,29,29);
    background: linear-gradient(37deg, rgba(253,29,29,1) 0%, rgba(252,176,69,1) 100%);
    border-radius: 50%;
}

.bg-shape-triangle {
    position: fixed;
    bottom: 18rem;
    right: 2rem;
    height: 175px;
    width: 200px;
    z-index: -5;
    background: rgb(0,255,255);
    background: linear-gradient(300deg, rgba(0,255,255,1) 0%, rgba(199,0,255,1) 100%);
    transform: rotate(45deg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.mobile-nav-btn {
    position: absolute;
    top: 3rem;
    right: 3rem;
    color: #fff;
    font-size: 3rem;
    align-self: flex-end;
}

.mobile-nav {
    position: absolute;
    top: 0;
    left: -100%;
    min-width: 100vw;
    min-height: 100vh;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 5;
    transition: all .25s;
}

.mobile-nav.moveInLeft {
    left: 0;
}

.mobile-nav i {
    position: absolute;
    top: 3rem;
    right: 3rem;
    font-size: 3rem;
    color: #fff;
}

.mobile-nav li,
.mobile-nav li a {
    color: #fff;
    list-style: none;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.desktop-nav {
    display: none;
}

.day-info {
    display: none;
    color: #fff;
    font-size: 2rem;
    position: absolute;
    right: 3rem;
    top: 8rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    padding: .5rem 1rem;
    border-radius: 1rem;
}

.day-info div {
    margin-right: 1.5rem;
}
.day-info div:last-child {
    margin-right: 0;
}

.home {
    width: calc(100vw - 6rem);
    height: calc(100vh - 3rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .home-container {
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

.home h1 {
    font-size: 3rem;
    color: #fff;
}

.home h1 span {
    font-size: 4rem;
}

.home .contacts {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 3rem;
}

.home .contacts i {
    font-size: 3.5rem;
    margin-right: 3rem;
    color:rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all .25s;
}

.home .contacts i:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.25);
}

.recent-works {
    padding-top: 5rem;
}

h2.section-header {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.recent-works-card-container {
    display: flex;
    flex-flow: column wrap;
}

.recent-works-card {
    color: #fff;
    font-size: 1.5rem;
    border-radius: .5rem;
    padding: 2rem;
    margin-bottom: 2.5rem;

    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

.recent-works-card:last-child {
    margin-bottom: 0;
}

.recent-works-card a {
    text-decoration: none;
    color: inherit;
}

.recent-works-card .card-img img {
    width: 100%;
    height: 100%;
    border-radius: .5rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.recent-works-card .card-body > div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.recent-works-card .card-title {
    margin-top: 1rem;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.recent-works-card .source-code-tag {
    align-self: flex-end;
    background-color: rgba(255, 255, 255, 0.25);
    padding: .5rem 1.5rem;
    border-radius: 1rem;
    margin-top: .5rem;
    transition: all .25s;
}

.recent-works-card .source-code-tag:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.recent-works-card .card-text {
    margin-top: 1.5rem;
}

.skills {
    padding: 7.5rem 0;
}

.skills-card-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    margin-bottom: 3rem;
}

.skills-card {
    width: 14rem;
    height: 14rem;
    padding: 3.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    /* backdrop-filter: blur(10px); */
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.skills-card img {
    width: 7rem;
    height: 7rem;
    transform: translateZ(35px);
}

.contact-me {
    width: 100%
}

.contact-me-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 5rem 3rem;
    border-radius: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
}

.contact-me-form form {
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2rem;
}

.contact-me-form .form-item {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    margin-bottom: 2rem;
}

.contact-me-form .form-item-label {
    margin-bottom: .5rem;
}

.contact-me-form .form-item input {
    font-size: 2rem;
    width: 100%;
    height: 4rem;
    border: 0;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: .25rem;
    color: #fff;
    font-family: "Raleway", "Roboto", "Lato", sans-serif;
    padding: 1rem;
}

.contact-me-form .form-item textarea {
    font-size: 2rem;
    border-radius: .25rem;
    width: 100%;
    border: 0;
    background-color: rgba(255, 255, 255, 0.25);
    font-family: "Raleway", "Roboto", "Lato", sans-serif;
    color: #fff;
    padding: 1rem;
}

.contact-me-form .form-item input:focus,
.contact-me-form .form-item textarea:focus {
    outline-color: yellowgreen;
}

.contact-me-form .form-item input::placeholder,
.contact-me-form .form-item textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.contact-me-form button {
    margin-top: 2rem;
    padding: 1rem 3rem;
    border: 0;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    font-family: "Raleway", "Roboto", "Lato", sans-serif;
    cursor: pointer;
}

.contact-me-form button:hover {
    transform: translateY(-3px);
}

footer {
    margin-top: 5rem;
    font-size: 1.5rem;
    color: #fff;
}

.go-top-btn {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 50%;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.go-top-btn i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 3rem;
}

.home-container .js-tilt-glare {
    border-radius: 1rem;
}
.recent-works-card .js-tilt-glare {
    border-radius: 1rem;
}
.skills-card .js-tilt-glare {
    border-radius: 50%;
}

@media screen and (min-width: 768px) {
    .mobile-nav-btn,
    .mobile-nav {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }
    .desktop-nav ul {
        min-width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .desktop-nav li {
        list-style: none;
    }
    .desktop-nav li a {
        color: #fff;
        text-decoration: none;
        font-size: 2rem;
        margin-left: 1.5rem;
        padding-bottom: .5rem;
        padding: .5rem 2rem;
        border-radius: 2rem;
        transition: all .25s;
    }
    .desktop-nav li a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        border-radius: 2rem;
    }

    .day-info {
        display: flex;
        margin-right: 2rem;
    }

    .home {
        height: calc(100vh - 6rem - 30px);
    }
    .home .home-container {
        padding: 5rem;
    }
    .home h1 {
        font-size: 5rem;
    }
    .home h1 span {
        font-size: 6rem;
    }

    h2.section-header {
        font-size: 4rem;
    }

    .recent-works-card {
        padding: 3rem;
    }

    .skills-card {
        margin-right: 3rem;
    }
    .skills-card:last-child {
        margin-right: 0;
    }
}

@media screen and (min-width: 1024px) {
    .bg-shape-circle {
        width: 400px;
        height: 400px;
        top: 15rem;
        left: 15rem;
    }
    .bg-shape-triangle {
        width: 350px;
        height: 300px;
        bottom: 20rem;
        right: 5rem;
    }

    .recent-works-card {
        margin-bottom: 4rem;
    }
}

@media screen and (min-width: 1440px) {
    .bg-shape-circle {
        width: 400px;
        height: 400px;
        top: 7.5rem;
        left: 25rem;
    }
    .bg-shape-triangle {
        width: 300px;
        height: 250px;
        bottom: 15rem;
        right: 25rem;
    }

    .recent-works-card-container {
        flex-flow: row wrap;
        justify-content: space-evenly;
    }
    .recent-works-card {
        width: 45%;
    }
    .recent-works-card {
        height: 50rem;
    }
}

@media screen and (min-width: 1920px) {
    .bg-shape-circle {
        width: 450px;
        height: 450px;
        top: 7.5rem;
        left: calc(30% - 10rem);
    }
    .bg-shape-triangle {
        width: 400px;
        height: 350px;
        bottom: 20rem;
        right: 40rem;
    }

    .recent-works-card {
        height: 62rem;
    }
}