@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;700&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Lora;
    
}
a{
    text-decoration: none;
    color: whitesmoke;
}
ul{
    list-style: none;
   
}

body , html{
    overflow-x: hidden;
}
.navbar{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 20px;
    color: whitesmoke;
    background: #2c2c2c;
    
    
}

.nav-links{
    display: flex;
    align-items: center;
}

.nav-links li{
    margin: 0 30px;
}
.nav-links li .link{
    padding: 8px 15px;
    border-radius: 30px;
    transition: ease-in-out 0.3s;

}

.nav-links li .link:hover{

    color: #2c2c2c;
    background: whitesmoke;
}

.logo img{
    width: 30vmin;
}
.ctn{
    padding: 8px 15px;
    background: #DA251C;
    border-radius: 30px;
    color: whitesmoke;
    cursor: pointer;
    transition: ease-in-out 0.4s;
}

.ctn:hover{
    color: #DA251C;
    background: whitesmoke;
    /* background: #68130f; */
}

.menubtn{
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    cursor: pointer;
    display: none;
}

section{
    margin: 80px auto;
    width: 100%;
    margin-top: 200px;
}
.main{
    width: 600px;
}

.main h1{
    font-size: 6vmin;
    text-align: center;
    margin-bottom: 10px
}

.line{
    width: 150px;
    height: 4px;
    background: #DA251C;
    margin: 10px auto;
    border-radius: 5px;
}
.main h4{
    font-size: 4vmin;
    color: #5d5d5d;
    margin-top: 30px;
}
.main h3{
    font-size: 4vmin;
    color: #DA251C;
    font-weight: 1200;
    margin-top: 50px;
    font-style: italic;
}

.row{
    display: flex;
    justify-content: space-around;
    width: 100%;

}




.contact {
    padding: 10px;
  }
  
  button {
    overflow: visible;
  }
  
  button, select {
    text-transform: none;
  }
  
  button, input, select, textarea {
    color: #122293;
    font: inherit;
    margin: 0;
  }
  
  input {
    line-height: normal;
  }
  
  textarea {
    overflow: auto;
  }
  
  #container {
    border: solid 3px #122293;
    margin: 0 auto;
    max-width: 650px;
    max-height: 650px;
    /* position: relative; */
    width: 100%;
  }
  
  form {
    padding: 45px;
  }
  
  h2 {
    color: #122293;
    font-size: 5vmin;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    padding: 5px 5px;
  }

  
  .email {
      float: right;
      width: 45%;
  }
  
  input[type='text'], [type='email'], select, textarea {
      background: none;
    border: none;
      border-bottom: solid 2px #122293;
      color: #122293;
      font-size: 1.000em;
    font-weight: 400;
    letter-spacing: 1px;
      margin: 0em 0 1.875em 0;
      padding: 0 0 0.875em 0;
      width: 100%;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
      -o-box-sizing: border-box;
      box-sizing: border-box;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -ms-transition: all 0.3s;
      -o-transition: all 0.3s;
      transition: all 0.3s;
  }
  
  input[type='text']:focus, [type='email']:focus, textarea:focus {
      outline: none;
      padding: 0 0 0.875em 0;
  }
  
  .message {
      float: none;
  }
  
  .name {
      float: left;
      width: 45%;
  }
  
  
  
  textarea {
      line-height: 150%;
      height: 150px;
      resize: none;
    width: 100%;
  }
  
  ::-webkit-input-placeholder {
      color: #122293;
  }
  
  #form_button {
    background: none;
    border: solid 2px #122293;
    color: #122293;
    cursor: pointer;
    display: inline-block;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    outline: none;
    padding: 20px 35px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      -ms-transition: all 0.3s;
      -o-transition: all 0.3s;
      transition: all 0.3s;
  }
  
  .submit {
    text-align: center;
  }
  
  #form_button:hover {
    background: #122293;
    color: #ffffff;
  }




  .map{
    text-align: center;
  }




  .footer{
    width: 100%;
    min-height: 100px;
    padding: 20px 80px;
    margin: 0;
    background:#2c2c2c;
    text-align: center;
}

.footer p{
    color: whitesmoke;
    margin: 20px auto;
    padding: 20px auto;

}



@media only screen and (max-width:850px) {
    .menubtn{
        display: block;
    }
    .navbar{
        padding: 0;
    }
    .logo{
        position: absolute;
        left: 30px;
        top: 30px;
    }
    .nav-links{
        flex-direction: column;
        width: 100%;
        height: 100vh;
        justify-content: center;
        background: #2c2c2c;
        margin-top: -900px;
        transition: all 0.5s ease;
        
    }
    .mobile-menu{
        margin: 0px;
    }
    .nav-links li{
        margin: 30px auto;
    
    }

    .row{
        flex-direction: column;
        justify-content: center;
    }
    .main{
        margin-bottom: 40px;
    }
    .main h4{
        text-align: center;
        width: 500px;
    }
    .main h3{
        text-align: center;
    }
}