* {
  box-sizing: border-box;
  margin: 0;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
  font-family: 'segoe ui';
  background-image: url("/resume/images/background.gif");
}

.nav {
  height: 50px;
  width: 100%;
  background-color: #F1FFC4;
  color: grey;
  position: relative;
}

.nav > .nav-header {
  display: inline;
}

.nav > .nav-header > .nav-title {
  display: inline-block;
  font-size: 22px;
  color: grey;
  padding: 10px 10px 10px 10px;
}

.nav > .nav-btn {
  display: none;
}

.nav > .nav-links {
  display: inline;
  float: right;
  font-size: 18px;
}

.nav > .nav-links > a {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: grey;
}

.nav > .nav-links > a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.nav > #nav-check {
  display: none;
}

@media (max-width:800px) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
}
.form {
    background-color: white;

    
  
   
    
 
    
    border: 1px solid #ccc;
    border-radius: 8px;
    
    width: 40%;
    margin: auto;
    
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form h2 {
    text-align: center; 
    margin-bottom: 20px; 
}

.image {
    display: flex;
    justify-content: center; /* Centers the image horizontally */
    align-items: center;
    height: 90vh;           /* Makes the container take the full height of the viewport */
    overflow: hidden;        /* Ensures no scrolling */
    width: 90vw; 
}

/* Image styles */
.image img {
    max-width: 100%;  /* Limits the image width to 80% of the container */
    max-height: 100%;    /* Maintains the aspect ratio */
    object-fit: contain; /* Ensures the image scales properly without distorting */
    margin-left: 10%;  
}

.ajax {
    background-color: white;
   
    border: 1px solid #ccc;
    border-radius: 8px;
    
    width: 40%;
    margin: auto;
    
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
  
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
