/* General Styles */ 
html, body {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    height:100%;
    background-color: #fbfafe; /* Light gray background */
    scroll-behavior: smooth;
    overflow-x: hidden;
}



/* Navbar */
.navbar {
    background-image: linear-gradient(to right, #a02a4e, #290863);
    padding: 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0% 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    width: 8vh;
    height: 8vh;
    font-size: 1.5rem;
    font-weight: bold;

}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: x-large
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size:1rem;
}

#homebutton {
    float: left;
}

.nav-links a:hover {
    color: #FBBF24; /* Darker yellow */
}



/* Hero Section with Animations */
.hero {
    height: 200%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

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


.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10%;
    color: white;
}

.hero-content h2 {
    font-size: 250%;
    font-weight: bold;
}

.hero-content p {
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Upgraded Buttons */
.cta-button {
    display: inline-block;
    background-color: #ebe00b; /* Yellow */
    color: black;
    padding: 12px 24px;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #FBBF24; /* Darker yellow */
    transform: scale(1.05);
}


@media screen and (max-width: 500px) {
    .nav-links {
        font-size:100%;
        text-align: left;
        margin-right:15%;
    }

    .nav-links li {
        margin-left:5%;
    }

    .nav-links a {
        font-size:70%;
        font-weight:10%;
    }

    .logo {
        right:20%;
    }

    .backimage {
        width:100%;
    }
}

/* Sections */
.section {
    height: 30%;
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fbfafe;
    animation: slideUp 1.5s ease-in-out;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}



.section p {
    margin-top: 10px;
    color: #0759ab; /* Gray */
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #3a3263;
    color: white;
    text-align: center;
    padding: 1rem;
    bottom: 0;
    width: 100%;
 
 }

 .container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

.containers {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height:100%;
}

main {
    flex: 1;
    padding-top: 10vh; /* Offset for fixed navbar */

}

#nothomesection {
    animation: fadeIn 1.5s ease-in-out;
    padding: 0rem 0rem;
    font-size:3vh;
}

#nothomesection p {
    font-size: 1.4rem;
    max-width: 100%;
}

#title {
    font-size: 4rem;
}


#leftparts {
    float:left;
    position:relative;
    width:100%;
    height:75vh;
}

#leftparts p {
    text-align: left;
    font-size:1.1rem;
    margin-right:50%;
    margin-left:15%;
    margin-top:1vh;

}

#topleftparts {
    float:left;
    position:relative;
    width:100%;
    height:50vh;
}

#topleftparts p {
    text-align: left;
    font-size:1.1rem;
    margin-right:50%;
    margin-left:15%;
    margin-top:1vh;
    margin-bottom:0%;

}


.leftpartsimage {
    width: 20%;
    height: auto;
    float: right;
    position: absolute;
    right: 20%;
    top: 15%;
    border-radius: 10% 10% 10%;
    border: 0.5vh solid #333333;
    margin-top:3vh;
    margin-bottom:15vh;
}

.topleftpartsimage {
    width: 15%;
    height: auto;
    float: right;
    position: absolute;
    right: 20%;
    top: 15%;
    border-radius: 10% 10% 10%;
    border: 0.5vh solid #333333;
    margin-top:0vh;
    margin-bottom:20vh;
}

#rightparts {
    position: relative;
    float:right;
    width:100%;
    height:55vh;
}

#rightparts h1 {
    margin-top:0%;
}

#leftparts h1 {
    margin-top:0px;
}

#rightparts p {
    text-align: right;
    margin-left:50%;
    font-size:1.1rem;
    margin-right:15%;
    margin-top:3vh;
}
.rightpartsimage {
    width: 16%;
    height: auto;
    float: left;
    position: absolute;
    left: 20%;
    top: 15%;
    border-radius: 10% 10% 10% 10%;
    border: 0.5vh solid #333333;
    margin-top:0vh;
    text-align:right;
}
#leftpart {
    text-align: left;
    margin-left: 20%;
    float:left;
    position: relative;
    padding: 4rem;
    width:100vw;
}

#leftpart p {
    text-align: left;
    margin-left: 3%;
    font-size: 2.7vh;
    margin-right: 50vw;
}
.leftpartimage {
    width: 8vw;
    height: 23vh;
    float: right;
    position: absolute;
    right: 26vw;
    top: 10vh;
    border-radius: 10% 10% 10%;
    border: 0.5vh solid #333333;
}

.owentit {
    width:90vw;
    margin-right:130vw;
}

#rightpart {
    text-align: right;
    margin-right: 20%;
    float:right;
    position: relative;
    width:100vw;
}

#rightpart p {
    text-align: right;
    margin-right: 3%;
    font-size: 2.7vh;
    margin-left:60vw;
}
.rightpartimage {
    width: 30%;
    height: 50%;
    float: left;
    position: absolute;
    left: 26%;
    top: 30%;
    border-radius: 10% 10% 10% 10%;
    border: 0.5vh solid #333333

}

#solimage {
    width: 13%;
    height: 55%;
    right:34%;
    top: 22%;
    position: absolute;
}



#jamieimage {
    width: 12.5%;
    height: 52%;
    margin-left:15%;
    top: 30%;
    position: absolute;
}

#owenimage{
    width: 13%;
    height: 68%;
    right: 35%;
    top: 28%;
    margin-right:0vw;
    margin-left:150vw;
    position: absolute;
}



#hannahimage {
    width: 16%;
    height: 60%;
    left: 40%;
    top: 30%;
    position: absolute;
}



#janetimage {
    width: 8vw;
    height: 25vh;
    left: 40vw;
    top: 7vh;
}
#beximage {
    width: 14vw;
    height: 25vh;
    right: 20vw;
    margin-right: 15vw;
    top: 9vh;
    position:absolute;
}

#leftpar {
    position: relative;
    width:100%;
    height:60vh;
    float:left;
    text-align:left;
}

#leftpar p {
    text-align:left;
    font-size: 2.7vh;
    margin-right:50%;
    margin-left:0%;
}

.leftparimage {
    width: 30%;
    height: 70%;
    float:right;
    position: absolute;
    right:5%;
    top: 2%;
    margin-top:3%;
    border-radius: 10% 10% 10% 10%;
    border: 0.5vh solid #333333
    
}

@media screen and (max-width: 550px) {
    .leftparimage{
        width:100%;
        height:60%;
        right:0%;
        top:2%;
        margin:0%
    }
    #isaacimage {
        top: 15%;
    }
    #leftpar p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-right:0%;
    }

    #leftpar {
        height: 60%;
    }

    .cont {
        margin-top:40vh;
    }

    .contsa {
        margin-top:50vh;
    }
        
}


#rightpar {
    text-align: right;
    float:right;
    position: relative;
    width:100%;
    height:70vh;
}

#rightpar p {
    text-align: right;
    margin-right:0%;
    font-size:2.5vh;
    margin-left:60%;
}
.rightparimage {
    width: 30%;
    height: 60%;
    float: left;
    position: absolute;
    left: 5%;
    top: 18%;
    border-radius: 10% 10% 10% 10%;
    border: 0.5vh solid #333333
}

@media screen and (max-width: 550px) {
    .rightparimage{
        width:85%;
        height:40%;
        left:10%;
        top:15%;
        margin:0%
    }
    #rightpar p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
    }

    #rightpar {
        height: 90vh;
        text-align:center;
    }

    .conts {
        margin-top:35vh
    }
}


.writing {
    text-align: center;
    background-color: #f5f4f7;
    animation: slideUp 1.5s ease-in-out;
    margin: 0;
    padding: 2%;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display:flex;
    flex-direction:column;
    font-size:2.7vh;
}


.writing p {
    /*margin-top: 10px;*/
    color: #0759ab; 
    margin-left: 10%;
    margin-right: 10%;
    font-size:110%;
}
/*for whole contact section*/
.writings {
    background-color: #fbfafe; /* Light gray background */
    animation: slideUp 1.5s ease-in-out;
    height:100%;
    width:100%;
    margin:10% auto;
    position:relative;
    text-align: center;
    font-size:2.5vh;

}

.writings h1 {
    font-size: 8vh;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/*the boxes on the contact pafe*/
.boxt{
    background-color: #c46fbf;
    position:relative;
    width:23%;
    height:37vh; 
    margin:5%;
    float:left;
    overflow: hidden;
    border-radius:3%;
    text-align:center;
    box-sizing:border-box;
    
}

/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 750px) {
  .boxt {
    width: 90%; /* The width is 100%, when the viewport is 800px or smaller */
    margin-right:25%;
    position:relative;
  }
}

.boxt p {
    text-align: center;
    padding:5%;
}


.writing h1 {
    color:rgb(15, 15, 15);
    font-size: 2rem;
    font-weight: lighter;
}











* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

/* 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;
}

/* 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);
}

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



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

.dot.active {
  background-color: #0759ab; /* Change to your desired active color */
}


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

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

#w1{
    background-image: url("https://wallpapers.com/images/hd/badminton-background-89nho63eiusp9yyc.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
} 

#w2 {
    background-image: url("images/IMG_5737.JPG");
    background-size: cover;
    background-position: center;
    display: flex;
}

#w3{

    background-image: url("images/IMG_5454.JPG");
    background-size: cover;
    background-position: center;
    display: flex;
}

#w4{

    background-image: url("images/IMG_5441.JPG");
    background-size: cover;
    background-position: center;
    display: flex;
}

#w5{

    background-image: url("images/IMG_5741.JPG");
    background-size: cover;
    background-position: center;
    display: flex;
}





hr.gradient {
    height: 3px;
    border: none;
    border-radius: 6px;
    background-image: linear-gradient(to left, #a02a4e, #290863)
  }


@media screen and (max-width: 550px) {

    .section p {
        font-size: 4vh;
        padding-bottom: 10%;
    }
    .rightpartsimage{
        width:70%;
        height:40%;
        left:17%;
        top:20%;
        margin:0%;
        margin-top:3vh;
        right:0%;
    }
    #rightparts p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
        margin-top:55vh;
        margin-right:0%;
        max-width:100%;
        margin-bottom: 0%;
    }

    #rightparts h1 {
        margin-top:0%;
    }

    #leftparts h1 {
        margin-top:0px;
   }

    #rightparts {
        height: 100vh;
        margin-right:0%;
        width:100%;

    }

    .con {
        margin-top:65vh;
    }

    .cona {
        margin-top:48vh;
    }

    .leftpartsimage{
        width:90%;
        height:40%;
        left:5%;
        top:18%;
        margin:0%;
        margin-top:3vh;
    }

    .topleftpartsimage{
        width: 47%;
        height:40%;
        left:25%;
        top:18%;
        margin:0%;

    }


    #leftparts p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
        margin-right:0%;
        max-width:100%;
    }

    #leftparts {
        height: 125vh;
        margin-right:0%;
        width:100%;

    }

    #topleftparts p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
        margin-right:0%;
        max-width:100%;
    }

    #topleftparts {
        height: 90vh;
        margin-right:0%;
        width:100%;
        padding-bottom: 5%;
    }

    .section p {
        font-size: 4vh;
    }
    h1 {
        text-align: center;
    }
    #solimage {
    width: 60%;
    height: 50%;
    margin-left: 18%;
    bottom: 5%;
    top: auto;
    position: relative;
}

#jamieimage {
    width: 50%;
    height: 40%;
    margin-left:20%;
    bottom: 5%;
    top: auto;
    position: relative;
}

#owenimage{
    width: 60%;
    height: 50%;
    left: 25%;
    bottom: 5%;
    top: auto;
    margin: 0;
    position: relative;
}

#janetimage {
    width: 8vw;
    height: 25vh;
    left: 40vw;
    top: 7vh;
}

#hannahimage {
    width: 60%;
    height: 40%;
    left: 20%;
    bottom: 5%;
    top: auto;
    position: relative;
}
#beximage {
    width: 60%;
    height: 50%;
    right: 20%;
    margin-left: 16%;
    bottom: 5%;
    top: auto;
    position: relative;
}

    .rightpartimage{
        width:90%;
        height:40%;
        left:5%;
        top:20%;
        margin:0%;
        margin-top:4vh;
        right:0%;
    }
    .rightpart p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
        margin-top:0;
        margin-right:0%;
        max-width:100%;
    }

    .rightpart h1 {
        margin-top:0%;
    }

    #leftpart h1 {
        margin-top:0px;
   }



    .rightpart {
        height: 60vh;
        margin-left:0;
        width:100%;
        padding: 0rem;
        margin-right: 0;
        margin-top: 10%;
        padding-top: 10%;
    }

    .con {
        margin-top:65vh;
    }

    .cona {
        margin-top:48vh;
    }

    .leftpartimage{
        width:90%;
        height:40%;
        left:5%;
        top:18%;
        margin:0%;
        margin-top:3vh;
    }

    .topleftpartimage{
        width:90%;
        height:40%;
        left:5%;
        top:18%;
        margin:0%;
        margin-top:6vh;

    }


    #leftpart p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
        margin-right:0%;
        max-width:100%;
    }

    #leftpart {
        height: 60vh;
        margin-right:60vw;
        width:100%;
        padding: 0rem;
        margin-left: 0;

    }

    #topleftpart p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
        margin-right:0%;
        max-width:100%;
    }

    #topleftpart {
        height: 100vh;
        margin-right:0%;
        width:100%;

    }



    #owentit{
        text-align: center;
    }
    .leftpart p {
        text-align:center;
        width:100%;
        font-size:1rem;
        margin-left:0%;
        margin-right:0%;
        max-width:100%;
    }

    .leftpart {
        height: 60vh;
        margin-right:60vw;
        width:100%;
        padding: 0rem;
        margin-left: 0;

    }

    .leftpart h1 {
        margin-top: 0px;
    }

    #lastpart {
        height: 20vh;
    }
}

@media screen and (max-height: 1000px) and (min-height: 600px) and (max-width:550px) {
  .cont,.conts {
    margin-top: 40vh;
  }
}






@media screen and (max-width: 390px) {
    #leftpart, #rightpart{
        height: 100vh;
    }
    #jamieimage {
        height: 50%;
    }
    #hannahimage {
        height: 50%;
    }

    #topleftparts {
        height:105vh;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    #leftpar p, #rightpar p  {
        font-size:1.4rem;
    }

    .leftparimage,.rightparimage {
        height:50%;
        width:40%
    }

}