@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
    /* list-style: none; */
    background: black;
    color: white;
}


body {
    background: linear-gradient(135deg, #0b0b0b, #1f1f1f);
    color: #f5f5f5;
    font-family: 'Lora', serif;
}


header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    background-color: black;
    padding: 15px 23px;
    color: white;
    /* position: fixed; */
    /* width: 100%; */
}

.logo {
    float: left;
}

span {
    color: red;
}

nav {
    display: flex;
    justify-content: center;
    font-size: 18px;
    flex: 1;
    list-style-type: none;
    /* position: fixed; */


}

ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
}

li {
    padding: 0 20px;

}

li a:link {
    color: white;
    text-transform: uppercase;
}

li a:visited {
    color: whitesmoke;
}

li a:hover {
    color: red;
    cursor: pointer;
}

li a:active {
    color: red;
}

.btn {
    padding: 5px 22px;
    background-color: red;
    color: white;
    font-weight: bold;
}

.btn:hover {
    cursor: pointer;
}

@media screen and (max-width:860px) {
    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 80px;
        left: 100px;
        text-align: center;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

}

/* Style the circular progress bar container */
.progress-circle-container {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 100;
}

/* Style the SVG circle */
/* Style the circular progress bar container */
.progress-circle-container {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 1000;
}

/* Styling the background circle */
.progress-bg {
    stroke: #f3f3f3;
}

/* Styling the actual progress circle */
#progressCircle {
    stroke: #4caf50;
    stroke-dasharray: 251.2;
    /* Circumference = 2 * π * r (r = 40) */
    stroke-dashoffset: 251.2;
    /* Initially set the stroke-dashoffset to 100% of circumference */
    transition: stroke-dashoffset 0.25s;
}

circle {
    stroke-linecap: round;
}



#portfolio {
    height: 70vh;
}

.background {
    position: absolute;
    opacity: 0.4;
    width: 100%;
}

.port {
    display: flex;
    justify-content: center;
}

.text-box {
    width: 40%;
    height: 500px;
    line-height: 27px;
    word-spacing: 6px;
    font-size: 17px;
    margin-left: 30px;
    text-align: justify;
    position: relative;
    top: 100px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.text-box h2 {
    color: red;
    text-align: center;
    margin-bottom: 50px;
}

.text-box p {
    line-height: 29px;
    font-size: 19px;
    line-height: 1.6;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    margin: 85px 0px;
    width: 50%;
}

.row {
    display: flex;
}

.text-box2 {
    width: 35%;
    height: 500px;
    line-height: 27px;
    font-size: 17px;
    text-align: justify;
    position: relative;
    top: 50px;
    right: 150px;
}

.text-box2 h2 {
    color: red;
    text-align: center;
    margin-bottom: 50px;
}

.text-box2 p {
    line-height: 29px;
    font-size: 19px;
    line-height: 1.6;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-box,
.text-box2,
.card {
    animation: fadeIn 0.6s ease-out;
}

.gallery2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    margin: 85px 0px;
    margin-left: 130px;
}

.row {
    display: flex;
}

.card {
    width: 270px;
    height: 270px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 15px;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}