* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
    line-height: 1.5;
    margin-bottom: 20px;
}

body {
    background-color: black;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

.container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    color:black;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: black;
    font-family: Tahoma, Verdana, sans-serif;
    position: sticky;
    top: 0;
    z-index: 99;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background-color:black;
    color: #BFC9D1;
    font-family: Tahoma, Verdana, sans-serif;
    padding: 0;
    margin: 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    border-radius: 12px;

}

.logo {
    margin: 1rem;
    flex-shrink: 0;
    height: 150px;
    width: 150px;
}

.nav {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 18px;
}

.nav-link {
      color: #1B3C53;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    box-shadow:#BFC9D1 -2px 0 2px;
    padding-top: 20px;
}

h1 {
    font-size: 26px;
}

.content {
    background-color:#BFC9D1;
    color: black;
    font-family: Tahoma, Verdana, sans-serif;
    font-size: 24px;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 12px;
    margin-bottom: 20px;
}

.content-img {
    border-radius: 20%;
    padding: 12px;
}


.copyright {
    padding: 1rem;
    justify-content: start; 
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}


ul li a {
  padding: 1rem;
  text-decoration: none;
  color: #BFC9D1;
}

ul li a:hover {
  color: #ff6600;
}

span {
    font-variant: small-caps;
    display: block;
    position: relative;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
    width: 75%;
    margin: auto;
    margin-top: 120px;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px; 
  border: 3px solid black; 
  border-radius: 12px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical
}


input[type=submit] {
  background-color: #1B3C53;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


input[type=submit]:hover {
  background-color: #234C6A;
}


#hamburger {
    display: inline-block;
    cursor: pointer;
    border: none;
    width: auto;
    height: auto;   
    min-width: 50px;
    background-color: black;
    color: #ff6600;
    fill: #ff6600;
    text-decoration: none;
    margin-right: 1rem;
}

.carousel {
    display: flex;
    flex-direction: column;
}

.carousel-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    height: auto;
    width: 80%;
    max-width: 600px;
    overflow: hidden;
}

.carousel-wrapper {
    height: 60vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    transition: transform 0.5s ease;
    position: relative;
}

.carousel-wrapper > img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-position:center;
    object-fit:fill;
}

.carousel-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    
}

.nav-button {
    margin-bottom: 40px;
}

@media (min-width: 768px) { 

    #hamburger { 
        display: none; 
        }

    .nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem; 
        padding: 0;
        margin: 0;
        font-family: Tahoma, Verdana, sans-serif;
        font-size: 18px;
    }

    .nav.active { left: 0; }

    .sidebar {
        display: none;
    }

    h1 {
    font-size: 32px;
    padding: 0;
    margin: 0;
    }

    .contact-form {
    width: 40%;
    margin: auto;
}
}

@media (max-width: 400px) {

    .sidebar {
        width: 100%;
    } 

    h1 {
    font-size: 22px;
    padding: 0;
    margin: 0;
    }
}