@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
    margin: 0;
    padding: 0;
    /*border: 5px solid;*/
}

.p1 {
    color: red;
}

.nav {
    background-color: darkgray;
    height: 100%;
    display: flex;
    justify-content: space-between;
    font-family: Roboto;
    align-items: center;
}

.nav-title {
    color: navy;
    margin: 10px;
}

.welcome {
    color: rgb(100, 0, 53);
    margin: 10px;
}

.nav-links {
    display: flex;
    justify-content: right;
    color: whitesmoke;
    width: 100%;
    height: auto;
    padding-right: 10px;
}

.active {
    color: whitesmoke;
    font-weight: bold;
}

.btn {
    text-decoration: whitesmoke;
    background-color: lightseagreen;
    border-color: black;
    height: 30px;
    font-size: 15px;
    color: whitesmoke;
    z-index: 1000;
    position: relative;
}

.btn:hover, .sendemailbutton {
    opacity: 1;
}

.forul {
    display: flex;
    justify-content: flex-end;
}

.forli {
    text-decoration: whitesmoke;
    padding: 10px 10px;
    list-style-type: none;
    align-items: center;
}

a {
    color: blue;
    text-decoration: none;
}

.a1{
    padding: 10px;
}

.dropbtn1 {
    background-color: lightslategray;
    color: black;
    padding: 2px;
    font-size: 13px;
    font-weight: bold;
}

.dropdown-content {
    position: absolute;
    background-color: lightgrey;
    min-width: 150px;
    display: none;
    z-index: 1;
    font-size: 13px;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: lightslategrey;
    color:lightgray;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .dropbtn1 {
    background-color: grey;
}

.table-container {
    height: 100%;
    overflow-y: scroll;
}

thead tr{
    position: sticky;
    top: 0;
    background-color: lightgrey;
    z-index: 100;
}

/*index*/
.main_container{
    display: flex;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    background-color: yellow;
}

.menu{
    background-color: lightgray;
    height: 100%;
    width: 30%;
    overflow-y: auto;
    text-align: center;
    position: fixed;
}

.main{
    height: 100%;
    width: 70%;
    padding-left: 30%;
}

li{
    list-style-type: none;
    margin: 30px;
}

section {
    padding: 60px 20px;
    height: 680px;
    border-bottom: 1px solid #eee;
}

#home, #clients, #certifications, #photography { background-color: #f4f4f4;}

#about, #skills, #workexperience, #contact { background-color: #e0e0e0; overflow-y: scroll;}

#services, #education, #portfolio { background-color: #c7c7c7;}

#home {
        background-image: url('/static/image/loveu.jpg');
        background-size: contain; /* Adjust as needed */
        background-position: left; /* Adjust as needed */
        z-index: -1; /* Place the pseudo-element behind the content */
    }

.login {
        background-image: url('/static/image/sunlight_tree.png');
        background-size: fill; /* Adjust as needed */
        background-position: right; /* Adjust as needed */
        z-index: -1; /* Place the pseudo-element behind the content */
    }

a.menulink:hover, .sales {
    color: white;
}

a.menulink2:hover {
    color: purple;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    width: 5%;
    margin-top: 2%;
    color: rgb(85, 212, 168);
    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;
}

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

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next {font-size: 11px}
}

.send_email textarea {
    width: 100%;
    height: 30%;
    font-size: medium;
}

.send_email label, input {
    font-size: medium;
    width: 100%;
}

.sendemailbutton{
    width: 150px;
}

.profile_pic {
    width: 40%; /* Make the container full width */
    height: 20%;
}

.image-container img {
    width: 30%;
    height: auto;
    object-fit: contain;
    padding: .5px;
}

/* Styles for smaller screens (e.g., phones) */
@media screen and (max-width: 767px) {
    body {
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .main-container .main .nav #c {
        width: 100%; /* Make the container full width */
    }

    .send_email {
        width: 50%; /* Make the container full width */
    }
}

.welcomehome {
    color: darkgoldenrod;
    margin-top: 0px;
}

.contactme {
    display: flex;
    justify-content: space-evenly;
}

.life {
    width: 2%;
    height: 2%;
}

.contactme img {
    width: 80%;
    object-fit: contain;
}

.fa {
    font-size: 40px;
    width: 100%;
    height: 100%;
}

.fa:hover {
    opacity: 0.7;
}

.image-container img:hover {
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Safari 3-8 */
    transform: scale(1.5);
}

.slideshow-container {
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
}

.small1-td {
    width: 30%;
}

.small2-td {
    width: 70%;
}

.table-buttons {
    display: flex;
    justify-content: left;
}