html * {
    font-family: 'Karla', sans-serif;
}

.navbar {
    background-color: transparent;
}

.navbar-nav {
    border: 1px solid #ccc;
    border-width: 1px 0;
    list-style: none;
    margin: 20px;
    padding: 0;
    text-align: center;
    background-color: transparent;
}

.nav-item a {
    display: inline-block;
    padding: 15px;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: medium;
    outline: medium;
    background-color: black;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    border-color: red;
}

#myBtn:hover {
    background-color: #555;
}

.Home {
    background-image: url("../imagesAndContent/homeBackground.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}

#homeText {
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/opacity/see-through */
    color: white;
    font-weight: bold;
    border: 3px solid grey;
    width: 80%;
    padding: 20px;
}

.row {
    display: flex;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}

.column {
    flex: 50%;
    padding: 10px;
}

.carousel-item img {
    height: auto;
    max-height: 700px;
}

.hideme {
    opacity: 0;
}

.flip-card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: #bbb;
    color: black;
    z-index: 2;
}

.flip-card-back {
    background-color: #2980b9;
    color: white;
    transform: rotateY(180deg);
    z-index: 1;
}

.skills {
    width: 70%;
    margin: 0 auto;
}

@keyframes load {
    from {
        width: 0%
    }
}

@-webkit-keyframes load {
    from {
        width: 0%
    }
}

@-moz-keyframes load {
    from {
        width: 0%
    }
}

@-o-keyframes load {
    from {
        width: 0%
    }
}

.bar {
    background-color: #ffffff;
    padding: 2px;
    border-radius: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.bar::before {
    content: attr(data-skill);
    background-color: #555;
    display: inline-block;
    padding: 5px 0 5px 10px;
    border-radius: inherit;
    animation: load 2s 0s;
    -webkit-animation: load 2s 0s;
    -moz-animation: load 2s 0s;
    -o-animation: load 2s 0s;
}

.hoverText {
    color: black;
    display: none;
    text-align: center;
}


.bar:hover .hoverText{
    display: block;
}   

.bar.learning::before {
    width: calc(20% - 10px);
}

.bar.basic::before {
    width: calc(40% - 10px);
}

.bar.intermediate::before {
    width: calc(60% - 10px);
}

.bar.advanced::before {
    width: calc(80% - 10px);
}

.bar.expert::before {
    width: calc(100% - 10px);
}

.move-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffeb3b; /* Yellow background */
    color: #000; /* Black text */
    padding: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
    z-index: 9999; /* Ensure it stays on top */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Add subtle shadow */
}

.move-banner a {
    color: #2196F3; /* Blue link color */
    text-decoration: underline;
    margin-left: 8px;
}

.move-banner a:hover {
    color: #1976D2; /* Darker blue on hover */
}

/* Optional close button */
.close-btn {
    position: absolute;
    right: 15px;
    cursor: pointer;
    font-weight: bold;
}

