* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    background-image: url('img/star-large.svg');
    background-repeat: space;
    background-size: 10%;
}

.font1 {
  font-family: "Arvo", serif;
  font-weight: 700;
  font-style: italic;
}

.font1a {
  font-family: "Arvo", serif;
  font-weight: 700;
  font-style: italic;
}

.font2 {
  font-family: "Courgette", cursive;
  font-weight: 400;
  font-style: normal;
}

.fontSmall {
  font-family: "Arvo", serif;
  font-weight: 200;
  font-style: italic;
  font-size: 0.3em;
  margin-top:10px;
}

.header {
    background: rgb(159,0,0);
    background: linear-gradient(270deg, rgba(159,0,0,1) 0%, rgba(230,7,7,1) 50%, rgba(150,0,0,1) 100%);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    border-bottom: 32px ridge #0e2f9a;
    box-shadow: 0px 10px 12px rgb(21, 21, 21, 0.3);
    text-shadow: 6px 4px 2px #081b5c;
}

.header a {
        text-decoration: none;
        color: inherit;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
    }

.header h1 {
    padding-top: 50px;
    font-size: 10rem;
    text-align: center;
    line-height: 90px;
    text-shadow: 4px 4px 4px black;
}

.header h1 span {
    display: block;
    font-size: 3rem;
}

main {
    padding: 20px;
}

.candidate-info {
    text-align: center;
    margin-bottom: 40px;
}

.candidate-info h2 {
    font-size: 3.5em;
    display: block;
    font-size: 4em;
    color: #e2e2e2;
    border-radius: 12px;
    padding: 10px 0;
    background-color:rgba(230,7,7,1);
    border-bottom: 16px ridge #e52036;
    border-top: 16px ridge #e52036;
    text-shadow: 4px 4px 2px black;
}

.candidate-info h3 {
    display:inline-block;
    font-size: 2em;
    color: #e2e2e2;
    border-radius: 12px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 10px 30px;
    background-color:rgba(230,7,7,1);
    border-bottom: 10px ridge #e52036;
    border-top: 10px ridge #e52036;
    text-shadow: 2px 2px 2px black;
}

.video-container {
    position: relative;
    width: 76%;
    padding-bottom: 43.78%; /* 16:9 aspect ratio */
    height: 0;
    overflow:hidden;
    margin: 0 auto;
    border-radius: 12px;
}

.issues {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.issue {
    background-color: #001a4d;
    color: white;
    padding: 30px;
    padding-left: 40px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
}

.issue h4 {
    font-size: 1.8em;
    margin-bottom: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    border-bottom: 6px ridge #e52036;
}

.issue p {
    font-size: 1.2em;
    line-height: 1.7em;
}
.issue ul {
    font-size: 1.2em;
    line-height: 1.7em;
}

.checkmark {
    color: #e52036;
    font-size: 1.5em;
    margin-right: 20px;
    background-color: rgba(226, 226, 226, 0.12);
    border-radius: 8px;
    max-height: 35px;
    line-height: 20px;
}

footer {
    text-align: center;
    background-color: #001a4d;
    color: white;
    padding: 20px;
    font-size: 3em;
    margin-top: 30px;
}

/* Media query for mobile devices */
@media (max-width: 1024px) {
    .header a {
        text-decoration: none;
        color: inherit;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
    }
    
    .header h1 {
        font-size: 6rem;
        line-height: 60px;
    }
    
    .header h1 span {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header a {
        text-decoration: none;
        color: inherit;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
    }
    
    .header h1 {
        font-size: 6rem;
        line-height: 60px;
    }
    
    .header h1 span {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header a {
        text-decoration: none;
        color: inherit;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
    }
    
    .header h1 {
        font-size: 5rem;
        line-height: 50px;
    }

    .header h1 span {
        font-size: 1.5rem;
    }
}
