@import url('https://fonts.googleapis.com/css2?family=Cherry+Swash&family=Lato:ital,wght@0,400;0,900;1,400&display=swap');

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

.navbar {
    display: grid;
    grid-template-columns: 25% auto 25%;
    height: 100px;
    width: 100%;
    background-color: white;
    position: fixed;
    z-index: 3;
}

.navbar img {
    max-height: 100px;
    width: auto;
    grid-column: 1 / 2;
}

.title {
    font-family: 'cherry swash', cursive;
    font-size: 35pt;
    text-align: center;
    grid-column: 2 / 3;
    color: purple;
    text-shadow: 2px 2px grey;
    align-self: center;
}

.navbar a {
    text-decoration: none;
    font-family: 'cherry swash', cursive;
    font-size: 20pt;
    color: darkslategrey;
}

.navbar a:hover {
    color: purple;
}

ul {
    list-style-type: none;
    align-self: center;
}

li {
    text-align: right;
}

.portfolio {
    padding-top: 100px;
    z-index: 1;
}

.item {
    position: relative;
}

.item:hover .overlay {
    visibility: visible;
    opacity: 1;
}

.overlay {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: 1s ease;
    z-index: 2;
    top: 0;
    left: 0;
}

.contact-h {
    font-family: 'cherry swash', cursive;
    font-size: 40pt;
    color: purple;
    text-shadow: 1px 1px darkslategrey;
    text-align: center;
}

.contact {
    font-family: 'lato', sans-serif;
    text-align: center;
    margin: 4vw;
    color: darkslategrey;
    font-size: 12pt;
}

form { max-width:420px; margin:50px auto; }

.feedback-input {
  color:darkslategrey;
  font-family: 'lato', sans-serif;
  font-weight:500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border:2px solid purple;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.feedback-input:focus { border:2px solid purple; }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
    font-family: 'lato', sans-serif;
  width: 100%;
  background:purple;
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="submit"]:hover { background:white; color: purple; }

@media screen and (max-width: 500px) {
    .title {
        font-size: 25pt;
    }

    .navbar a {
        font-size: 12pt;
    }
    
}