@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@500;600&family=Tilt+Warp&display=swap');


:root {
    --modal-duration: 1s;

    --primary-color: #30336b;
    --second-color: #E966EB;

}

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

body {
    font-family: 'Golos Text', sans-serif;
    transition: transform 0.3s ease;
    background-color:  antiquewhite;
}

body.show-nav {
    transform: translate(200px);
}

h2 {
    text-align: center;
}

nav {
    background-color: var(--primary-color);
    border-right: 10px solid antiquewhite;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    z-index: 100;
    transform: translateX(-100%);

    text-align: center;
}

nav .logo{
    padding: 30px 0;
    text-align: center;
}

nav .logo img{
    width:80px;
    height: 80px;

    padding-bottom: 30px;
    border-bottom: 2px solid antiquewhite;
    /* border-radius: 50%; */
}


nav ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
    font-size: 20px;
}

nav ul a {
    color: antiquewhite;
    text-decoration: none;
}

nav ul a:hover {
    background-color:  antiquewhite;
    color:  #30336b;
    text-decoration: none;
}

header {
    background-color: var(--primary-color);
    color: antiquewhite;
    position: relative;
    padding: 40px 15px;
    text-align: center;
}

header h1 {
    margin: 0;
}

header p {
    margin: 30px 0;
}

button, input[type="submit"] {
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Golos Text', sans-serif;
}


/* buttons */
.toggle-btn {
    background-color: antiquewhite;
    position: absolute;
    top: 20px;
    left: 20px;
  
  }

.signup-btn {
    background-color: antiquewhite;
    padding: 12px 30px;
    font-size: 14px;
  }

.container {
    padding: 15px;
    margin: 0 auto;
    max-width: 100%;
    width: 800px;
  }

.modal-container {
background-color: rgba(0, 0, 0, 0.6);
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}

.modal-container.show-modal {
    display: block;
}

.modal {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    width: 400px;
    animation-name: modalopen;
    animation-duration: var(--modal-duration);
  }

  .modal-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
  }
  
  .modal-header h3 {
    margin: 0;
    border-bottom: 1px solid #333;
  }
  
  .modal-content {
    padding: 20px;
  }
  
  .modal-form div {
    margin: 15px 0;
  }
  
  .modal-form label {
    display: block;
    margin-bottom: 5px;
  }
  
  .modal-form .form-input {
    padding: 8px;
    width: 100%;
  }
  
  .close-btn {
    background: transparent;
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
  }
  
  @keyframes modalopen {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }