@import url("./base.css");

.model {
    position: fixed;
    top: 0;
    right: -25%;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

@media (max-width: 900px) {
    .model {
        right: -20%;
        width: 120vw;
        opacity: 0.8;
    }
}

@media (max-width: 600px) {
    .model {
        right: -15%;
        width: 130vw;
        height: 100vh;
        top: 0;
        opacity: 0.7;
    }
}

body {
    background-color: rgb(220, 220, 220);
    color: rgb(0, 0, 0);
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(50vh - 6rem);
}

.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.tag-box .tag {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s ease;
    cursor: pointer;
}

.tag-box .tag:hover {
    color: #5300a0;
    background-color: rgb(6, 6, 6);
}

.content h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px gray;
}

.description {
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    max-width: 35rem;
    color: gray;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    cursor: pointer;
}

.btn-git {
    text-decoration: none;
    border: 1px solid #2a2a2a;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    transition: background-color 0.2s ease;
}

.btn-git:hover {
    background-color: #1a1a1a;
}

.resume {
    text-decoration: none;
    background-color: lightgray;
    color: black;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    transition: background-color 0.2s ease;
}

.resume:hover {
    background-color: gray;
}

.container > .profile {
    position: absolute;
    right: 15%;
    top: 38%;
    max-width: 22rem;
    z-index: 1;
    animation: profile-animation 6s ease-in-out infinite alternate;
}

@keyframes profile-animation {
    to {
        transform: translateY(-4px) scale(1.01);
    }
}

@media (max-width: 1300px) {
    header {
        padding: 1rem 0.5rem;
    }
    .container > .profile {
        right: 5%;
        max-width: 18rem;
    }
    .content {
        margin-left: 5%;
    }
    .content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .container > .profile {
        position: relative;
        right: auto;
        top: auto;
        margin: 2rem auto 0;
        max-width: 16rem;
    }
    .content {
        margin-left: 2%;
        max-width: 100%;
    }
    main {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0.1rem;
    }
    .buttons {
        flex-direction: column;
    }
    .buttons a {
        width: 100%;
        text-align: center;
    }
    .tag-box {
        width: 100%;
        max-width: 18rem;
    }
    .content h1 {
        font-size: 2.5rem;
    }
    .description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2rem;
    }
    .btn-git,
    .resume {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
    .container > .profile {
        max-width: 12rem;
    }
}

