:root {
    --white: #fff;
    --blue: #213875;
    --red: #a70101;
    --black: #202020;
    --green: #C6CA53;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Montserrat"!important;
}
#navbar {
    position: fixed;
    z-index: 2;
    top: 0;
    width: 100%;    
    height: auto;
    background-color: var(--white);
    border-bottom: 2px solid #da1333!important;
}
.nav-brand {
    max-height: 40px;
    max-width: 200px;
}
.navbar-collapse {
    flex-grow: 0!important;
}
.offcanvas {
    flex-grow: 0!important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(167, 01, 01, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")!important;
}
.navbar-toggler {
    border: none!important;
}
.navbar-toggler:focus {
    box-shadow: none!important;
}
#navlist {
    padding: 0!important;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    list-style-type: none;
}
a {
    text-decoration: none !important;
    font-family: "Montserrat", sans-serif !important;
}
#navlist a {
    color: var(--blue);
    font-size: 14px;
    line-height: 14px;
    letter-spacing: .1em;
    font-weight: 400;
}
#navlist a:hover {
    color: var(--red);
}
.offcanvas-body {
    padding: 0!important;
}

/* #hero-img {
    filter: contrast(1.1) saturate(1.1);
} */

.img-sm {
  max-height: 200px;
  max-width: 200px;
}
.primary {
    background-color: var(--blue)!important;
    color: var(--white)!important;
}
.white {
    color: var(--white);
}
.bg-white {
    background-color: var(--white);
}
.blue {
    color: var(--blue)!important;
}
.red {
    color: var(--red)!important;
}
.bg-red {
    background-color: var(--red);
}
main {
    padding-top: 50px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.packages-btn {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.packages-btn:hover {
    background-color: #1a2d61!important;  
} 
.order-btn {
    background-color: #C8102E;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.order-btn:hover {
    background-color: #a10d25;  
} 
.smaller-btn {
    background-color: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .1rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.smaller-btn:hover {
    background-color: #1a2d61;  
} 
#skills {
    height: 60vh;
}
.wrap {
    position: relative;
    height: 100%;
}
.background {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    object-fit: cover;
}
.pricing-content {
    position: relative;
    top: -20px;
    text-align: center;
    display: block;
    margin: 0 auto 0 auto;
} 
/* .content {
    position: relative;
    top: -20px;
    text-align: center;
    display: block;
    max-width: 450px;
    margin: 0 auto 0 auto;
} */
.box-shadow{
    position: absolute;
    z-index: -1;
    overflow: hidden;
    width: 100%;
    height: 100%;
    box-shadow: 5px 5px 15px 3px rgb(196, 196, 196);
}
#skills-figure {
    overflow: visible;
    z-index: 1;
    display: block;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 33px;
    text-align: center;
    color: var(--blue);
    box-shadow: 5px 5px 15px 3px rgb(196, 196, 196);
}
#skills-figure ul {
    list-style-type: none;
    background-color: var(--white);
    padding: 10px 0 20px 0;
}
#skills-figure figcaption {
    padding-top: 25px;
    color: var(--white);
    background-color: var(--red);
    font-size: 24px;
    padding-bottom: 20px;
}
#lots-more {
    font-size: 12px;
    color: #202020;
    font-style: italic;
    font-family: sans-serif;
}

#projects {
    padding-top: 35px;
    height: 70vh;
    text-align: center;
    background-color: var(--blue);
    color: var(--white);
    border: 1px solid #da1333;
    
}
#projects h2{
    font-size: 30px;
}
.flex {
    padding: 50px;
}
#projects-flex {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    height: 85%;
    gap: 50px;
    justify-content: space-evenly;
    align-items: center;
}
#projects-flex div h3 {
    font-size: 22px;
    margin-bottom: 25px;
}
#projects-flex img {
    width: 400px;
    height: 250px;
    object-fit: cover;
}
#projects-flex::-webkit-scrollbar {
    width: 10px;
}  
#projects-flex::-webkit-scrollbar-track {
    background: #27479e;
}  
#projects-flex::-webkit-scrollbar-thumb {
    background: var(--red);
}  
#projects-flex::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}
#projects-flex::-webkit-scrollbar-corner {
    background: var(--blue);
}
#form-container {
    padding-left: 0px!important;
    padding-right: 0px!important;
    box-shadow: 15px 15px 15px 10px rgba(0, 0, 0, .1);
}  
/* GPT's: */ 
#contact-form-body {
    padding: 2rem;
    text-align: center;
  }
  
  .custom-input {
    width: 100%!important;
    height: 40px!important;
    line-height: 40px!important;
    border: 1px solid var(--blue)!important;
    background-color: var(--white)!important;
    -webkit-transition: 300ms ease all!important;
    -o-transition: 300ms ease all!important;
    transition: 300ms ease all!important;
    padding: 0 15px!important;
    font-size: 16px!important;
    border-radius: 2px!important;
    font-weight: 400!important;
    letter-spacing: .1em!important;
    color: var(--blue)!important;
  }

  .custom-select {
    --bs-form-select-bg-img: url(/img/select-webkit-arrow2.jpeg)!important;
    width: 100%!important;
    height: 40px!important;
    line-height: 40px!important;
    border: 1px solid var(--blue)!important;
    background-color: var(--white)!important;
    -webkit-transition: 300ms ease all!important;
    -o-transition: 300ms ease all!important;
    transition: 300ms ease all!important;
    padding: 0 15px!important;
    font-size: 12px!important;
    font-weight: 900!important;
    border-radius: 2px!important;
    letter-spacing: .1em!important;
    color: var(--blue)!important;
  }

  input::placeholder, textarea::placeholder {
    color: var(--blue)!important;
    font-size: 12px!important;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.5px;
  }
  input::-webkit-input-placeholder { color: var(--blue)!important; }
  input:-moz-placeholder { color: var(--blue)!important; }
  input::-moz-placeholder { color: var(--blue)!important; }
  input:-ms-input-placeholder { color: var(--blue)!important; }
  .custom-textarea::-webkit-textarea-placeholder { font-size: 12px!important; }
  .custom-textarea:-moz-placeholder { font-size: 12px!important; }
  .custom-textarea::-moz-placeholder { font-size: 12px!important; }
  .custom-textarea:-ms-textarea-placeholder { font-size: 12px!important; }
  
  button[type="submit"] {
    background-color: #C8102E;
    color: var(--white);
    padding: 14px 30px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid var(--white);
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }
  
  button[type="submit"]:hover {
    background-color: var(--white);
    color: var(--red);
    border: 1px solid var(--red);
  }
  
  /* till here */

.custom-textarea {
    -webkit-transition: 300ms ease all!important;
    -o-transition: 300ms ease all!important;
    transition: 300ms ease all!important;
    min-width: 100%!important;
    max-width: 100%!important;
    height: 120px!important;
    min-height: 120px!important;
    max-height: 200px!important;
    width: 100%!important;
    border: 1px solid var(--blue)!important;
    padding: 15px!important;
    font-size: 16px!important;
    letter-spacing: .1em!important;
    color: var(--blue)!important;
    border: 1px solid var(--blue)!important;
    border-radius: 2px!important;
}  
.custom-input:focus {
    border-color: rgba(37, 56, 117, 0.2)!important;
    box-shadow: none!important;
}
.custom-select:focus {
    border-color: rgba(37, 56, 117, 0.2)!important;
    box-shadow: none!important;
}
.custom-textarea:focus {
    border-color: rgba(37, 56, 117, 0.2)!important;
    box-shadow: none!important;
}
/* 
#certifications-flex div {
    height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
#certifications-flex div h3 {
    font-size: 22px;
}
#certifications h2 {
    padding: 20px;
    font-size: 30px;
    color: var(--blue);
    }
    #certifications {
        padding-top: 35px;
        height: 90vh;
        text-align: center;
        background-color: var(--white);
        color: var(--black);
        } */
#certifications-flex {    
    justify-content: space-evenly;
}
.certifications-img {
     min-width: 150px;
     max-width: 300px;
     height: 150px;
}
.site-footer {
    background-color: var(--blue);
    height: 78px;
    padding: 38px 0 13px 13px;
    color: var(--white);
    font-size: 12px;
    letter-spacing: .1em;
    line-height: 20px;
}
#about-img {
    object-fit: cover;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    float: right;
    margin: 13px;
}
.page-wrapper {
    padding: 30px;
}
.page-wrapper p {
    font-size: 20px;
    line-height: 33px;
    color: var(--black);
    font-weight: 400;
    margin-bottom: 20px;
}
#about-contact-link {
    color: var(--blue);
}
#about-contact-link:hover {
    color:#da1333;
}
#responsibility {
    text-transform: uppercase;
    font-weight: 800;
    color: var(--red);
}
.portfolio-img {
    max-width: 400px;
    max-height: 250px;
}
#contact-main {
    padding-top: 68px;
}
#contact-img {
    object-fit: cover;
    width: 50vw;
    margin-top: 20px;
}
#contact-div {
    display: flex;
}
#contact-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 3px 5px 0 gray;
}
#contact-top {
    box-shadow: 0 5px 10px 0 gray;
    width: 100%;
    background-color: var(--red);
    height: 125px;
    border-radius: 0 0 5px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
#contact-top p{
    text-align: center;
    font-weight: 900;
    font-size: 2.625rem;
    line-height: 2.625rem;
    color: var(--white);
}
#contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style-type: none;
    max-width: 80%;
    margin-left: 40px;
}
#contact-list li {
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: var(--black);
    overflow: hidden;
}
#contact-list li a{
    color: var(--blue);
}
#contact-list li a:hover {
    letter-spacing: .2rem;
}
@media only screen and (max-width: 1400px) {
    #certifications-flex {
        overflow-y: visible;
        overflow-x: scroll;
    }
}
@media only screen and (max-width: 1060px) {
    #contact-list li {
        font-size: 3vw;
    }
}
@media only screen and (max-width: 992px) {
    .toggling-width {
        width: 100%;
    }
    .packages-btn {
        text-align: start;
        height: 56.8px;
    }
    .order-btn {
        text-align: start;
        height: 56.8px;
    }
    .nav-item:not(:first-of-type) {
        border-bottom: 1px solid #da1333;
    }
    #navlist a {
        color: var(--black);
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .05rem;
    }
}
@media only screen and (max-width: 850px) {
    #projects {
        height: 90vh;
    }
    #projects-flex {
        height: 80%;
    }
}
@media only screen and (max-width: 576px) {
    #form-container {
        box-shadow: none;
    }  
    #contact-div {
        flex-direction: column-reverse;
        height: 100%;
        justify-content: space-between;
    }
    #contact-img {
        width: 100%;
    }
    #contact-list {
        margin-left: 100px; 
    }
    #contact-list li {
        font-size: 5vw;
    }
    .portfolio-img {
        max-height: 125px;
        max-width: 200px;
    }
}
@media only screen and (max-width: 468px) {
    #pricing-nowrap {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    #projects {
        padding-top: 35px;
        height: 60vh;
    }
    #projects-flex {
        height: auto;
        padding: 20px 20px 10px 20px;
    }
    #projects h2 {
        padding: 0px 20px;
    }
    #projects-flex div h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    #projects-flex img {
        width: 200px;
        height: 125px;
    }
    #about-img {
        float: none;
    }
    #contact-top {
        height: 70px;
    }
    #contact-top p {
        font-size: 5vw;
    }
    #contact-list {
        margin-left: 100px; 
    }
    #contact-list li {
        font-size: 4.5vw;
    }
    #projects-flex::-webkit-scrollbar-track {
        background: transparent;
    }  
    #projects-flex::-webkit-scrollbar-thumb {
        background: transparent;
    }  
    #projects-flex::-webkit-scrollbar-thumb:hover {
        background: transparent;
    }
    #projects-flex::-webkit-scrollbar-corner {
        background: transparent;
    }  
}