@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --yp-green: #9ab640;
  --yp-pink: #993366;
  --yp-grey: #e7e7e4;
  --yp-text: #444;
  --yp-border: #b9c97a;
}
.footer {
  color: #58585a;
  background-color: #fff;
  background-image: none;
  margin-top: 1em;
}
body {
  background: #fff;
  color: var(--yp-text);
}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: "Raleway", sans-serif !important;
  font-weight: 300 !important;
  font-style: normal;
  color: #993366;
}

.h4,h4 {font-size:16px;}
.h3,h3 {font-size:22px;}
.h2,h2 {font-size:26px;}
.h1,h1 {font-size: 28px;}

/* Top header */

.yp-top {
  border-top: 1px solid var(--yp-border);
  border-bottom: 1px solid var(--yp-border);
  background: #fff;
  padding: 28px 0 46px;
}

.yp-top-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.yp-name {
  color: var(--yp-green);
  font-size: 2.2rem;
  line-height: 1;
}

.yp-contact {
  text-align: right;
  color: var(--yp-pink);
}

.yp-location {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

/* Alert bar */

.yp-alert {
  background: #d4d4d4;
  text-align: center;
  padding: 26px 20px;
  color: var(--yp-pink);
}

.yp-alert span {
  color: #555;
}

/* Main layout */

.yp-main {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 0 0 40px;
}

.yp-content {
  padding-top: 30px;
  max-width: 720px;
}

.yp-content a {
  color: var(--yp-pink);
}
/* Sidebar */

.yp-sidebar {
  margin-top: 0;
}

.yp-sidebar ul.mod-menu,
ul.yp-sidebar.mod-menu {
  list-style: none;
  margin: 0 0 18px;
  padding: 8px;
  border: 2px solid var(--yp-border);
  background: #f1f1ed;
}

.yp-sidebar ul.mod-menu li,
ul.yp-sidebar.mod-menu li {
  margin: 0;
  padding: 0;
}

.yp-sidebar ul.mod-menu li a,
ul.yp-sidebar.mod-menu li a {
  position: relative;
  display: block;
  padding: 12px 38px 12px 16px;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #e3e3df;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
}

.yp-sidebar ul.mod-menu li a::after,
ul.yp-sidebar.mod-menu li a::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 1.4rem;
  line-height: 1;
}

.yp-sidebar ul.mod-menu li:last-child a,
ul.yp-sidebar.mod-menu li:last-child a {
  border-bottom: none;
}

.yp-sidebar ul.mod-menu li.current > a,
.yp-sidebar ul.mod-menu li.active > a,
.yp-sidebar ul.mod-menu li a:hover,
ul.yp-sidebar.mod-menu li.current > a,
ul.yp-sidebar.mod-menu li.active > a,
ul.yp-sidebar.mod-menu li a:hover {
  background: #993366;
  color: #fff;
}

.yp-sidebar ul.mod-menu li.current > a::after,
.yp-sidebar ul.mod-menu li.active > a::after,
.yp-sidebar ul.mod-menu li a:hover::after,
ul.yp-sidebar.mod-menu li.current > a::after,
ul.yp-sidebar.mod-menu li.active > a::after,
ul.yp-sidebar.mod-menu li a:hover::after {
  color: #fff;
}




/* Profile card */

.yp-profile-card {
  background: #fff;
  padding: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
  color: var(--yp-pink);
}

.yp-profile-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

/* Mobile */

@media (max-width: 800px) {
  .yp-top-inner,
  .yp-main {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
  }

  .yp-contact {
    text-align: left;
    margin-top: 24px;
  }

  .yp-sidebar {
    margin-bottom: 24px;
  }
}