#contact{
  position: fixed;
  width: 100vw;
  min-height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  z-index: 300;
  visibility: hidden;
}

#contact #overlay{
  position: absolute;
  top:0;
  left:0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  opacity: 0.7;
}


#contact #holder{
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  width: 40%;
  max-width: 450px;
  min-width: 300px;
  max-height: 95vh;
  margin: auto;
  align-items: center;
  border-radius: 30px;
  border: solid var(--secondary-color) 3px;
  background-color: var(--primary-color);
  overflow-y: auto;
}

#contactcenter{
  width: 100%;
  min-height: 300px;
  min-width: 300px;
  margin: auto;
}

#holder h2{
  font-size: 5em;
  font-weight: 600;
  position: relative;
  top:25%;
  opacity:0.1;
  margin: 10px;
  width: 100%;
  margin: 10px;
  padding: 0;
  line-height: 1em;
  z-index: 0;
}

#holder .close{
  position: absolute;
  top:0;
  right: 0;
  margin-top: 15px;
  margin-right: 15px;
  max-width: 25px;
  max-height: 25px;
  opacity: 0.3;
}
#holder .close svg{
  display: block;
  margin: auto;
  max-width: 25px;
  max-height: 25px;
  transition: 0.1s;
}

#holder .close:hover{
  opacity: 1;
}


#holder::-webkit-scrollbar {
 width: 7px;
 height: 90%;

}

#holder::-webkit-scrollbar-thumb {
width: 5px;
 background-color: var(--highlight-color);
 border-radius: 3px;
}

#contactcenter div{
  margin: auto;
  width: 100%;
  min-width: 300px;
  padding-bottom: 10px;
}

#contactcenter div p{
  font-size: 1.2em;
  font-weight: bolder;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
}

#contactcenter div h2{
  font-size: 1em;
}


#contactcenter div #social{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  width: 80%;
  margin: auto;
  padding: 0;
}

#social a{
  margin: auto;
  padding: 10px;
}

#social a svg{
  padding: 4px;
  border-radius: 100%;
  display: block;
  margin: auto;
  max-width: 75px;
  max-height: 75px;
  animation: backgroundcolorswitch 1.5s linear infinite;
}

#social a:hover{
  padding:0px;
}

#social a:hover svg{
  animation: none;
  max-width: 95px;
  max-height: 95px;
  background-color: var(--primary-color);
}

#social a:hover svg path{
  animation: fillcolorswitch 3s linear infinite;
}

#contactresume{
  width: 80%;
  padding: 10px;
  border-radius: 10px;
  margin: auto;
}

#contactresume a{
  font-size: 1em;
  text-decoration: none;
  line-height: 0.8em;
  animation: textcolorswitch 1.5s infinite linear;
}

#contactresume:hover{
  animation: backgroundcolorswitch 1.5s linear infinite;
}
#contactresume:hover a{
  color: white;
  animation: none;
}

#mailad{
  width: 80%;
  min-width: 300px;
  margin: 0px;
  padding: 0px;
}

#mailad .maildisplay{
  width: 90%;
  padding: 10px;
  border-radius: 10px;
  margin: auto;
  cursor: pointer;
  font-size: 1.2em;
  text-decoration: none;
  text-align: center;
  line-height: 1em;
  animation: textcolorswitch 1.5s infinite linear;
}

#mailad:hover .maildisplay{
  animation: backgroundcolorswitch 1.5s linear infinite;
  color: white;
  cursor: pointer;
}

#mailad #copyclue{
  font-size:1em;
  text-align: center;
  font-style: bold;
  margin: auto;
  color: var(--secondary-color);
}

#mailad:hover #copyclue{
  animation: textcolorswitch 1.5s infinite linear;
}
