.container{
    max-width: 840px;
    margin: 0 auto;
}

.container > div{
    margin: 20px auto;
}

.intro{
    text-align: center;
}

.about-grid{
    display: grid;
    grid-template-columns: 50% 50%;
}

@media (max-width: 480px){
    .about-grid{
        grid-template-columns: 100%;
    }
}

.profile-picture{
    width: 150px;
    border-radius: 50%;
    box-shadow: 0 4px 6px 0 rgba(34,60,80, .75);
    transition : all ease-in-out .2s;
}

.profile-picture:hover{
    box-shadow: 0 8px 12px 0 rgba(241,122,3,0.75);
}


.i-am, .i-like{
    text-align: center;
    text-decoration: none;
}

.about-list{
    list-style: none;
    padding: 0;
}

.projects-heading{
    text-align : center;
}

.projects-grid{
    display: grid;
    grid-template-columns: 50% 50%;
}

@media (max-width: 650px){
    .projects-grid{
        grid-template-columns: 100%;
    }
}

.project-image{
    justify-self: center;
    padding : 4%;
    width :300px;
    border-radius: 5px;
    box-shadow: 0 4px 6px 0 rgba(34, 60, 80, .16);
    transition: all ease-in-out .2s;
}

.project-image:hover{
    filter : brightness(.75);
    box-shadow: 0 8px 12px 0 rgba(34,60,80, .16);
}
.project-image-wrapper{
    justify-self:center;
    padding: 4%;
    position : relative;
}

.project-image-wrapper:hover > h4{
    visibility : visible;
}
.project-image-wrapper > h4{
    position : absolute;
    top : 50%;
    left : 50%;
    transform : translate(-50%, -50%);
    color : white;
    visibility : hidden;
    z-index : 2;
    transition : all ease-in-out .2s;
}

.links-and-contact {
    display: grid;
    grid-template-columns: 30% 70%;
    grid: 40px;
}



@media (max-width: 650px){
    .links-and-contact{
        grid-template-columns: 100%;
    }
}

.links{
    padding: 20px;
    background-color: #dee2e6;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-wrapper {
    padding: 20px;
    background-color: #dee2e6;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.links-list{
    list-style: none;
    padding: 0;
}

form{
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
}

form label {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
}


form input[type="email"],
form textarea {
    width: 100%;
    padding: 8px;
    font-size: 15px;
    margin-top: 4px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

form input[type="submit"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #3333FF;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

form input[type="submit"]:hover {
    background-color: #00e5ff;
}

.submit-button-wrapper{
    margin : 20px 0;
    background-color: aqua;
    color: black;
}

.map{
    text-align: center;
}

body {
    font-family: 'Times New Roman', serif;
    background: #adb5bd;
    color: #001f3f;
}



h1, h2, h3, h4 {
    font-family: 'Times New Roman', serif;
}



hr{
    border : 0;
    height : 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0,));
}

  .contact-button-wrapper {
    margin-top: 20px;
    text-align: center;
  }

  .contact-button {
    background-color: #1a202c;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
  }
  

  .contact-button:hover {
    background-color: #2d3748;
    transform: scale(1.05);
  }

  .map-toggle {
    display: none;
  }

  .map-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f9f9f9;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 8px;
    z-index: 999;
  }

  .map-toggle:checked + .contact-button + .map-popup {
    display: block;
  }

  .close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    color: #444;
    cursor: pointer;
    font-weight: bold;
  }

  .close-button:hover {
    color: #000;
  }
