/******* GENERAL *******/
html {
    scroll-behavior: smooth;
}

body {
    color: #212529;
    font-family: Verdana, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: #A3C9D1  ;
}

a:hover {
    color: #DED4AD;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #A3C9D1;
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 1rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    color: #ffffff;
    background-color: #000000;
    border-radius: 0.25rem;
}

.skip-link:focus {
    top: 1rem;
}

#about,
#skills,
#portfolio,
#contact {
    margin-top: 4rem;
    padding-top: 4rem;
}

#about h2,
#skills h2,
#portfolio h2,
#contact h2 {
    margin-bottom: 3rem;
}

#contact {
    padding-bottom: 4rem;
}

img {
    max-width: 100%;
    height: auto;
}

.card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbarScroll {
    background-color: rgba(0, 0, 0, 0.78);
}

.navbarScroll.navbarDark {
    background-color: #343a40;
}

.bgimage {
    height: 100vh;
    max-height: 900px;
    min-height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)), url("images/image1.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero_title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.hero_desc {
    font-size: clamp(1.25rem, 4vw, 2rem);
    max-width: 900px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    padding: 0 1rem;
}

.imageAboutPage {
    width: 100%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.skillsText.card {
    min-height: 350px;
}

.skillsText img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.card-title,
#skills p,
#portfolio p {
    text-align: center;
}

.skillsText:hover,
.portfolioContent:hover {
    border-color: #DED4AD;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.portfolioContent img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.btn-success {
    color: #ffffff;
    background-color: #A3C9D1;
    border-color: #A3C9D1;
}

.btn-success:hover,
.btn-success:focus {
    color: #ffffff;
    background-color: #DED4AD;
    border-color: #DED4AD;
}

.contactColumn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contactIcon {
    color: #A3C9D1;
    font-size: 3rem;
    line-height: 1;
}

@media (max-width: 768px) {
    #about,
    #skills,
    #portfolio,
    #contact {
        margin-top: 2rem;
        padding-top: 3rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }
}
