:root {
  --white: #fff;
  --grey: #f1f1f1;
  --primary: #2B5780;
  --secondary: #FFD011;
  --dark: #191919;
}

::-webkit-scrollbar {
  display: none;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
}

body {
  min-width: 100vw;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  background: url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: radial-gradient(
    circle,
    rgba(255, 170, 90, 1) 0%,
    rgba(255, 120, 90, 1) 0%,
    rgba(25, 25, 25, 1) 79%
  ); */
}

.text-primary{
  color: var(--primary);
}

.text-secondary{
  color: var(--secondary);
}

.card {
  background-color: var(--white);
  width: 50%;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0.2rem 0.2rem 1rem rgba(0,0,0,0.5);
}

.card .card-header{
  position: relative;
  background: url(../img/header.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 1.5rem 1.5rem;
  margin-bottom: 5rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.card .card-header .card-header-title{
  font-size: 1.5rem;
  display: block;
  font-weight:800;
  margin-bottom: 1.5rem;
}

.card .card-header .card-header-subtitle{
  font-size: 1rem;
  display: block;
  font-weight: 600;
}

.card .card-header .img-user{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateY(50%) translateX(-50%);
  width: 125px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.card .card-body .profile{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card .card-body .profile .profile-title{
  font-size: 1.5rem;
  font-weight: 800;
}

.card .card-body .profile .profile-subtitle{
  font-size: 1rem;
}

.card .card-body .profile .profile-text{
  font-size: 0.8rem;
}

.card .card-body .profile-sosmed{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 1rem;
  width: 100%;
  padding: 2rem 0;
}

.card .card-body .profile-sosmed a{
  margin: 0.2rem 0rem;
  color: var(--primary);
}

.card .card-body .profile-sosmed a i{
  margin-right: 0.2rem;
}

.card .card-footer{
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 0.6rem;
  padding: 0.4rem 0.6rem;
  color: var(--primary);
}

.card .card-footer .card-footer-left{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}

.card .card-footer .card-footer-left i{
  margin-right: 0.2rem;
}

.card .card-footer .card-footer-right{
  display: flex;
  justify-content: center;
  align-items: end;
}

.card .card-footer .card-footer-right img{
  width: 35px;
}

@keyframes modalAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 996px) {
  /* For mobile phones: */

  .card{
    width: 80%;
  }

  .card .card-header .card-header-title{
    margin-bottom: 1rem;
  }
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .card{
    width: 90%;
  }

  .card .card-header .card-header-title{
    font-size: 1.1rem;
  }

  .card .card-header .card-header-subtitle{
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 420px) {
  /* For mobile phones: */
  .card .card-header{
    justify-content: start;
  }

  .card .card-header .card-header-title{
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .card .card-header .card-header-subtitle{
    font-size: 0.5rem;
  }

  .card .card-body .profile .profile-title{
    font-size: 1.3rem;
  }

  .card .card-body .profile .profile-subtitle{
    font-size: 0.9rem;
  }

  .card .card-body .profile .profile-text{
    font-size: 0.7rem;
  }

  .card .card-footer{
    font-size: 0.4rem;
    padding: 0.3rem 0.5rem;
  }

  .card .card-footer .card-footer-right img{
    width: 30px;
  }
}