
:root
{
    --background_color1: #ffffff;
    --background_color2: hsl(244.08deg 100% 84.73% / 50%);
}


body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;

    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background: var(--background_color1);
    background: radial-gradient(circle, var(--background_color1) 0%, var(--background_color1) 50%, var(--background_color2) 100%);
}

.title{
    font-family: Times New Roman ,serif;
    font-size: 1.7rem;
    font-weight: 900;
    margin-left: 15px;
}

#background
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    z-index: -10;
    transition: all 0.5s ease-out;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) scale(0.5) rotate(360deg);
    }
}


.vert-line{
    border-left: #A01C3E solid 1px;
}

a
{
    text-decoration: none;
    color: #000;
}

.navbar{
    display: flex;
    height: auto;
    width: 100%;
    border-bottom: #d0d0d0 solid 1px;
    position: sticky;
    align-items: center;
    justify-content: space-between;
}

.logo-div{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
}

.nav-container{
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    
}

.logo{
    width: 6.25rem;
    height: 4rem;
    transform: rotate(339deg);
}

.search-bar{
    background-color: #fff;
    display: flex;
    position: relative;
    border: #cccccc solid 1px;
    height: 2rem;
    padding: 0.5rem;
    padding-right: 10%;
    margin: 0.5rem 0.5rem;
    border-radius: 1.5rem;
    width: 40%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); 

}

.search
{
    margin-left: 1rem;
}

.search::placeholder
{
    color: #A01C3E;
    opacity: 60%;
}

.loop-icon{
    position: absolute;
    top: 15%;
    right: 2%;
    justify-self: right;
    color: #A01C3E;
    padding: 0.5rem;
    border-radius: 50%;
}

.search{
    outline: none;
    width: 45%;
    border: none;
    border-color: transparent;
    color:#A01C3E;
}


.card{
    position: relative;
    margin: 3% 2%;
    width: 18rem;
    border: solid 1px #00000012;
    border-radius: 10px;
    box-shadow: 7px 8px 20px -5px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    background-color: rgba(255, 255, 255, 0.238);
}

.card:hover{
    box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    transition: 0.250s;
}

p{
    font-family: "Microsoft Sans Serif";
    font-size:16px;
    margin: 0.5% 0;
}

p.company-name{
    font-weight:500;

}

p.deadline{
    color: #5d5d5d;
}

p.tags{
    color: #5d5d5d;
}

.offer-img{
    border-radius: 10px 10px 0px 0px;
    width: 100%;
}

#book-container{
    display: flex;
    
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.offer-info
{
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.offer-info-container{
    width: 85%;
}
.hidden
{
    display: none;
}


/* footer styles */

.footer {
    background-color: #1f2937;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.contact-section{
    width: 60%;
}
.contact-section h2 {
    font-size: 32px;
    color: #f9fafb;
}

.contact-section p {
    max-width: 400px;
    line-height: 1.6;
    margin: 20px 0;
    color: #9ca3af;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons a img {
    width: 30px;
    height: 30px;
}

.contact-info {
    width: 40%;
    display: flex;
    gap: 20px;
}

.contact-info div {
    background-color: #374151;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.25);

    border-top-left-radius: 0;
    border-bottom-right-radius: 0;

}

.contact-info div a {
    color: #e5e7eb;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    gap: 10px;
    height: 8rem;
}

.contact-info div img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-info div span {
    font-size: 16px;
}

.linkedIn p
{
    text-align: center;
}

#uploadForm
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

#uploadForm input
{
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: transparent;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.2);
    width: 15rem;
}

#uploadForm label
{
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #4690ff;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.2);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#upload_pdf
{
    padding: 50px;
}

#uploadForm #upload
{
    background: #2adf73;
    color: white;
    font-weight: bold;
    width: 5rem;
    cursor: pointer;
}

#submit_info
{
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 100 !important;
}

#total-books{
    width: 25%;
    margin: 0 auto;
    margin-top: 20px;
    /* blurred background */

}

#total-books-count{
    text-align: center;
}
.line{
    border-top: #545454 solid 1px;
    margin: 5px 0;
}



