body {
    display: flex;
    flex-direction: column;
    background-color: #5d5d5d; 
    background-image: url('images/backg1.webp'), url('images/backg2.webp');
    background-position: left, right;
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
    background-size: contain;
    background-attachment: fixed;
    margin: 0;
    font-family: Arial, sans-serif;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 824px; 
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #5d5d5d, #6c513e);
}
           
footer a {
    color: white;
    text-decoration: none;
    line-height: 2;
  }
  
  footer a:first-child {
    margin-right: auto;
  }
  
  footer a[href^="javascript"] {
    position: relative;
    color: #000;
    background-color: #fff1f1;
    border-radius: 3px;
    padding: 0 10px;
  }
header {
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-bottom: 20px;
}

.logo h1 {
    margin: 0;
    font-size: 36px; 
    font-weight: bold; 
    text-shadow: 1px 1px 1px rgba(147, 246, 255, 0.5);
}


nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    position: absolute;
    font-weight: bold;
    top: 20px;
    left: 20px;
}


nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: lightgrey;
}

main {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact-form {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form h2 {
    margin-top: 0;
}

.contact-form form {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 22px);
    padding: 5px;
    margin-bottom: 10px;
}

.btn-contact,
button[type="submit"] {
    --color: #0bf8cd;
    --color2: rgb(0, 0, 0);
    padding: 0.8em 1.75em;
    margin: 10px;
    background-color: grey;
    border-radius: 6px;
    border: 1px solid var(--color);
    transition: .5s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    font-weight: 300;
    font-family: 'helvetica', sans-serif;
    text-transform: uppercase;
}

.btn-contact::after,
.btn-contact::before,
button[type="submit"]::after,
button[type="submit"]::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    transform: skew(90deg) translate(-50%, -50%);
    position: absolute;
    inset: 50%;
    left: 25%;
    z-index: -1;
    transition: .2s ease-out;
    background-color: var(--color);
}

.btn-contact::before,
button[type="submit"]::before {
    top: -50%;
    left: -25%;
    transform: skew(90deg) rotate(180deg) translate(-50%, -50%);
}

.btn-contact:focus::before,
button[type="submit"]:focus::before {
    transform: skew(45deg) rotate(180deg) translate(-50%, -50%);
}

.btn-contact:focus::after,
button[type="submit"]:focus::after {
    transform: skew(45deg) translate(-50%, -50%);
}

.btn-contact:focus,
button[type="submit"]:focus {
    color: var(--color2);
}

.btn-contact:active,
button[type="submit"]:active {
    filter: brightness(.7);
    transform: scale(.98);
}
.contact-form fieldset:last-child::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("./images/loader-circles-spin.svg") no-repeat center;
    z-index: var(--z-index, -1);
  }

