*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
  }

body{
    background-color: rgb(95, 75, 49);
    font-weight: bold;
    color: #fff;    
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    padding-left: 10%;
    padding-right: 10%;
  }

  .logo{
    color: rgba(213, 236, 109, 0.836);
    font-size: 28px;
  }
  
    span{
     color: rgb(45, 179, 45);
    }

  nav ul li{
     list-style-type: none;
     display: inline-block;
     padding: 10px 20px;
  }
  nav ul li a{
    color: rgb(130, 165, 219);
    text-decoration: none;
    font-weight:bold;
  }
  nav ul li a:hover{
    color: brown;
    transition: 0.3s;
  }

  button{
    border: none;
    background: violet;
    padding: 12px 30px;
    border-radius: 30px;
    color: brown;
    font-weight: bold;
    font-size: 15px;
    transition: .4s;
  }
  button:hover{
    transform: scale(1.2);
    cursor: pointer;
  }
/* Contact us */

.contact-section{
    background: url() no-repeat center;
    background-size: cover;
    padding: 40px 0;
}

.contact-section h1 {
    text-align: center;
    color: #ddd;
}

.border {
    width: 100px;
    height: 10px;
    background: #1F2937;
    margin: 40px auto;
}

.contact-form {
    height: 590px;
    max-width: 600px;
    margin: auto;
    padding: 0 10px;
    overflow: hidden;
}

.contact-form-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0;
    border: 0;
    background: #1F2937;
    padding: 20px 40px;
    outline: none;
    color: #ddd;
    transition: 0.5s;
}

.contact-form-text:focus {
    box-shadow: 0 0 10px 4px #2980b9;
}

textarea.contact-form-text {
    resize: none;
    height: 260px;
}

.contact-form-btn {
    float: right;
    border: 0;
    background: #1F2937;
    color: #fff;
    padding: 12px 50px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.5s;
}

.contact-form-btn:hover {
    background: #2980b9;
}
.contact-section {
    padding: 0;
}

.slider-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85%;
    height: 50vh;
    overflow: hidden;
  }
  
  .slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 75vh;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .slider-container img.active {
    opacity: 1;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .slider-controls button {
    background-color: rgb(33, 201, 89);
    border: none;
    color: black;
    cursor: pointer;
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 16px;
    outline: none;
  }
  
  .slider-controls button.active {
    background-color: #333;
    color: white;
  }
  /* Responsiveness */
  /* Mobile devices */
@media only screen and (max-width: 480px) {
  nav {
    display: block;
    padding: 20px;
  }
  nav ul {
    margin-top: 20px;
    text-align: center;
  }
  nav ul li {
    display: block;
    margin-bottom: 10px;
  }
  .logo {
    font-size: 24px;
    text-align: center;
  }
  button {
    margin: 20px auto;
    display: block;
  }
  .slider-container {
    height: 30vh;
  }
  .slider-container img {
    height: 30vh;
    width: 100%;
  }
  .contact-form {
    height: auto;
  }
}

/* Tablet devices */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  nav {
    padding: 20px;
  }
  nav ul {
    text-align: center;
  }
  nav ul li {
    display: inline-block;
    margin-right: 10px;
  }
  .logo {
    font-size: 24px;
    text-align: center;
  }
  button {
    margin: 20px auto;
    display: block;
  }
  .slider-container {
    height: 50vh;
  }
  .slider-container img {
    height: 50vh;
    width: 100%;
  }
}

/* Desktop devices */
@media only screen and (min-width: 769px) {
  nav {
    padding: 40px;
  }
  nav ul {
    text-align: center;
  }
  nav ul li {
    display: inline-block;
    margin-right: 20px;
  }
  .logo {
    font-size: 28px;
    text-align: center;
  }
  button {
    margin-right: 20px;
  }
  .slider-container {
    height: 75vh;
  }
  .slider-container img {
    height: 75vh;
    width: 50%;
  }
}
