*{
    margin:0;
    padding:0;
    font-family: sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #f0f0f0;
    color: #000000;
}

dialog{
    z-index: 999;
    height: 80px;
    padding: 50px;
    border-radius: 20px;
    position: fixed;
    top: calc(50% - 50px);
    left: 40%;
}

dialog::backdrop{
    background-color: #0000007e;
}

.header_area {
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #fff;
    color: black;
    transition: background 0.4s, all 0.3s linear;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_area_port {
    position: relative;
    width: 100%;
    height: 60px;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #fff;
    color: black;
    transition: background 0.4s, all 0.3s linear;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    padding: 0 30px;
}

.logo{
   height: 80%;
}

.logo-a{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: black;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height:3px;
    background: #000000;
    position: absolute;
    left:0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}

#header{
    margin-top: 80px;
    width: 100%;
    height: 100vh;
    background-image: url(images/background_copy.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left; 

    position: relative;
}

.container {
    width: 100%;
    height: 100%;
    padding-right: 80px;
    padding-left: 80px;
    position: relative;
}

.header-text{
    position: relative;
    top: 40%;
    font-size: 40px;
    font-weight: bold;
    color: white;
}


.header-text p{
    display: inline-block;
    font-size: 0.5em;
    margin-top: 5px;
    font-weight: normal;
    background-color: black;
    padding: 10px 15px;
    border-radius: 20px;
}

.header-text h2{
    font-size: 2em;
    font-weight: bold;
    text-shadow: 0px 10px 30px rgb(59, 59, 59);
}


/*------------------about---------------------*/
#about{
    padding: 80px 0;
    margin-bottom: 40px;
}
.row{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width:100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}

.about-col-2 p{
    font-size: 18px;
    line-height: 1.6;
    margin-top: 10px;
    margin-right: 30px;
    margin-bottom: 30px;
    font-weight: normal;
    padding: 5px 1px;
    text-align: justify;
}

.fa-brands.fa-linkedin {
    font-size: 50px;
    color: #0061d7;
  }

.fa-solid.fa-envelope{
    font-size: 50px;
    color: #303336;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #000;
}
.tab-titles p{
    display:inline;
    margin-right: 40px;
    font-weight: 600;
    font-size: 25px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 50;
    cursor: pointer;
    position: relative;
}.tab-links::after{
    content:'';
    width: 0;
    height:3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin-top: 20px;
    font-size: 19px;
}

.tab-contents ul li span{
    color: #b54769;
    font-size: 16px;
    font-weight: bold;
    line-height: 3px;
}

.tab-contents ul li span2{
    color: #000000;
    font-size: 19px;
    font-weight: bold;
    line-height: 3px;
}

.tab-contents{
    display:none;
}
.tab-contents.active-tab{
    display: block;
}

/*----------------------------portfolio---------------------------------------*/
#portfolio{
    padding: 90px 0;
    background-color: rgb(34, 33, 33);
    position:relative;
}

#portfolio .container .sub-title {
    color: white
}
.work-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    height: 500px;
    width: 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    object-fit: cover;
}
.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(13, 97, 207, 0.519), #1e1f1f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    font-family: sans-serif;
    transition: height 0.5s;
}

.layer h3{
    font-weight: 500;
    font-size: 30px;
    margin-bottom: 20px;
    color: white;
    font-weight: bold;
    text-shadow: 0px 0px 30px rgb(8, 8, 8), 0px 0px 20px rgb(8, 8, 8);
}

.layer p{
    color: white;
    text-shadow:  0px 0px 20px rgb(8, 8, 8), 0px 0px 20px rgb(8, 8, 8);
}

.layer a{
    margin-top: 20px;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height:100%
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background: #ff004f;
}

.svg-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 20px; /* Adjust margin as needed */
    max-width: 100%;
    flex-wrap: wrap;
}


/* --------------------------GEOG2201 Slider---------------------- */

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 450px;
  position: relative;
  margin: 40px auto;
  margin-bottom: -5px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

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

.prev1, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    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;
}

.next1 {
    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);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  text-shadow:  0px 20px 20px rgb(8, 8, 8), 0px 20px 20px rgb(8, 8, 8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

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

/* @keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
} */

.slideshow-container img{
    display:flex;
    height: 50%;
    width: 80%;
    max-width: 100%; /* Set maximum width to 100% of the container */
    height: auto; /* Maintain aspect ratio while adjusting width */
    display: block; /* Ensure the canvas behaves as a block element */
    margin: 0 auto; /* Center the canvas within its container */
}

.slideshow-container1{
    width:800px;
    position: relative;
    margin: 40px auto;
    margin-bottom: 0px;
}

.slideshow-container2{
    width:450px;
    height: 500px;
    position: relative;
    margin: 40px auto;
    margin-bottom: 80px;
}

.slideshow-container4{
    max-width:400px;
    height: 450px;
    position: relative;
    margin: 40px auto;
    margin-bottom: 20px;
}


.slideshow-container3{
    width:400px;
    height: 500px;
    position: relative;
    margin: 40px auto;
    margin-bottom: 60px;
}

/* -------------------Volunteering-------------------- */

#volunteer{
    width: 100vw;
    position:relative;
    overflow: hidden;
    padding: 30px 50px;
}
.volunteer-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 50px 0;
}

.vol-col-1{
    flex-basis: 50%;
    margin-left: 40px;

}

.vol-col-2{
    flex-basis: 50%;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: flex-start;
}

.volunteer-title{
    font-size: 60px;
    margin: 20px 0;
    margin-top: 80px;
    font-weight: bold;
}

.title-v{

    border-bottom: solid;
}

.sub-title-v{
    font-size: 40px;
    margin-top: -10px;
}

.vol-col-2 span{
    color: #b54769;
    font-size: 20px;
    font-weight: bold;
    line-height: 3px;
}

.slideshow-container-v {
    display:flex;
    width: 100%;
    margin-right: 80px;
    position: relative;

}

.text-v {
    font-size: 24px;
    margin-top:5%;
}


#image-section{
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;


}

.numbertext{
    display:none;
}

/*--------------GEOG3300-----*/

.summary-image{
    width:80vw;
}

.portfolio-summary{
    font-size: 1.2rem;
    margin-left: 9vw;
    margin-right: 9vw;
    margin-bottom: 100px; 
    margin-top: 50px; 
    display:block;
    font-weight: lighter;
}

.portfolio-title{
    margin-top:120px; 
    color: black; 
    text-align: center ;
    margin-bottom: 40px;
}

.summary-label {
    font-weight: bold;
}

#image-section {
    text-align: center; /* Center the images horizontally */
}

#target {
    max-width: 100%; /* Set maximum width to 100% of the container */
    height: auto; /* Maintain aspect ratio while adjusting width */
    display: block; /* Ensure the canvas behaves as a block element */
    margin: 0 auto; /* Center the canvas within its container */
}
/* ---------css for small screens NOPE-------*/
nav .fa-solid{
    display: none;
}
@media (max-width: 600px){
    #header{
        background-image: url(images/background_phone.jpg);
    }

    .container{
        padding-left: 20px;
        padding-right: 20px;
    }
    .work-list{
        grid-template-columns: 1fr;
    } 
    
    .header-text{
        font-size: 22px;
        top:60%;
    }

    .row{
        flex-direction: column;
    }

    .about-col-1{
        margin-bottom: 20px;
    }

    .sub-title{
        text-align: center;
    }

    .volunteer-title{
        text-align: center;
        font-size: 3rem;
    }

    .about-col-2>p{
        text-align: center;
        margin: 20px 0;
    }

    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left:25px;
        cursor: pointer;
    }
    .work img{
        width: 80%;
        margin: 0 auto;
    }
    .volunteer-container{
        flex-direction: column;
    }
    .vol-col-1{
        margin-left: 0px;
    }
    .h1
}
