<template>
  <div class="container">
    <form action="">
      <h1>LOGIN</h1>
      <div class="form-group">
        <label for="">ID</label>
        <input type="text" class="form-control" required>
      </div>
      <div class="form-group">
        <label for="">PASSWORD</label>
        <input type="password" class="form-control" required>
      </div>
      <input type="submit" class="btn" value="LOGIN">
    </form>
  </div>
</template>

<script>
export default {
  
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');
  *{
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
   }

  
  .container{
    margin: auto;

    width: 500px;
    max-width: 90%;
  }

  .container form{
    
    width: 100%;
    height: 100%;
    padding:20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,.3);
  }

  .container form h1{
    text-align: center;
    margin-bottom: 24px;
    color: #222;
  }

  .container form .form-control{
    width:100%;
    height: 40px;
    background: white;
    border-radius: 4px;
    border:1px solid silver;
    margin: 10px 0 18px 0;
    padding: 0 10px;
  }

  .container form .btn{
    margin-left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 34px;
    border:none;
    outline: none;
    background: skyblue;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    color:white;
    border-radius: 4px;
    transition: .3s;
  }

  .container form .btn:hover{
    opacity: .7;
  }
</style>