*{
    margin: 0;
    padding: 0;
    font-family: 'robot', sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #EEE2DC;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
}

header {
    background-color:transparent;
    color: #E3E2DF;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 50px;
}

.active {
    color: #9fb5bd;
}

nav li {
    margin: 0 15px;
    background-color: #EDC7B7; 
    padding: 10px 20px; 
    border-radius: 5px;
}

nav li:hover {
    margin: 0 15px;
    background-color: #E3AFBC; 
    padding: 10px 20px; 
    border-radius: 5px;
}

nav a {
    text-decoration: none;
    color: #AC3B61;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
}

nav a:hover {
    text-decoration: underline;
}
main{
    width: 100%;
    height: 74vh;
}
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #EDC7B7;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    width: 100%;
    max-width: 500px;
    margin: 100px auto;
}

.contact-form h2 {
    font-size: 35px;
    color: #AC3B61;
    margin: 10px 0;
    font-family: 'Times New Roman', Times, serif;
}

.contact-form label {
    font-size: 18px;
    color: #AC3B61;
    margin-top: 10px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 2px solid #AC3B61;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #AC3B61;
    color: #EEE2DC;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 12px;
}

.contact-form button:hover {
    background-color: #E3AFBC;
}

.preloader {
    height: 100%;
    width: 100%;
    background: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    perspective: 1600px;
    perspective-origin: 20% 50%;
    transition: 0.5s all;
    opacity: 1;
  }
  
  .spinner {
    width: 80px;
    height: 80px;
    border: 2px solid #f3f3f3;
    border-top: 3px solid #0088cf;
    border-radius: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: spin 1s infinite linear;
  }
  
  .preloader.fade {
    opacity: 0;
  }
  
  .b-ico-preloader {
    background: url(http://weblaboratory.in.ua/wp-content/themes/graphy/images/new_logo.svg);
    background-size: cover;
    width: 52px;
    height: 67px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: ico 5s infinite linear;
    transform-style: preserve-3d;
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  @keyframes ico {
    from {
      transform: rotateY(0deg);
    }
    to {
      transform: rotateY(360deg);
    }
  }

        /*slide van boven */
        nav, .contact-form{
            animation-name: fallFromTop;
            animation-duration: 2s;
            animation-timing-function: ease-in-out;
            animation-fill-mode: forwards;
            opacity: 0; /* Start hidden */
            transform: translateY(-100%); /* Start off-screen at the top */
        }
        
        @keyframes fallFromTop {
     0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
    }
    footer {
        background-color: #EDC7B7;
        padding: 25px 30px 20px;
    }
     
    
    
        .socialIcons{    
            display: flex;
          justify-content: center;
         
        }
        
        .socialIcons a{
            text-decoration: none;
            padding: 10px;
            background-color: #EEE2DC;
            margin: 10px;
            border-radius: 50%;
    
        }
    
        .socialIcons a i{
            font-size: 2em;
            color: #AC3B61;
            opacity: 0.9;
        }
    
    
        .socialIcons a:hover{
            background-color: #E3AFBC;
            transition: 0.5s;
        }
            
        .socialIcons a:hover i{
            color: #EDC7B7;
            transition: 0.5s;  
        }
    
        .footerNav{
            margin: 5px 0;
        }
    
        .footerNav ul{
            display: flex;
            justify-content: center;
        }
            
        
        .footerNav ul a{
            color: #AC3B61;
            margin: 20px;
            text-decoration: none;
            opacity: 0.7;
            font-weight: bold;
            font-size: 20px;
            font-family: 'Times New Roman', Times, serif;
            margin-left: 20px;
        }
         /*slide van bdeden */
         .socialIcons,.footerNav {
            animation-name: slideFromBottom;
            animation-duration: 3s;
            animation-timing-function: ease-in-out;
            animation-fill-mode: forwards;
            opacity: 0; /* Start hidden */
            transform: translateY(100%); /* Start off-screen at the bottom */
          }
    
        @keyframes slideFromBottom {
            0% {
              opacity: 0;
              transform: translateY(100%);
            }
            100% {
              opacity: 1;
              transform: translateY(0);
            }
          }