:root {
    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Ubuntu", sans-serif;
    --primary-color: #ffbf68;
    --secondary-color: #cbf4f0;
}

html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-family: var(--font-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 191, 104, 0.8);
    backdrop-filter: blur(5px);
}

.navbar__wraper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: auto;
    padding: 20px;
}

.navbar__logo {
    font-size: 20px;
    font-weight: 600;
}

.navbar__menu--item {
    transition: 0.5s all;
    background-color: white;
    height: 2px;
    width: 18px;
    margin: 4px 0;
    display: block;
}

.navbar__list {
    display: flex;
    gap: 50px;
}

.navbar__item {
    color: black;
    text-decoration: none;
}

.navbar__item--hover:hover {
    transform: scale(1.2);
    transition: 0.3s ease-in-out;
}

.navbar__item--active {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

/* Slideshow container */
.slideshow__container {
    max-width: 1440px;
    margin: auto;
    position: relative;
}

.slideshow__item {
    display: none;
}

.slideshow__background {
    background-image: url("../images/background.png");
    background-size: cover;
    background-position: center;
    height: 52rem;
    position: relative;
}

.slideshow__wraper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    width: 80%;
    margin: auto;
}

.slideshow__content {
    color: #f2f2f2;
    text-align: left;
    width: 50%;
}

.slideshow__title {
    font-size: 100px;
    font-weight: bolder;
    margin-bottom: 10px;
}

.slideshow__button {
    background-color: var(--secondary-color);
    border: none;
    font-weight: 600;
    padding: 15px 30px;
    margin-top: 40px;
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

/* About me */
.about__container {
    padding: 5rem 0;
}

.about__title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.about__paragraph {
    text-align: center;
    max-width: 50rem;
    padding: 0 10px;
    margin: auto;
    letter-spacing: 2px;
    line-height: 25px;
}

/* Skills */
.skills__container {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.skills__title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.skills__wraper {
    display: flex;
    flex-wrap: wrap;
    gap: 15rem;
    justify-content: center;
    align-items: center;
}

.skills__card {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skills__image {
    height: 150px;
    display: flex;
    justify-content: center;
    transition: 0.5s all;
}

.skills__image:hover {
    transform: scale(1.1);
}

.skills__card--title {
    font-size: 18px;
    font-weight: 600;
}

.skills__card--button {
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    background-color: var(--primary-color);
    cursor: pointer;
}

.skills__card--button:hover {
    transform: scale(1.1);
    transition: 0.5s ease-in-out;
}

/* Contact */
.contact__container {
    padding: 5rem 0;
}

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

.contact__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact__paragraph {
    margin: auto;
    letter-spacing: 1px;
    line-height: 25px;
}

.contact__wraper {
    display: grid;
    gap: 50px;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    max-width: 1240px;
    margin: auto;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0 40px 0;
    background-color: #333333;
    margin-top: 50px;
}

.footer__copyright {
    color: white;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .navbar__menu {
        display: flex;
    }

    .prev,
    .next,
    .text {
        font-size: 11px;
    }

    /* Caption text */
    .text {
        font-size: 18px;
    }

}