@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap");

/* Universal styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.portfolio-link {
    background-color: #fff;
    color: #1d002c;
    padding: 1px 2px;
    text-decoration: none;
    border-radius: 5px;
}

.portfolio-link:hover {
    background-color: #1d002c;
    color: white;
}
.portfolio-box {
    display: inline-block;
    border: 0px solid #007bff;
    border-radius: 5px;
    padding: 0px;
}
.footer {
  background-color: #1d002c;
  color: white;
  padding: 8px;
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}
body {
  background: rgb(233, 233, 233);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.bg-image{
  background-image: url("https://site.ssanimations.in/uploads/setting/login.jpg");
  background-size:cover;
  background-position:center center;
  height: 100vh;
  position:fixed;
  left:0;
  right:0;
  z-index:-1;
}

form {
  display: flex;
  flex-direction: column;
  background: #fff;
  width:500px;
  border-radius: 10px;
  overflow: hidden;
-webkit-box-shadow: 0px 0px 40px 9px rgba(0,0,0,0.6); 
box-shadow: 0px 0px 40px 9px rgba(0,0,0,0.4);
}

.head {
  background-color: #1d002c;
  margin-bottom: 10px;
  padding: 15px;
}

.head h1,
p {
  text-align: center;
  color: white;
}

.head p {
  font-size: 12px;
}

label {
  margin-left: 20px;
}

input,
textarea {
  padding: 10px;
  margin: 5px 20px 20px 20px;
  outline: none;
  border-radius: 10px;
  border: 1px solid #ccc;
}

input:focus,
textarea:focus {
  border: 1px solid rgb(0, 132, 255);
}

textarea {
  resize: vertical;
}

button {
  outline: none;
  background-color: #a902ff;
  border: none;
  padding: 10px;
  border-radius: 50px;
  margin: 10px;
  color: white;
  cursor: pointer;
  transition: all 0.5s;
}

button:hover {
  background: rgb(0, 105, 204);
}

/* Modal Styles */
        .modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 9px;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            text-align: center;
            display: none;
        }

        .modal-content {
            background-color: #1d002c;
            margin: 10% auto;
            padding: 3px;
            border: 1px solid #888;
            width: 80%;
        }

        .close {
            color: #fff;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

@media screen and (max-width: 417px){
  form{
    width:88%;
    height:auto;
  }
}