@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;700;800;900&display=swap');

    *{        /* Add some padding on document's body to prevent the content
        to go underneath the header and footer */
        margin: 0;
        padding: 0;
        font-family: 'Poppins', sans-serif; /* Set the font family */
    }
    body {
        width: 100vw;
        height: auto;
        background: #ffffff;
        background-attachment: fixed;
        overflow-x: hidden;
        
          }
    header, .footer{
        background: #ffffff;
        padding-top: 10px;
        padding-bottom: 10px;
        color: black;
        left: 0;
    }
    header{
        height: 75px;
        display: flex;
        justify-content: space-between; /* center all the elements inside the header */
        align-items: center; /* ^same thing^ */
        padding: 0;
    }
    .footer{
        width: 100vw;
        position: absolute;
        height: 20px;
        z-index: 0;
        font-size: 15px;
        top: 900px;
    }
    .footer-text {
        padding-left: 10px;
    }
    @media (min-height: 900px) {
        .footer{
            top: 100vh
        }
    }

    .navbar{ /* contains header elements */
        width: 100%;
        margin: 0; /* Center the DIV horizontally */
        display: flex;
        align-items: center;
        height: 82px;
        font-size: 3vw;
    }
    .header-list{
        position: relative;
        flex-grow: 3;
        color: #000000; /* This affects the header & footer text color */
        text-decoration: none;
        padding: 7px 25px; /* Increase the padding to make the buttons bigger */
        display: inline-block;
        background-color: #ffffff; /* Set the background color to a dark gray */
        border: none; /* Remove the border */
        border-radius: 25px; /* Round the edges */
        font-size: 16px; /* Increase the font size */
        cursor: pointer; /* Add a cursor on hover to make it clear that it's clickable */
        transition: background-color 0.5s ease; /* Add a transition effect when hovering over the button */
        margin-right: 20px; /* Add some margin to separate the buttons */
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }
    .header-list:hover{
        background-color: #000000; /* Change the background color on hover */
        color: white;
    }
    #about-me {
        min-width: 76px;
    }
    .dropdown {
        height: 82px;
        width: 106px;
        margin-right: 20px;
    }
    #gallery {
        position: relative;
    }
    /* Dropdown Content (Hidden by Default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f1f1f1;
        width: 135px;
        height: 70px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        margin-top: 15px;
        font-size: 15px;
        font-weight: 300;
        line-height: 0.8;
    }
    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {
        background-color: #ddd;
    }
    /* Show the dropdown menu on hover */
    .dropdown:hover .dropdown-content {
        display: block;
    }
    .logo { /* JS Photo Logo */
        height: 34px;
        text-align: center;
        color: #000000; /* default color for the text */
        transition: color 0.5s ease; /* add a transition effect when hovering */
        box-shadow: none; 
        padding: 0px;
        margin-left: 40px;
        margin-right: 5vw;
        text-decoration: none;
        flex: 1;
        display: flex;
        align-items: center;
    }
    .logop1{
        font-weight: 200;
        font-size: 20px;
        display: inline-block;
        position: absolute;
        line-height: 1;
    }
   span{
    font-weight: 700;
    }
    .logo:hover {
    background-color: transparent;
    color: #ff0000; /* Change the text color on hover */
    text-decoration: none; 
    }
    nav{
        overflow-x: hidden;
        display: flex;
        align-items: center;
        margin-left: 40vw;
        margin-right: 20px;
        height: 72px;
    }
    .img1 {
        position: absolute;
        object-fit: cover;
        width: 100%;
        height: 260px;
        max-height: 300px;
    }
    .contact {
        position: relative;
        float: left;
        max-width: 30%;
        margin-top: 370px;
        margin-left: 10%;
    }
    .contact-me {
        display: inline-block;
        font-size: 70px;
        font-weight: 600;
        line-height: 1;
    }
    .contact-par {
        padding-top: 30px;
        font-size: 16px;
        font-weight: 200;
    }
    .number {
        margin-top: 30px;
        margin-bottom: 4px;
    }
.fn {
    float: left;
    padding-right: 5%;
    width: 47%;
   
}
.ln {
    float: left;
    width: 47%;

}
    /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 7px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 0px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 2px; /* Add a top margin */
  margin-bottom: 10px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    margin-top: 15px;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding: 7px 25px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #000000;
  color: white;
}

/* Add a background color and some padding around the form */
.container {
margin-left: 100px;
float: left;
margin-top: 350px;
  border-radius: 5px;
  background-color: #ffffff;
  padding: 20px;
  max-width: 40%;
  max-height: 500px;
}
.phone {
    width: 10px;
    height: 10px;
}
label {
    font-size: 15px;
}
@media (min-width: 800px) {
    .menu {
        display: none;
    }
    .icon {
        display: none;
    }
    }
@media (max-width: 800px) {
    nav {
        display: none;
    }
    .dropdown {
        display: none;
    }
    .menu {
        width: 40px;
        height: 30px;
        margin-right: 40px;
    }
    .icon {
        width: 100%;
        height: 100%;
        z-index: 0;
    }
     /* Hide the checkbox input */
     .menu-checkbox {
        display: none;
    }

    /* Styling for the menu icon */
    .menu-icon {
        cursor: pointer;
        padding: 10px;
    }

    /* Styling for the sidebar menu */
    .sidebar {
        z-index: 9999;
        position: fixed;
        right: -35vw; /* Off-screen by default */
        top: 0;
        width: 30vw;
        height: 100%;
        background-color: #f2f2f2;
        transition: right 0.3s ease;
        box-shadow: 5px 12px 7px rgba(0, 0, 1, 1);
    }

    /* Show the sidebar when checkbox is checked */
    .menu-checkbox:checked ~ .sidebar {
        right: 0;
    }

    /* Styling for the sidebar menu items */
    .sidebar ul {
        list-style-type: none;
    }

    .sidebar li {
        margin: 20px;   
    }

    .sidebar a {
        text-decoration: none;
        color: #000000;
    }

    /* Overlay to capture clicks outside the sidebar */
    .overlay {
        z-index: 999;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
        pointer-events: none;
        transition: background-color 0.3s ease;
    }

    /* Show the overlay when checkbox is checked */
    .menu-checkbox:checked ~ .overlay {
        background-color: rgba(0, 0, 0, 0.5);
        pointer-events: auto;
    }
}
@media (max-width: 700px) {
    .img1 {
        position: absolute;
        object-fit: cover;
        width: 100%;
        height: 40vw;
        max-height: 300px;
    }
    .contact {
        margin-top: 50vw;
        max-width: 70%
    }
    .contact-me {
        display: inline-block;
        font-size: 13vw;
        font-weight: 600;
        line-height: 1;
    }
    .contact-par {
        padding-top: 30px;
        font-size: 3vw;
        font-weight: 200;
    }
    .container {
        margin-left: 10vw;
        float: none;
        margin-top: 145vw;
        padding: 0;
        max-width: 80%; 
        }
    .number {
        font-size: 3.5vw;
    }
    .email {
        font-size: 3.5vw;
    }
    .footer{
        top: 100px;
        border-top: 1px solid black;
        position: relative;
        height: 25px;
    }
    .submit {
        border: 1px solid black;
    }
    .header-list {
        border-top: 1px solid grey;
    }
    h2 {
        font-size: 10vw;
    }
    .rcp {
        font-size: 3.5vw;
        font-weight: 300;
    }
}
/* Decrease size of logo to properly fit menu icon during mobile viewing */
@media (max-width: 500px) {
    .logop1{
        font-size: 17px;
    }
    span {
        font-size: 17px;
    }
    .icon {
        width: 30px;
        height: 23px;
    }
    .menu {
        width: 35px;
        height: 25px;
        margin-right: 30px;
    }
    /* Styling for the sidebar menu */
    .sidebar {
        z-index: 9999;
        position: fixed;
        right: -45vw; /* Off-screen by default */
        top: 0;
        width: 45vw;
        height: 100%;
        background-color: #f2f2f2;
        transition: right 0.3s ease;
        box-shadow: 5px 12px 7px rgba(0, 0, 1, 1);
    }
    .sidebar a {
        font-size: 5vw;
        text-decoration: none;
        color: #000000;
    }
}
