/*reset*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/*nav*/
div:has(> .side-nav) {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.side-nav {
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}


ul li {
    width: fit-content;
    border-radius: 10px;
    padding: 5px 10px 5px 5px;
}

ul li.active {
    border: 2.5px solid black;
}

ul {
    margin-right: 20px;
    gap: 18px;
    display: flex;
    flex-direction: column;
}

ul li a{
    text-decoration: none;
    list-style-type: none;
    color: black;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 14px;
    gap: 8px;
}

ul li {
    list-style-type: none;
}

ul li img {
    width: 30px;
}

/* allpage */
.page {
    display: flex;
    height: 100vh;
    margin: 0 auto;
}

/*page1*/
.page1 {
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    height: 100vh;
}

.container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.outer {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rotatingtxt {
    border: 0px solid #ddd;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
}

.rotatingtxt span {
    position: relative;
    animation: animation 10s
    ease infinite;
}

@keyframes animation {
    0%, 100% {
        top: 0;
    }
    20% {
        top: 0;
    }
    25% {
        top: -50px;
    }
    45% {
        top: -50px;
    }
    50% {
        top: -100px;
    }
    70% {
        top: -100px;
    }
    75% {
        top: -150px;
    }
    95% {
        top: -150px;
    }
}

.text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text h1 {
    font-family: 'poppins', sans-serif;
    font-weight: 800;
}

h6 {
    font-size: 16px;
}

.left { 
    border-right: 1px solid black;
    padding-right: 40px;
}

.right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
    justify-content: space-between;
}

div[data-page] {
    display: none;
}

div[data-page].active {
    display: flex;
}

.sosmed {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.sosmed a svg {
    stroke: black;
}

.sosmed a:hover svg {
    stroke: white;
}

.ig:hover{
    background-color: #EB66C8; 
    border: 1px solid #eb7ece;
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}
.x:hover{
    background-color: #58BEFE; 
    border: 1px solid #75c1f0;
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}
.git:hover{
    background-color: #293E4B; 
    border: 1px solid #425d6d;
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.ig {
    border: 1px solid #CBCBCB;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding: 4px;
    width: fit-content;
    height: fit-content;
}

.x {
    border: 1px solid #CBCBCB;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding: 4px;
    width: fit-content;
    height: fit-content;
}

.git {
   border: 1px solid #CBCBCB;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding: 4px;
    width: fit-content;
    height: fit-content;
}

/* page2 */
.page2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-top: 100px;
}

.card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; 
    padding: 20px
}

.cardcard a{
    display: flex;
    flex-direction: column;
    color: black;
    border: 1px solid #A8A7A7;
    border-radius: 30px;
    gap: 18px;
    padding: 18px 18px 30px 18px;
    
    text-decoration: none;
    list-style-type: none;
}

.cardcard a:hover{
    transform: rotate(-1.25deg);
    transition: transform 0.2s ease;
}

.cardcard button {
    background: none;
    width: fit-content;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #A8A7A7;
}

/* page3 */
.page3 {
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.page3 p {
    font-size: 24px;
    color: black;
    margin-bottom: 10px;
    font-weight: 600;
    padding-bottom: 50px;
}

.page3 h1 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.contact-item a{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    color: black;
    font-weight: 600;
    border: 1px solid #CBCBCB;
    border-radius: 10px;
    padding: 8px;
    list-style-type: none;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.c1 a {
    stroke: black;
}
.c1 a svg {
    stroke: black;
}
.c1 a:hover {
    background-color: #69CC7A; 
    border: 1px solid #7cd88b; 
    color: white; 
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.05);
    transition: transform 0.2s ease;
}
.c1 a:hover svg {
    stroke: white;
}

.c2 a{
    color: black;
}
.c2 a svg {
    stroke: black;
}
.c2 a:hover {
    background-color: #EB66C8; 
    border: 1px solid #eb7ece;
    color: white;
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}
.c2 a:hover svg {
    stroke: white;
}

.c3 a{
    color: black;
}
.c3 a svg {
    stroke: black;
}
.c3 a:hover {
    background-color: #58BEFE; 
    border: 1px solid #75c1f0; 
    color: white;
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}
.c3 a:hover svg {
    stroke: white;
}

.contact-item img {
    width: 30px;
    height: 30px;
}

/* responsive */
@media (max-width: 1024px) {
    /* nav */
    div:has(> .side-nav) {
        top: auto;
        right: 0;
        bottom: 20px;
        padding: 18px;
    }
    .side-nav {
        border-right: none;
        border: 2px solid rgba(0, 0, 0, 0.1);
        padding: 8px 15px 8px 15px;
        border-radius: 20px;
    }
    ul {
        display: flex;
        flex-direction: row;
    }

    /* page2 */
    .card {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 864px) {
    /* page1 */
    .container {
        flex-direction: column;
    }
    .left {
        border-right: none;
        border-bottom: 1px solid black;
        padding-bottom: 20px;
    }
    .sosmed {
        padding-bottom: 20px;
    }
}

@media (max-width: 457px) {
    /* nav */
    .side-nav p {
        display: none;
    }
}

@media (max-width: 425px) {
    /* page3 */
    .contact-info {
        flex-direction: column;
    }
}