/* FONTS */
@import url(../Css/author.css);

/* VARIABLES */
:root {
    --c-dark: #121214;
    --c-dark-rgb: 18, 18, 20;
    --c-yellow: #FFD300;
    --c-yellow-rgb: 255, 211, 0;
    --c-white: #FDF6E4;
    --c-white-rgb: 253, 246, 228;
    --font-base: "Author", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.5);
    --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-dark);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--c-dark);
    transition: var(--transition);
}

a:hover {
    color: var(--c-white);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
     transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}

/* NAVBAR */
.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--c-white);
}

.navbar-nav .nav-link.active {
    color: var(--c-yellow);
}

/* BANNER */
#banner {
    background-color: var(--c-yellow);
    color: var(--c-dark);
    padding-top: 5%;
}

.promo-title {
    font-size: 60px;
    font-weight: 600;
    margin-top: 100px;
    margin-bottom: 5px;
}

.promo .promo-line {
    width: 300px;
    height: 4px;
    background-color: var(--c-dark);
    margin: 0px auto 40px 0px;
}

.sub-title {
    font-size: 30px;
    font-weight: 600;
    margin-top: -20px;
}

/* ABOUT ME */
.about-me {
    padding: 20vmin 0;
    background-color: var(--c-white);
}

.about-me .row .col-md-6 .photo img {
    opacity: o.8;
    width: 80%;
    border-radius: 0.2em;
}

.about-me .row .col-md-6:last-child {
    position: relative;
}

.about-me .row .col-md-6 .panel {
    position: absolute;
    top: 5.5vmin;
    left: -18vmin;
    background: #121214;
    border-radius: 3px;
    text-align: left;
    padding: 8vmin 10vmin 8vmin 10vmin;
    box-shadow: var(--box-shadow);
    z-index: 1;
}

.about-title {
    color: var(--c-yellow);
}

.description {
    color: var(--c-white);
}

.experience {
    color: var(--c-yellow);
}

@media only screen and (max-width: 768px) {
    .about-me .row .col-md-6 .panel {
        position: initial;
        width: initial;
        height: initial;
    }
}

/* SECTION TITLE */
.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 100px;
    height: 4px;
    background-color: var(--c-yellow);
    margin: 10px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ICONBOX */
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-white-rgb), 0.5);
    color: var(--c-dark);
    font-size: 34px;
    flex: none;
}

/* SERVICES */
#services {
    background-color: var(--c-white);
    padding-bottom: 140px
}

.service {
    position: relative;
    overflow: hidden;
    z-index: 2;
    background-color: var(--c-yellow);
}

.service::after {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(var(--c-dark-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}

.service:hover::after {
    width: 100%;
    height: 100%;
    background: var(--c-dark);
    z-index: -1;
}

.service:hover h5,
.service:hover p {
    color: var(--c-white);
}

.service:hover .iconbox {
    background-color: rgba(var(--c-yellow-rgb),0.2);
    color: var(--c-white);
}

/* PORTFOLIO */
#portfolio {
    background-color: var(--c-white);
    padding-bottom: 140px;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--c-dark-rgb), 0.8);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transition: all 0.4s ease;
    opacity: 0;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-desc {
    color: var(--c-white);
}

.portfolio-item .iconbox {
    background-color: var(--c-yellow);
    color: var(--c-dark);
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .iconbox {
    opacity: 1;
    top: 50%;
}

/* FOOTER */
footer {
    background: var(--c-dark);
    overflow-x: hidden;
    padding: 14vmin 18vmin;
}

footer input {
    border: none !important;
}
  
footer input::placeholder {
    color: var(--c-white) !important;
}
  
footer .input-group .input-group-text {
    background: var(--c-yellow);
    border: none;
}
  
footer .column i {
    color: var(--c-yellow);
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--c-yellow);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--c-dark);
    color: white;
}
  
  /* It is Adjacent sibling combinator */
  
  footer .column i + i {
    padding: 0 0.5em;
  }
  
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(var(--c-dark-rgb), 0.815);
    z-index: 9999;
    transition: all 1.5s ease;
  }