
@font-face {
font-family: "BebasNeue-Regular";
src: url("/static/fonts/BebasNeue-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}


*{
    font-family:'BebasNeue-Regular', sans-serif;
}

:root{
    --red-gradient:linear-gradient(145deg, #b30000, #8f0000);
    --blue-gradient:linear-gradient(180deg,rgba(0, 0, 139, 1) 50%, rgba(3, 3, 59, 1) 100%);
    --default-box-shadow:0 4px 14px rgba(0,0,0,0.25);
    --white-glow:rgba(252,252,252,0.9) 0px 0px 57px;
    --white-gradient:linear-gradient(180deg,rgba(193, 193, 222, 1) 50%, rgba(3, 3, 59, 1) 100%);
}
header{
    background-color:darkred;
    height:150px;
    text-align:center;
    font-size:50px;
    color:white;
    border-radius:15px;
    position:relative;
}

.contact-info{
    position:absolute;
    top:15px;
    right:20px;
    font-size:20px;
    font-weight:bold;
}

#sub-header{
    background:none;
    font-size:20px;
}

#top-nav{
    background-color:rgb(2, 2, 80);
    border-radius:10px;
}
.row-nav{
    display:flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size:20px;
    list-style:none;
    gap:30px;
    margin-bottom:30px;
    transition:1.5s ease;
}

.row-nav li{
    transition:0.2s ease;
}


.row-nav li:hover{
    cursor:pointer;
    scale:1.15;
    color: #ffffff;
    text-shadow:
        0 0 20px rgba(255,255,255,1),
        0 0 40px rgba(255,255,255,0.5);
}

body{
    min-height:100vh;
    background: var(--blue-gradient);
    background-repeat:no-repeat;
    background-attachment:fixed;
}

h1, h2, h3, h4{
    background: var(--red-gradient);
    display:flex;
    text-align:center;
    justify-content: center;
    align-items:center;
    margin-top:60px;
    color:white;
    width:auto;
    border-radius:15px;
    font-size:40px;
}


h4{
    font-size:20px;
    background: var(--blue-gradient);
}

h1{
    gap:20px;
}

.test-image{
    min-width:300px;
    min-height:300px;
    max-width: 450px;
    max-height:350px;
    border-radius:50%;
    border: 13px solid darkred;
    box-shadow:var(--default-box-shadow);
}

.test-image-2{
    min-width:300px;
    min-height:350px;
    max-width: auto;
    max-height:400px;
    border-radius:50%;
    border: 13px solid darkred;
    box-shadow:var(--default-box-shadow);
}

.test-image-2{
    min-width:350px;
    min-height:350px;
    max-width: auto;
    max-height:400px;
    border-radius:50%;
    border: 13px solid darkred;
    box-shadow:var(--default-box-shadow);
}

.jacob-bio-section{
    display:flex;
    flex-direction: row;
    justify-content: center;
    text-align: left;
    align-items: center;
    gap:15px;
	font-size:30px;
}


p{
   
    background:var(--red-gradient);
    color:white;
    padding:20px 28px;
    margin:20px 0;
    
    border-radius:16px;


    font-size:18px;
    line-height:1.8;
    box-shadow:0 4px 14px rgba(0,0,0,0.25);
}

a{
    color:white;
    text-decoration: none;
}
#vote-message{
    display:flex;
    justify-content: center;
    text-decoration: underline;
    font-size:40px;
}

/** ISSUES PAGE SPECIFICS*/


.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:25px;
    padding:30px;

    align-items:start;
}

.issue-card{
    background:var(--red-gradient);
    border-radius:18px;
    box-shadow:var(--default-box-shadow);
    overflow:hidden;
    transition:0.3s ease;
}

.issue-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--white-glow);

}

.issue-card summary{
    list-style:none;
    cursor:pointer;
    padding:22px;
    color:white;
    font-size:30px;
    text-align:center;
    transition:0.2s ease;
}

.issue-card summary:hover{
    text-shadow:
        0 0 15px rgba(255,255,255,0.9);
}

.issue-card summary::-webkit-details-marker{
    display:none;
}



.issue-card p, .district-list{

    max-height:200px;
    margin:0;
    padding:0 22px 22px 22px;

    background:none;
    box-shadow:none;
    border-radius:0;

    color:white;
    font-size:18px;
    line-height:1.6;

    overflow-y:auto;
}

.district-list{
    display:flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.help-btn{

    font-size:30px;
    padding: 6px 12px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    background:var(--red-gradient);
    color:white;

    box-shadow:var(--default-box-shadow);
}

.help-btn:hover{
    transform:scale(1.2)
}


.tooltip-container{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items:center;
}

.tooltip{
    position:relative;

    background:rgba(0,0,0,0.85);
    color:white;
    padding:10px 14px;
    border-radius:10px;

    font-size:20px;

    opacity:0;
    transform:translateY(-10px);
    pointer-events:none;

    transition:0.25s ease;
}

.tooltip.show{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}


#lookup-form{
    background: var(--red-gradient);
    display:flex;

    justify-content: center;
    align-items:center;
    text-align:center;
    border-radius:15px;
    gap:20px;
    height:60px;

	font-size:30px;

}

#lookup-form input{
    box-shadow:var(--default-box-shadow);
    border-radius:10px;
    width:230px;
    height:30px;
}


#result-text{
    background:none;
    width:auto;
    color:white;
    font-size:35px;
}
#district-result{
    background:none;
    font-size:35px;
}
#search-btn{
    background: var(--blue-gradient);
    border-radius:5px;
    color:white;
    font-size:20px;
}

@media screen and (max-width: 768px) {

    header {
        height: auto;
        padding: 20px;
        font-size: 32px;
    }

    .contact-info {
        position: static;
        font-size: 16px;
        margin-top: 10px;
    }

    .row-nav {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .jacob-bio-section {
        flex-direction: column;
        text-align: center;
    }

    .test-image,
    .test-image-2 {
        min-width: 200px;
        min-height: 200px;
        max-width: 80vw;
        max-height: 80vw;
    }

    h1 {
        flex-direction: column;
        font-size: 28px;
    }

    h2, h3 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
        padding: 15px;
    }

    .issue-card summary {
        font-size: 22px;
    }

    #lookup-form {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    #lookup-form input {
        width: 90%;
        max-width: 300px;
    }

    #search-btn {
        width: 150px;
        height: 40px;
    }
}