/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;


}

header {
    background-color: #ffcccb;
    color: #fff;
    padding: 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
}

.container {
  position: relative;
  /* Ensure the container has dimensions to accommodate the image */
  width: 100%;
  max-width: 600px; /* Adjust the width as needed */
 

}

.image {
  width: 100%; /* Adjust image size */
  height: auto; /* Maintain aspect ratio */
  display: block;
}

.text-overlay {
  position: absolute;
  top: 50%; /* Position text in the middle vertically */
  left: 50%; /* Position text in the middle horizontally */
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

/* Style for the text */
.text-overlay h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.text-overlay p {
  font-size: 16px;
  margin: 0;
}

#PlaneBack {
    padding: 60px 0px 20px 0px;
    align-items: center;
    height:1200px;


}

#ImageBack img {
    position: relative;
    border-radius: 8px;
    border: 3px solid #ffcccb;
    opacity: 0.5;
}

#ImageBack p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    font-size: smaller;

   
    color: #333;
}

#menu {
    padding-left: 8%;
}

nav ul li a:hover {
    color: #ff6b6b;
}

section {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

h1 {
    font-size: 60px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #ff6b6b;
}

h2 {
    text-align: center;
}

.profile {
    max-width: 250px;
    align-items: left;
    float: left;
    border-radius: 5px;
    border: 3px solid #ffcccb;
    margin-right: 20px;
    flex-direction: row;
    /* Apply circular shape to the image 
    border-radius: 200%;  Makes the image circular */

}

.text {
    font-size: 20px;
    float: left;
    flex-direction: row;
    text-align: left;
}

#text1 {
    text-align: center;
    flex-direction: row;
}

#text1 p {
    padding: 30px 20px 30px;
}

p {
    font-size: 20px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

#more {
    display: inline-block;
    border-radius: 4px;
    background-color: white;
    color: black;
    border: 2px solid #ff6b6b;
}

.btn1 {
    display: none;
    padding: 10px 20px;
    background-color: #ff6b6b;
    color: #fff;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    border-radius: 50px;
    font-size: 18px;
    width: 140px;
}

.btn1:hover {
    background-color: #ffcccb;
}

.btn {
    display: none;
    padding: 10px 20px;
    background-color: #ff6b6b;
    color: #fff;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    border-radius: 50px;
    font-size: 18px;
    width: 120px;
}

.btn:hover {
    background-color: #ffcccb;
}

.doc ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.doc ul li {
    flex: 1 0 300px;
    margin: 20px;
}

.doc ul li h3 {
    margin-top: 10px;
}

.format {
    align-content: center;
    flex-direction: column;
}

.format ul {
    list-style-type: none;
    align-items: center;
    margin: 0;
    padding: 0;

}

.format ul li {
    display: inline;
}

.format ul li a {
    margin: 0 20px;
}

.format1 {
    align-content: left;
    flex-direction: column;
}

.format1 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;

}

.format1 ul li {
    display: inline;
}

.format1 ul li a {
    margin: 0 20px;
}


#table form label {
    padding-top: 10px;

}

#show {
    background-color: antiquewhite;
    height: 720px;

}

#about {
    margin: 10px auto;
    width: 50%;
    display: grid;
    column-gap: 5px;
    text-align: center;
}

.passage ul li {
    flex: 1 0 300px;
    margin: 20px;
    border-style: solid;
    border-radius: 10px;
    border-color: #ff6b6b;
}

.passage ul li video {
    padding: 30px 20px 30px;
}

.passage ul li h3 {
    margin-top: 10px;
}

.passage ul li p {
    padding: 2px 10px 15px;
}

.left {
    align-content: center;

}

.left ul {
    list-style-type: none;
    margin: 0;
    padding-left: 11%;
    display: flex;
    flex-wrap: wrap;
}

.left ul li {
    flex: 1 0 300px;
    margin: 20px;
}

.left ul li p {
    text-align: left;
}

.left ul li h1 {
    text-align: left;
}

#right {
    padding-left: 10%;
    padding-top: 6%;
}

#home {
    height: 720px;

}

.project ul {
    /* CSS for portfolio page */
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.project ul li {
    flex: 1 0 300px;
    margin: 20px;
    inline-size: none;

}

.projects ul li iframe {
    object-fit: cover;
    padding: 30px 20px 30px;
}

.container {
    height: 655px;
}

.container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.container ul li {
    flex: 1 0 300px;
    margin: 20px;
    border-style: solid;
    border-radius: 10px;
    border-color: #ff6b6b;

}

.container ul li img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    padding: 30px 20px 20px;
    border-color: #ffffff;
}

.container ul li video {
    padding: 30px 20px 30px;
}

.container ul li h3 {
    margin-top: 10px;
}

.container ul li p {
    padding: 2px 10px 15px;
}

.passage {
    text-align: left;
}

input[type=text],
select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit] {
    width: 100%;
    background-color: #ffcccb;
    color: #333;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #ffcccb;
}


#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    color: #ffcccb;
    opacity: 0.6;
    width: 50px;
}

.arrow {
    border: solid rgb(255, 255, 255);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

/* Formatting for footer     
footer {
    background-color: #ffcccb;
    color: #333;
    padding: 10px;
    align-content: center;
    margin: 2px auto 0 auto;
    
    
}
footer p {
    margin: 0;
    text-align: center;
}*/
.footer {
    margin: 2px auto 0 auto;
    color: #333;
    background-color: #ffcccb;
    padding: 10px;
}


/* Example CSS for styling the image button */
a img {
    width: 50px;
    /* Adjust the width as needed */
    height: auto;
    /* Maintain aspect ratio */
    border: 2px solid #ffffff;
    /* Add a border */
}

a img:hover {
    cursor: pointer;
    /* Change cursor style on hover */
    opacity: 0.8;
    /* Change opacity on hover */
    /* Add more hover effects if needed */
}

#show {
    box-sizing: border-box;
}

.mySlides {
    display: none;
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* 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;
}

/* The dots/bullets/indicators */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


@media only screen and (max-width: 768px) {
    header {
        padding: 15px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    #PlaneBack {
        padding: 30px 0;
    }

    #ImageBack img {
        max-width: 100%;
        height: auto;
    }

    #ImageBack p {
        padding: 20px 10px;
    }

    .profile {
        float: none;
        margin-right: 0;
    }

    .text {
        text-align: center;
    }

    .btn1,
    .btn {
        display: inline-block;
        width: 100%;
        margin-top: 10px;
    }

    .left ul {
        padding-left: 0;
    }
}

/* Additional adjustments for even smaller screens if needed */
@media only screen and (max-width: 480px) {
    header h1 {
        font-size: 24px;
    }

    nav ul li a {
        margin: 0 5px;
    }

    section {
        padding: 20px;
    }

    .left ul li {
        flex: 1 0 100%;
    }

    .container ul li {
        flex: 1 0 100%;
    }
}
