@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
:root {
  --darkgray: #444;
  --lightgray: #555;
  --lightwhite: #dedede;
  --darkwhite: #c7c7c7;
}

body,
html {
  margin: 0;
  padding: 0;
  color: var(--lightgray);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: color: var(--lightgray);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1{
  font-size: 2.3rem;
  font-weight: 600;
  color: color: var(--darkgray);
}

h2{
  color: color: var(--lightgray);
  font-size: 1.2rem;
}

body {
  min-height: 100vh;
  min-width: 100vw;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url(../img/background.webp);
  background-size: cover;
  background-position: center center;
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
}

#wrapper {
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(15px);
  border-radius:15px;
  width: 500px;
}


#header {
  height: 300px;
  background: url(../img/header.webp);
  background-size: cover;
  background-position: center center;
}

#content {
  padding-top: 10%;
  padding-left: 15%;
  padding-right: 15%;
  padding-bottom: 5%;
}

#title {
  position: relative;
  box-sizing: border-box;
  padding-top: 40px;
}

#title .image {
  position: absolute;
  border: 3px solid white;
  top: -200px;
  left: 0px;
  width: 200px;
  height: 200px;
  border-radius: 57% 43% 50% 50% / 51% 34% 66% 49%;

}
#title .image img {
  border-radius: inherit;
}

#title {
  padding-bottom: 7px;
}
.aboutme {
  display: block;
  position: relative;
  box-sizing: border-box;
  font-size: 0.9rem;
  padding-top: 0px;
  padding-bottom: 0px;
}
.aboutme i {
  width: 25px;
}
.social-icons {
  display: flex;
  position: relative;
  box-sizing: border-box;
  padding-left: 25%;
  padding-right: 25%;
  padding-top: 40px;
  padding-bottom: 30px;
  color: black;
  justify-content: center;
}
.social-icons i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1rem;
}
button{
  box-shadow: -2px -2px 5px #e7e9ec, 2px 2px 3px #adb5c0;
}

.social-icons span {
  display: none;
}

@media screen and (min-width: 600px) {
  button:hover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #e7e9ec;
    box-shadow: -2px -2px 5px #d6d6d6, 2px 2px 3px #797e86;
    z-index: -1;
    border-radius: 30% 70% 66% 34% / 30% 30% 70% 70% ;
  }
  button {
    position: inherit;
    width: 100%;
    border-radius: 5px;
    text-align: center;
    border-radius: 30% 70% 66% 34% / 30% 30% 70% 70% ;
    margin-left: 5px;
    margin-right: 5px;
  }
  button:hover a {
    color: rgb(114, 114, 114);
  }
}

@media screen and (max-width: 600px) {
  body {
    display: block;
    overflow: hidden;
  }
  #wrapper {
    margin: 2%;
    width: auto;
    max-width: 600px;
    min-width: 300px;
  }
  #header{
    height: 150px;
  }
  #title{
    padding-left: 25px;
  }
  #title .image {
    top: -60px;
    left: 20px;
    height: 80px;
    width: 80px;
  }
  .aboutme{
    padding-left: 25px;
  }
  #content {
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
  }
  .social-icons {
    display: block;
    justify-content: left;
    font-size: 0.9rem;
    padding-left: 25px;
    padding-right: 25px;
  }
  .social-icons span {
    display: inherit;
  }
  .social-icons i {
    margin-left: 15px;
    height: auto;
    line-height: initial;
    width: auto;
    box-shadow: none;
    border-radius: none;
    margin-right: 10px;
  }
  button {
    height: 40px;
    width: 100%;
    display: block;
    margin-bottom: 10px;
    margin-left: 0px;
    margin-right: 0px;
    border-radius: 2px;
    background: #e7e9ec;
    box-shadow: -2px -2px 5px #e7e9ec, 2px 2px 3px #adb5c0;
    line-height: 40px;
    text-align: left;
  }
}

@media (prefers-color-scheme: dark) {
  body,
  html {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), url(../img/background.webp);
    background-size: cover;
    background-position: center center;
    backdrop-filter: blur(3px);
    color: var(--darkwhite);
  }

  h1{
  color: color: var(--lightwhite);
  }

  h2{
    color: var(--darkwhite);
  }
  i{
    color: var(--darkwhite);
  }
  a{
    color: var(--darkwhite);
  }
  #wrapper{
    background-color: rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px 1px rgba(168, 168, 168, 0.5);
  }
  button {
    background: #2c2c2c;
    box-shadow: -2px -2px 5px #2a2a2a, 2px 2px 3px #5c6067;
  }
}