/* ———————————————————————————————————————————————————————
   > website:       mrsginger.nl/
   > theme:         coding corner v1
   > page:          coding4.css
   > designed by:   ladyginger
   > please do NOT remove this credit!

   > this design was handmade with lots of frustration, trial
     and errors, and it would be appreciated if you didn't
     steal the code!
   ——————————————————————————————————————————————————————— */

:root {
  --page-width:             890px;
  --sidebar-width:          250px;
  --content-width:          640px;
  --font-main:              "Open Sans", sans-serif;
  --font-title:             "Host Grotesk", sans-serif;
  --font-subtitle:          "Bebas Neue", sans-serif;
  --bg:                     #555354;
  --berry:                  #D8B6B8;
  --mauve:                  #B48A93;
  --fern:                   #8E9A92;
  --vanilla:                #F2EEE9;
  --hazelnut:               #B9ADA3;
  --fern-dark:              #66776F;
  --mainbg:                 #C8C0BA;
  --panel:                  #B9ADA3;
  --panel-right:            #E1DBD6;
  --panel-header:           #B48A93;
  --text:                   #625C5D;
  --text-light:             #E7E3E1;
  --dark:                   #555354;
  --white:                  #F2EEE9;
}

*, *::before, *::after {
  box-sizing:              border-box;
}

html {
  scroll-behavior:          smooth;
}

body {
  margin:                   0;
  background:               var(--bg);
  color:                    var(--text);
  font-family:              var(--font-main);
  font-size:                10px;
  overflow-x:               hidden;
}

a {
  color:                    var(--text);
  text-decoration:          none;
  transition:               color .3s ease,
                            background .3s ease,
                            transform .3s ease;
}

button {
  border:                   0;
  font-family:              inherit;
}

img {
  max-width:                100%;
  height:                   auto;
  display:                  block;
}

/*-- SCROLLBAR --*/
::-webkit-scrollbar {
  width:                    14px;   }
::-webkit-scrollbar-track {
  background:               var(--bg);    }
::-webkit-scrollbar-thumb {
  border:                   4px solid var(--bg);
  background:               var(--mauve);
  border-radius:            100px;
}

/*-- CONTAINER --*/
.container {
  width:                    900px;
  margin:                   50px auto 0;
}

/*--  HEADER --*/
.header {
  position:                 relative;
  width:                    var(--page-width);
  margin:                   0 auto;
}

.header-img {
  position:                 relative;
  width:                    var(--page-width);
  height:                   190px;
  border-radius:            20px 20px 0 0;
  overflow:                 visible;
  background:               radial-gradient(
                              circle at 20% 30%,
                              rgba(216, 182, 184, .75),
                              transparent 28%   ),
                            radial-gradient(
                              circle at 78% 65%,
                              rgba(142, 154, 146, .45),
                              transparent 30%   ),
                            linear-gradient(
                              135deg,
                              #B48A93 0%,
                              #C3AAA9 48%,
                              #8E9A92 100%      );
}

.headertitle {
  position:                 absolute;
  left:                     50%;
  top:                      50%;
  transform:                translate(-50%, -50%);
  display:                  flex;
  flex-direction:           column;
  align-items:              center;
  justify-content:          center;
  color:                    var(--vanilla);
  text-align:               center;
  white-space:              nowrap;
  text-shadow:              0 2px 8px rgba(85, 83, 84, .12);
}

.header-lg {
  display:                  block;
  font-family:              "Parisienne", cursive;
  font-size:                82px;
  font-weight:              400;
  line-height:              .8;
  letter-spacing:           1px;
}

.header-subtitle {
  display:                  block;
  margin-top:               12px;
  font-family:              "Caveat Brush", cursive;
  font-size:                25px;
  font-weight:              400;
  line-height:              1;
  letter-spacing:           1px;
}

.headernav {
  position:                 absolute;
  right:                    25px;
  bottom:                   -20px;
  z-index:                  20;
  display:                  flex;
  gap:                      10px;
}

.headernav-button {
  width:                    40px;
  height:                   40px;
  display:                  flex;
  align-items:              center;
  justify-content:          center;
  border-radius:            12px;
  color:                    var(--dark);
  font-size:                16px;
  line-height:              1;
  transition:               transform .3s ease,
                            color .3s ease,
                            background .3s ease;
}

.headernav-button i {
  pointer-events:           none; }

.about-button {
  background:               var(--berry); }

.contact-button {
  background:               var(--mauve); }

.back-button {
  background:               var(--hazelnut);  }

.headernav-button:hover {
  transform:                translateY(-3px);
  color:                    var(--vanilla); }

.about-button:hover {
  background:               var(--mauve); }

.contact-button:hover {
  background:               #9E747F;  }

.back-button:hover {
  background:               var(--fern-dark); }

/*-- HEADER FEATURE --*/
.header-feature {
  position:                 absolute;
  right:                    35px;
  top:                      35px;
  width:                    210px;
  z-index:                  10;
  border-radius:            8px;
  overflow:                 hidden;
  background:               var(--vanilla);
  box-shadow:               -5px 6px 18px rgba(85, 83, 84, .18);
  transition:               transform .3s ease,
                            box-shadow .3s ease;
}

.header-feature:hover {
  transform:                translateY(-4px);
  box-shadow:               -5px 10px 22px rgba(85, 83, 84, .22);
}

.header-feature-image {
  width:                    210px;
  height:                   65px;
  background:               radial-gradient(
                              circle at 25% 40%,
                              rgba(216, 182, 184, .75),
                              transparent 28%   ),
                            radial-gradient(
                              circle at 75% 60%,
                              rgba(142, 154, 146, .35),
                              transparent 30%   ),
                            linear-gradient(
                              135deg,
                              #B48A93,
                              #9F8D91           );
}

.header-feature-image img {
  width:                    100%;
  height:                   65px;
  object-fit:               cover;
}

.header-feature-text {
  min-height:               35px;
  padding:                  7px 9px;
  background:               var(--vanilla);
  color:                    var(--dark);
  font-size:                9px;
  line-height:              16px;
}

.header-feature-text span {
  display:                  inline-block;
  margin-right:             5px;
  padding:                  2px 5px;
  border-radius:            4px;
  background:               var(--mauve);
  color:                    var(--vanilla);
  font-family:              var(--font-subtitle);
  font-size:                9px;
  line-height:              11px;
  letter-spacing:           .5px;
  text-transform:           uppercase;
}

/*-- MAIN --*/
.main {
  width:                    var(--page-width);
  display:                  grid;
  grid-template-columns:    var(--sidebar-width) var(--content-width);
  align-items:              stretch;
  margin:                   0 auto;
  background:               var(--mainbg);
  border-radius:            0 0 20px 20px;
  overflow:                 hidden;
}

/*-- SIDEBAR --*/
.sidebar {
  width:                    var(--sidebar-width);
  min-height:               600px;
  padding:                  30px;
  background:               var(--panel);
  color:                    var(--vanilla);
  border-radius:            0 0 0 20px;
}

.left-sticky {
  width:                    190px;
}

.intro {
  position:                 relative;
  width:                    190px;
  margin:                   0 0 25px;
  padding:                  0;
  color:                    var(--text-light);
  line-height:              18px;
}

.intro-quick {
  position: relative;
  min-height: 48px;
  padding-left: 60px;
  margin-bottom: 15px;
}

.intro-quick b {
  color: var(--vanilla);
  font-family: var(--font-title);
  font-size: 18px;
  line-height: 18px;
}

.intro-quick i {
  color: var(--text-light);
  font-family: var(--font-main);
  font-size: 10px;
  font-style: normal;
}

.intro-tagline {
  margin-top: 5px;
  color: #E0DBD9;
  font-size: 9px;
  line-height: 12px;
  text-transform: uppercase;
}

.intro-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--mauve);
  color: var(--vanilla);
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
}

.intro p {
  margin: 15px 0;
  color: #E7E3E1;
  line-height: 17px;
}

.intro blockquote {
  width: 190px;
  margin: 10px 0 0;
  padding: 8px 10px;
  border-left: 2px solid rgba(242, 238: 233, .55);
  background:
    linear-gradient(
      90deg,
      rgba(242, 238, 233, .12),
      transparent
    );
}

.sidebar-section {
  width: 190px;
  margin-bottom: 25px;
}

.sidebar-title {
  margin-bottom: 15px;
  color: var(--vanilla);
  font-family: var(--font-subtitle);
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/*-- STATS --*/
.stats-blog {
  padding: 8px 10px;
  border-left: 2px solid rgba(242, 238, 233, .55);
  background:
    linear-gradient(
      90deg,
      rgba(242, 238, 233, .12),
      transparent
    );
  color: #E7E3E1;
  line-height: 20px;
}

.stats-blog b,
.stats-blog i,
.stats-blog em {
  color: var(--vanilla);
}

.stats-blog i {
  font-style: normal;
}

.stats-blog em {
  font-style: normal;
}

.stats-blog a {
  color: var(--vanilla);
}

.stats-blog a:hover {
  color: var(--mauve);
}

/*-- SIDEBAR NAVIGATION --*/
.sidebarnav {
  width: 190px;
  line-height: 28px;
}

.sidebar-link {
  display: inline-block;
  margin: 0 3px 0 0;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--mauve);
  color: var(--vanilla);
  font-size: 9px;
  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.sidebar-link:hover {
  background: var(--fern-dark);
  color: var(--vanilla);
  transform: translateY(-2px);
}

/*-- MAIN RIGHT --*/
.main-right {
  position: relative;
  width: var(--content-width);
  display: flex;
  flex-direction: column;
  background: var(--panel-right);
  border-radius: 0 0 20px 0;
  overflow: hidden;
}

/*-- FEATURE --*/
.feature {
  position: relative;
  width: var(--content-width);
  height: 180px;
  background:
    linear-gradient(
      135deg,
      #C9C1BD,
      #D8D0CC
    );
}

.feature-title {
  position: absolute;
  left: -40px;
  top: 75px;
  color: var(--mauve);
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center center;
  z-index: 10;
}

.feature-link {
  position: absolute;
  top: 45px;
  width: 250px;
  height: 110px;
  display: block;
}

.feature-link:nth-of-type(1) {
  left: 65px;
}

.feature-link:nth-of-type(2) {
  left: 345px;
}

.feature-item {
  position: relative;
  width: 250px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--vanilla);
  box-shadow:
    -7px 7px 20px rgba(85, 83, 84, .14);
  transition: .4s ease;
}

.feature-link:hover .feature-item {
  transform: translateY(-5px);
}

.feature-img {
  width: 250px;
  height: 70px;
  background:
    radial-gradient(
      circle at 25% 40%,
      rgba(216, 182, 184, .75),
      transparent 28%
    ),

    radial-gradient(
      circle at 75% 60%,
      rgba(142, 154, 146, .35),
      transparent 30%
    ),

    linear-gradient(
      135deg,
      #B48A93,
      #9F8D91
    );
}

.feature-text {
  min-height: 35px;
  padding: 8px;
  background: var(--vanilla);
  color: var(--dark);
  font-size: 9px;
}

.feature-text b {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--vanilla);
  font-family: var(--font-subtitle);
  font-size: 10px;
  letter-spacing: .5px;
  line-height: 12px;
  text-transform: uppercase;
}

.feature-new .feature-text b {
  background: var(--mauve);
}

.feature-code .feature-text b {
  background: var(--fern);
}

/*-- RIGHT HEADER --*/
.right-header {
  width: var(--content-width);
  min-height: 50px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--mauve);
}

.right-header a,
.right-header button {
  padding: 0;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-subtitle);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.right-header a:hover,
.right-header button:hover {
  color: var(--vanilla);
}

/*-- CONTENT --*/
.content {
  width: 100%;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 10px 10px 0;
  display: flex;
  color: var(--text);
  background: var(--panel-right);
}

.content iframe {
  display: block;
  width: 100%;
  height: 725px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/*-- POPUP --*/
.popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(55, 53, 54, .78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .3s ease,
    visibility .3s ease;
}

.popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-box {
  position: relative;
  width: 420px;
  max-width: 100%;
  padding: 35px;
  border-radius: 12px;
  background: var(--vanilla);
  box-shadow:
    0 20px 60px rgba(40, 38, 39, .30);
  transform: translateY(15px);
  transition: transform .3s ease;
}

.popup.is-open .popup-box {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--mauve);
  color: var(--vanilla);
  font-size: 14px;
  cursor: pointer;
  transition:
    transform .3s ease,
    background .3s ease;
}

.popup-close:hover {
  transform: rotate(90deg);
  background: var(--fern-dark);
  color: var(--vanilla);
}

.popup-title {
  margin-bottom: 20px;
  color: var(--mauve);
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  text-transform: lowercase;
}

.popup-content {
  color: var(--text);
  font-family: var(--font-main);
  font-size: 10px;
  line-height: 18px;
}

.popup-content p {
  margin: 0 0 15px;
}

.popup-content p:last-child {
  margin-bottom: 0;
}

/*-- DIVIDERS --*/
.sidebar-divider {
  width: 100%;
  height: 10px;
  margin: 24px 0;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    #B48A93,
    #D8B6B8,
    #8E9A92
  );
}

/*-- FOOTER --*/
.footer {
  width: 800px;
  margin: 15px auto 20px;
  padding: 8px 0;
  color: #D0C7C5;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}