@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes fadeIn {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

html {
    padding: 0;
    margin: 0;
    font-family: 'Noto Sans Display';
	background-image: url("/assets/images/bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    color: #cdd6f4;
    overflow: hidden;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    transition: color 0.25s ease;
}

.wrapper {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.6s ease-out;
}

.main {
    background-color: rgba(24, 25, 38, 0.8);
    border-radius: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
    --webkit-backdrop-filter: blur(1px);
    border: 3px solid rgba(24, 25, 38, 0.35);
    padding: 40px;
    text-align: center;
    max-width: 30vw;
    max-height: 80vh;
    overflow: auto;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

hr {
    max-width: 80%;
}

/* .title:hover {
    background: linear-gradient(-45deg, #f38ba8, #f9e2af,#a6e3a1, #89b4fa);
    color: #1e1e2e;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 5s ease infinite;
} */

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.title {
    color: rgb(215, 224, 254);
    margin: 2%;
}

.subtitle {
    color: rgba(205, 214, 244);
    margin: 3%;
}

#main-content {
    position: relative;
}

.list {
    margin: 1% 0;
    text-align: left;
    display: inline-block;
    width: 85%;
    border: 1px solid rgba(205, 214, 244, 0.5);
    padding: 2% 4%;
    border-radius: 50px;
}

.list-title {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.buttons {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4%;
}

.buttons a svg {
    display: flex;
    max-height: 35px;
    max-width: 35px;
    border-radius: 50%;
    fill: #cdd6f4;
}

.buttons a {
    transition: transform 0.5s ease;
    background: rgba(17, 17, 27, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.4px);
    -webkit-backdrop-filter: blur(4.4px);
    border: 1px solid rgba(17, 17, 27, 0.4);
    border-radius: 50px;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.buttons a:hover {
    transform: scale(150%);
    background: rgba(205, 214, 244, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(205, 214, 244, 0.3);
}

.biglink {
    color: #cdd6f4;
    text-decoration: none;
    background: rgba(17, 17, 27, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.4px);
    -webkit-backdrop-filter: blur(4.4px);
    border: 1px solid rgba(17, 17, 27, 0.4);
    padding: 1% 2%;
    border-radius: 50px;
    margin-top: 1rem;
    transition: transform 0.5s ease;
}

.biglink:hover {
    transform: scale(120%);
    background: rgba(205, 214, 244, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(205, 214, 244, 0.3);
}

.footer {
    font-size: 12px;
    font-weight: bold;
    color: #a6adc8;
}

.footer a:hover {
    color: #89b4fa;
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #1e1e2e;
    overflow: hidden;
    z-index: -2;
}

@media (max-width: calc(1.5 * 100vh)) {
    .main {
        max-width: 40vw;
    }

}

@media (max-width: 768px){
    .main {
        max-width: 90vw;
        max-height: 90vh;
        padding: 0;
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;
    }
    /* .profile-photo img {
        max-width: 80%;
    }

    .profile-photo::before {
        max-width: 80%;
    } */

    section {
        height: 90vh;
        justify-content: center;
        align-items: center;
        align-content: center;
        padding: 0;
        margin: 0;
        scroll-snap-align: center;
    }

    .footer {
        width: 100%;
    }

}

@media (max-height: 1000px) and (orientation: landscape) {
    html {
        overflow: auto;
    }
}
