@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

@font-face {
    font-family: 'Ace Sans Medium';
    src: url('AceSansMedium.woff2') format('woff2')
  }


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    text-align: center;
    align-items: center;
    color: white;
    border: none;
}

body {
    background-color: black;
    background-image: url(images/bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(15pt, 15pt + .8vw, 18pt);
    letter-spacing: .1rem;
    font-weight: 300;
}

b {
    font-weight: 700;
}

h1 {
    padding: .5rem;
    font-weight: 700;
    font-size: clamp(18pt, 18pt + .8vw, 20pt);;
}

.line {
    background-color: #afafaf; /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, #3d3d3d, #afafaf, #3d3d3d);
    background-position: center;
    background-repeat: no-repeat;
    height: .2rem;
}

.header {
    width: 100%;
    z-index: 90;
    display: block;
}

.header-logo {
    background-color: black;
}

.header-logo img {
    height: auto;
    width: auto;
    max-width: 90%;
    min-width: 150px;
}

header nav {
    position: relative;
    z-index: 10;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #454545; /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, #323232, #454545, #323232);
}

header nav ul {
    display: flex;
}

header nav ul > li {
    flex: 1;
}

header nav li a, header nav label, header nav i {
    display: block;
    text-transform: uppercase;
    color:#989898;
    font-family: "Ace Sans Medium";
    letter-spacing: .3rem;
    padding: .5rem 2rem;
}

header nav li a:hover {
    background-color: #555;
}

header nav label {
    position: relative;
    display: none;
}

#menu-toggle {
    display: none;
}

.content {
    background-image: url(images/bg_bottom.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: bottom;
    background-size: 100% auto;
    padding-top: 2.5%;
    padding-bottom: 10%;
    z-index: 5;
}

.content-wrapper {
    width: 100%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background-color: black;
}

.footer ul {
    flex-direction: column;
    padding: .5rem;
    column-count: 3;
}

.footer li {
    text-transform: uppercase;
    display: block;
    /* font-size: clamp(12px, 16px + .8vw, 26px); */
    padding: .2rem;
    letter-spacing: 0;
}

.footer li i {
    padding-right: .3rem;
}

.BusinessTitle {
    font-weight: bold;
}


@media (max-width: 499px), (orientation: portrait) {

    body, h1 {
        font-size: clamp(2rem, 2.2rem + .8vw, 2.5rem);;
    }

    header nav {
        position: absolute;
        flex-direction: column;
    }

    header nav label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        padding: 1.5rem;
    }

    #menu-toggle:checked ~ ul {
        display: flex;
    }
    
    #menu-toggle {
        display: none;
    }
      
    header nav ul {
        display: none;
        flex-direction: column;
        transition: all 2s;
        padding-top: 2rem;
        width: 100vw;
    }

    header nav li {
        width: 100%;
    }    
    
    header nav li a {
        padding: 3rem;
    }

    header nav i {
        padding: 0;
    }
    
    .content {
        padding-top: calc(5rem + 2.5%);
    }

    .footer ul {
        column-count: 1;
    }

    .BusinessTitle {
        padding-top: 10rem;
    }
}

@media (pointer: coarse)  {
	/* mobile device */
}

@media (pointer: fine), (pointer: none) {
	/* desktop */
}

@media (pointer: fine) and (any-pointer: coarse) {
	/* touch desktop */
}


/* Home */

.logos div {
    position: relative;
    width: 140px;
    height: 140px;
    background-color: white;
    margin: .2rem;
}


.logos img {
    position: relative;
    width: 40%;
    padding: 2px;    
}

.logos {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.animation {
    width: 100%;
    max-width: 950px;
}

/* Mission */

.greenbergtraurig {
    max-width: 90%;
    padding: 1.5rem;
}

/* Portfolio */

.investments {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px, 1fr));
    align-items: start;
    justify-content: center;
 }

 .investments img:hover {
    width: 110%;
    max-width: 160px;
    height: 110%;
 }

.investments > * {
    align-self: flex-start;
}

.investments {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    vertical-align: bottom;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
/*
 .investments div {
    position: relative;
    width: 140px;
    height: 160px;
    background-color: white;
    margin: .2rem;
}


.investments img {
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    
}

.investments {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    vertical-align: bottom;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* Contact */

.logosmall {
    max-width: 90%;
    padding: 1.5rem;
}

.email {
    position: relative;;
    display: block;
    width: 100%;
    max-width: 600px;
    background-color: rgba(0,0,0,0.4);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
    justify-content: left;
    align-items: left;
    border: 2px solid #868282;
    padding: 3rem;
    border-radius: .5rem;
    color: black;
}

.email p {
    padding-bottom: 1rem;
}

#contact-form {
    width: 100%;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    height: 2rem;
    margin: .5rem;
    padding: .5rem;
    text-align: left;
    font-size: 1.3rem;
    color: black;
    border-radius: .5rem;
    background-color: rgba(255, 255, 255, 0.8);
}

#contact-form textarea {
    height: 10rem;
}

#contact-form div {
    margin-top: 1rem;
}

#contact-form button {
    font-size: 1.3rem;
    width: 6rem;
    height: 2rem;
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: .5rem;
}