*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a{
  text-decoration: none;
  color: inherit;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

li{
  list-style: none;
}

body{
  font-family: "Open Sans", serif;
  background: url(./assets/images/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #000;
  font-size: 16px;
}

main{
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.upper-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .825rem;
}

.name{
  font-size: 1.3rem;
  font-weight: bold;
}

.profession{
  font-size: 1rem;
  font-weight: normal;
}

.links-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.links-container ul{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.links-container ul li{
  min-width: 300px;
  text-align: center;
  font-weight: 400;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  transition: .2s;
  cursor: pointer;
}

#instagram{
  background: #bdd5f5 url(./assets/icons/instagram.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 35px;
}

#linkedin{
  background: #bdd5f5 url(./assets/icons/linkedin.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 35px;
}

#twitter{
  background: #bdd5f5 url(./assets/icons/twitter.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 35px;
}

#youtube{
  background: #bdd5f5 url(./assets/icons/youtube.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 35px;
}

.links-container ul li:hover{
  transform: scale(1.05);
}
.links-container ul li:active{
  transform: scale(1);
}

.links-container ul li .link{
  display: block;
  height: 100%;
}

.profile-image{
  aspect-ratio: 16/9;
  cursor: pointer;
  object-fit: cover;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  transition: .3s;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.profile-image:hover{
  transform: scale(1.1);
}
.profile-image:active{
  transform: scale(1);
}

@media (min-width: 570px){
  .links-container ul li{
    min-width: 500px;
  }
}