@font-face {
    font-family: 'alata';
    src: url('src/fonts/Alata/Alata-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'albert_sans';
    src: url('src/fonts/Albert_Sans/AlbertSans-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'archivo';
    src: url('src/fonts/Archivo_Black/ArchivoBlack-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'alata', 'archivio', 'albert-sans';
}

.title {
    font-size: 24px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}


.title::before,
.title::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 2px;
    background-color: black;
    top: 50%;
}

.title::before {
    left: -410px;
}

.title::after {
    right: -410px;
}



/* Front page */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('src/images/frontpage.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero_title{
    font-style: 'archivio';
    color: white;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero_nav{
    font-style: 'alata';
}

.hero_overlay {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

nav a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* About me */

.about_me {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
}

.about_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
    margin-top: 20px;
}

.profile_pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 50px;
    margin-top: -500px;
}

.about_text {
    max-width: 400px;
    font-size: 16px;
    margin-top: 20px;
    font-family: 'albert_sans';
    margin-right: 150px;
}

.about_text p {
    margin-bottom: 20px;
}

.about_subtitle {
    font-family: 'alata';
    margin-top: 30px;
    font-size: 20px;

}

.arrow_icon{
    width: 20px;
    height: 20px;
    text-decoration: none;
    color: black;
}

/* Portfolio */
.portfolio {
    margin: 50px auto;
    text-align: center;
}

.slideshow-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; 
    overflow: hidden;
    margin: 0 auto; 
    padding: 10px;
    width: 100%; 
    max-width: 700px; 
    transition: transform 0.5s ease;
}

.slide {
    width: 200px;
    height: 250px;
    text-align: center;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; 
    margin: 0 10px; 
}

.slide img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0.7867939412092962) 80%, rgba(255, 255, 255, 0) 100%);
    color: rgb(0, 0, 0);
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-family: 'Alata';
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(0, 0, 0);
    border: none;
    font-size: 40px;
    cursor: pointer;
    text-decoration: none;
}

.prev {
    left: 0px; 
}

.next {
    right: 0px; 
}

.dots-container {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: inline-block;
}

.dot.active {
    background-color: black;
}

/* Footer */

.footer {
    background-color: #232121;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    font-family: 'alata';
}

.footer p{
    font-family: 'albert_sans';
}

.footer-section {
    flex: 1;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-section p, 
.footer-section a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-section a:hover {
    text-decoration: underline;
}

.social-container {
    display: inline-block;
    background: white;
    padding: 0px 15px;
    border-radius: 30px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}


