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

@font-face {
  font-family: "LTAFFICHERNEUE";
  src: url(../assets/Font/LTAFFICHERNEUE-CAPTION.OTF);
}
@font-face {
  font-family: "Playfair";
  src: url(../assets/Font/PlayfairDisplay-SemiBold.ttf);
}
html {
  font-size: 16px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
}

.main {
  width: 100%;
  min-height: 100vh;
  background-image: url("../assets/images/background with png.jpg");
  background-position: top ;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.card,
.socialMedia,
.footer {
  width: 100%;
  max-width: 100%;
  height: fit-content;
}

.notch {
  width: clamp(6.25rem, 40vw, 9.375rem);
  aspect-ratio: 3/5;
  border-radius: 0 0 99px 99px;
  background-image: url('../assets/images/upper.png');
  background-position: top;
  background-repeat: no-repeat;
  margin: 0 auto;
  overflow: hidden;
}


.profilePic {
  width: clamp(10rem, 70vw, 16.25rem);
  height:  clamp(10rem, 70vw, 16.25rem);
  border: clamp(0.2rem, 1vw, 0.3125rem) solid black;
  border-radius: 50%;
  margin: 0 auto;
  padding: 8px;
  display: flex;
  justify-content: center;
  transform: translateY(-20%);
  background-color: white;
  position: relative;
}
.profilePic .blueTick{
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  background-color: white;

}

.blueTick>img{
  width: 100%;
  height: 100%;
  scale: 1.3;
}

.profilePic > a > img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: clamp(0.2rem, 1vw, 0.3125rem) solid rgb(7, 4, 4);
  border-radius: 50%;
}

.profileTitles {
  text-align: end;
  width: fit-content;
  margin: 0 auto;
  transform: translateY(-20%);
}

.profileTitles h1 {
  
  font-size: clamp(1.5rem, 8vw, 3.125rem);
  font-family: Playfair;
  color: white;
  span{
    font-size: clamp(1.5rem, 8vw, 1.9rem);

  }
}

.subTitles {
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
  font-family: Playfair;
}

.heading{
  font-family: Playfair;
}

.subTitles h2 {
  font-size: 4.5vw;
  color: white;
}

.socialMedia {
  width: fit-content;
  max-width: 90%;
  margin: 0 auto;
  padding-block: clamp(0.5rem, 2vw, 0.625rem);
  transform: translateY(-10%);
}

.socialMedia > p {
  text-align: center;
  border-radius: 6.25rem;
  background-color: black;
  color: white;
  padding-inline: 40px;
  padding-block: 5px;
  font-size: clamp(1rem, 2.5vw, 2.5rem);
  border: 2px solid white;
  margin-bottom: 5px;
}

.contacts {
  max-width: clamp(20rem, 90vw, 40rem);
  margin: 0 auto;
    font-family: LTAFFICHERNEUE;


}

.topContacts {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding-block: clamp(0.3rem, 1vw, 0.25rem);
  gap: 0.5rem;
}

.midContacts {
  display: flex;
  flex-direction: column;
  padding-block: clamp(0.5rem, 1vw, 0.25rem);
  
}

.socialLinksWrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contactItem {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 6.25rem;
  background-color: white;
  padding: clamp(0.2rem, 1vw, 0.3125rem);
  flex: 1 1 auto;
  min-width: 6rem;
  cursor: pointer;
  
}

.contactItem a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.contactItem div:first-child {
  padding: clamp(0.2rem, 2vw, 0.375rem);
  border-radius: 50%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contactItem i {
  color: white;
  font-size: clamp(0.8rem, 1.5vw, 1.875rem);
}

.contactItem p {
  background-color: transparent;
  color: black;
  font-size: clamp(0.6rem, 2.7vw, 1.8625rem);
  padding: clamp(0.2rem, 1vw, 0.3125rem);
}

.midContacts .contactItem {
  margin-bottom: clamp(0.5rem, 3vw, 1.875rem);
}

.midContacts .layerContact {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  height: 50%;
  color: white;
  border-radius: 6.25rem;
  position: absolute;
  right: 5%;
  bottom: -20%;
  background-color: black;
  font-size: clamp(0.6rem, 3vw, 1rem);
  padding: 0.25rem;
  text-align: center;
  border-bottom: solid 1px white;
}

.socialLink {
  border-radius: 50%;
  background-color: white;
  padding: clamp(0.3rem, 2vw, 0.625rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.socialLink i {
  color: black;
  font-size: clamp(0.8rem, 2vw, 1.875rem);
}
.footer{
  font-family:LTAFFICHERNEUE ;
}
.address {
  background-color: white;
  border-block: 0.125rem solid white;
  margin-top: auto;

}

.address a {
  display: flex;
  gap: clamp(0.3rem, 1vw, 0.625rem);
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: clamp(0.8rem, .8rem, 1.2625rem);
  color: black;
  border-block: clamp(0.1rem, 0.5vw, 0.25rem) solid black;
  padding-block: clamp(0.2rem, 1vw, 0.3125rem);
  padding-inline: 5px;
}

.address a span {
  font-weight: 700;
}
.copyright{
  text-align: center;
  padding-block: 10px;
}
.copyright p{
  color: white;
  font-size: 3vw;
  span{
    font-weight: 800;
  }
}

/* ======================================== Media Queries ================================================ */
@media (min-width: 768px) {

  .card,
  .socialMedia,
  .footer {
    max-width: 100%;
  }
  .profileTitles h1{
    font-size: 5vw;
    font-weight: 600;
  }
  .subTitles h2 {
  font-size: 2vw;
}
.socialMedia > p {
  border: 3px solid white;
  padding-block: 10px;
}
.topContacts{
  padding-block: clamp(0.5rem, 2vw, .6rem);
  
}
.midContacts {
  width: 100%;
  display: flex;
  .layerContact{
    border-bottom: 3px solid white;
  }
  }

  .midContacts .contactItem {
  margin-bottom: clamp(0.5rem, 4vw, 1.875rem);

    flex-shrink: 0;
  }

  .midContacts .layerContact {
    bottom: -25%;
    width: 60%;
    height: 60%;
  }

  .socialLinksWrapper {
    gap: 1rem;
  }
  .address a {

  font-size: clamp(0.8rem, 1.5rem, 1.5625rem);

}
.copyright p{
  font-size: 1.5vw;
}
}


@media (min-width: 1024px) {
  .main {
    max-width: 80%;
    margin: 0 auto;
    border-radius: 1rem;
  }

  .card,
  .socialMedia,
  .footer {
    max-width: 100%;
  }

  .contacts {
    max-width: 50rem;
  }
  .midContacts .contactItem {
  margin-bottom: clamp(0.5rem, 2vw, 1.875rem);
  flex: 1 1 25%;
}

}