* {
    margin: 0;
}

@font-face {
    font-family: 'MyCustomFont';
    src: url('../fonts/AkzidenzGrotesk-BoldExtended.otf') format('opentype');
}

@font-face {
    font-family: 'SecondCustomFont';
    src: url('../fonts/AkzidenzGrotesk-Extended.otf') format('opentype');
}

@font-face {
    font-family: 'ThirdCustomFont';
    src: url('../fonts/AkzidenzGrotesk-ExtendedItalic.otf') format('opentype');
}

html {
    scroll-behavior: smooth;
}

h1, h2 {
    font-family: 'MyCustomFont';
    src: url('../fonts/AkzidenzGrotesk-BoldExtended.otf') format('opentype');
    padding-top: 5%;
}

h3 {
    font-family: 'ThirdCustomFont';
    font-size: 130%;
    src: url('../fonts/AkzidenzGrotesk-BoldExtended.otf') format('opentype');
}


body {
    font-family: 'SecondCustomFont';
    font-size: 100%;
}

.modal-body p {
    padding: 10%;
}

.col-md-8 p {
    font-size: 125%;
}


.relative-top {
    background-color: #f6e400; 
}

.navbar-nav {
    align-items: flex-end;
}

.navbar-nav>a {
    font-size: 150%;
}

.nav-link:hover {
    text-decoration: underline;
  }

.navbar-toggler-icon {
    width: 2em;
    height: 2em;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #292926;
    font-family: 'MyCustomFont';
}

.custom-toggler {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(41, 30, 38, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

.responsive-logo {
    width: 28vw;
}


.responsive-img {
    width: 100%;
    height: auto;
}

#about, #contact {
    padding: 10em 0;
}

#contact {
    padding: 3em 0;
}

.col-sm-4>img {
    margin: 4em 0;
}

.modal-img, .modal-body>img  {
    width: 100%;
}

.modal-footer, .modal-header {
    justify-content: center;
    font-size: 120%;
}

.modal-img {
    transition: transform 0.3s ease;
}

.modal-img:hover {
    transform: scale(1.1);
}

/* for the fields in the contact form */
.form-control {
    margin: 1em 0;
}

footer {
    background-color: #f6e400;
    height: 15vh;
}

footer .uparrow {
    font-size: 300%;
    line-height: 100%;
    font-family: 'MyCustomFont';
    color:  #292926;
}

.uparrow:hover{
    color: white;
  }

footer>a {
    text-decoration: none;
} 
  
/* Extra left padding on the menu items */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 2.5rem;
    }
}

/* .col-4 img {
    width: 530px;
} */

#display-4 {
    text-align: right;
}

#portfolio {
    padding: 300px 0px 300px 0px;
    background-color: #292926;
}

#contact {
    color: white;
    background-color: #292926;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons img {
    width: 60px;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f6e400;
    padding-top: 5%;
    padding-bottom: 7%;
}

.col-4 img {
    width: 140%;
    height: auto;
}

