html, body {
    cursor: url(cursor.png), auto !important;
}

* {
    box-sizing: border-box;
    margin: 0%;
    padding: 0%;
    font-family: "Darker Grotesque" !important;
}
/*--------------- navigation --------------- */

.nav {
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 2;
}

.nav.scrolled {
    background-color: #161616 !important;
    transition: background-color 500ms linear;
}
.nav{
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 2;
    background-color: #161616 !important;

}

.nav #brand {
    float: left;
    display: block;
    margin-left: 40px;
    line-height: 80px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}

.nav #brand a {
    color: #fff;
    font-family: Poppins !important;
    transition: all 500ms ease-out;
}

.nav #brand a:hover {
    text-decoration: none;
}

.nav #menu {
    float: left;
    right: 40px;
    position: fixed;
}

.nav #menu li {
    padding-left: 40px;
    display: inline-block;
    font-weight: lighter !important;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 80px;
    position: relative;
    transition: all 500ms ease-out;
}

.nav #menu li a {
    font-family: Poppins !important;
    color: rgb(156, 156, 156);
    transition: all 500ms ease-out;
}

.nav #menu li a:hover {
    text-decoration: none;
    color: #fff;
    transition: all 500ms ease-out;
}

#toggle {
    position: absolute;
    right: 40px;
    top: 20px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    width: 30px;
    height: 30px;
    float: right;
    transition: all 0.3s ease-out;
    visibility: hidden;
    opacity: 0;
}

.close-btn {
    position: absolute;
    right: 30px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    top: -2px;
    line-height: 80px;
}

#resize {
    z-index: 2;
    top: 0px;
    position: fixed;
    background: #0f0f0f;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 1s ease-out;
}

#resize #menu {
    height: 90px;
    position: absolute;
    left: 45%;
    transform: translateX(-40%);
    text-align: center;
    display: table-cell;
    vertical-align: center;
}

#resize #menu li {
    display: block;
    text-align: center;
    padding: 10px 0;
    font-size: 50px;
    text-transform: uppercase;
    min-height: 50px;
    font-weight: bold;
    transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
    margin-top: 140px;
}

#resize #menu li a {
    color: #fff;
}

#resize #menu li a:hover {
    text-decoration: none;
}

#resize.active {
    visibility: visible;
    opacity: 1;
}

.pdf-container {
    float: left;
    width: calc(33.333% - 20px); /* Adjust the width as needed */
    height: 300px; /* Adjust the height as needed */
    margin: 5px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    position: relative; /* Add this line */
    padding: 10px;
    text-align: center;
    font-size: 11px;
    padding-bottom: 16px;
    margin-top: 80px; /* height of the navbar */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease-out; /* Add this line */
}

.pdf-container:hover {
    transform: scale(1.05); /* Add this line */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Add this line */
}

.pdf-container .pdf-image {
    height: 80%; /* adjust height as needed */
    overflow: hidden;
}

.pdf-container .pdf-image img {
    width: 100%;
    height: auto;
}

.pdf-container .pdf-info {
    height: 20%; /* adjust height as needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pdf-container .pdf-info .company-name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

.pdf-container .pdf-info .pdf-name {
    font-size: 14px;
    margin-bottom: 0;
}

/* Adjustments for responsiveness */
@media(max-width: 900px) {
    .pdf-container {
        width: calc(50% - 20px); /* 50% minus the margin */
    }
}

@media(min-width: 1200px) {
    .pdf-container {
        width: calc(25% - 20px); /* 25% minus the margin */
    }
}

@media(max-width: 900px) {
    #toggle {
          visibility: visible;
          opacity: 1;
          margin-top: 6px;
          margin-right: 4px;
    }

    nav #brand {
          margin-left: 10px;
    }

    #resize ul li a {
          font-size: 15px;
          font-family: "Poppins" !important;
          font-weight: lighter !important;
          color: rgb(156, 156, 156) !important;
          transition: all 500ms ease-out;
    }

    nav #menu {
          display: none;
    }
}

@media(min-width: 900px) {
    #resize {
          visibility: hidden !important;
    }
}