/* Background image for pain page */
body {
    margin: 0;
    min-height: 100vh;
    background-image: url("images/background_JDM_forrest.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.main-block {
    background-color: rgba(53, 51, 65, 1);
    position: absolute;
    top: 30%;
    right: 30%;
    z-index: 1;
    padding: 0%;            /* relative padding */
    border-radius: 3px;
    text-align: center;
    width: 40%;             /* block fills up to 90% of screen width */
    max-width: 600px;       /* but never wider than 600px */
    border: 2px solid rgba(236, 236, 236, 1);
    height: 32%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.top-section {
    background-color:rgb(72, 65, 110);
    position: absolute;
    top: 30%;
    right: 30%;
    z-index: 2;
    padding: 0%;
    border-radius: 3px;
    text-align: left;
    line-height: 0%;
    width: 40%;
    height: 4%;
    border: 2px solid rgba(236, 236, 236, 1);
}

.bottom-bar-section {
    background-color:rgb(72, 65, 110);
    position: absolute;
    top: 95%;
    right: 0%;
    z-index: 0;
    width: 100%;
    height: 5%; 
    border: 2px solid rgba(53, 51, 65, 1);
}

.sticky-note {
    position: absolute;
    top: 5%; 
    right: 78%;
    background-image: url("images/sticky-note.png");
    width: 20%;
    aspect-ratio: 1/1;
    background-size: contain;
    background-repeat: no-repeat;
    text-align: left;
    background-size: contain;
    margin: 0;
    padding: 0;
    line-height: 0.6;
    
}

.iRacing-logo {
    position: static;
    width: 50%;
    aspect-ratio: 1/1;
    background-size: contain;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0;
    padding: 0;
    line-height: 0;
    cursor: pointer; 
}

.Instagram-logo {
    position: static;
    width: 50%;
    aspect-ratio: 1/1;
    background-size: contain;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0;
    padding: 0;
    line-height: 0;
    cursor: pointer; 
}

.YouTube-logo {
    position: static;
    display: block;
    width: 60%;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0;
    padding: 0;
    line-height: 0;
    cursor: pointer; 
}

.hidden-box-folder {
    display: none;             
    position: absolute;       
    top: 15%;                    
    right: 20%;
    width: 30%; 
    height: 50%;
    background-color: rgb(255, 228, 107);
    padding: 0;
    border-radius: 1px;
    z-index: 50;
    border: 2px solid rgba(236, 236, 236, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.box-header-folder {
    display: none;
    background-color:rgb(219, 215, 77);
    position: absolute;
    top: 15%; 
    right: 20%;
    z-index: 11;
    padding: 0;
    border-radius: 3px;
    width: 30%;
    height: 4%;
    border: 2px solid rgba(236, 236, 236, 1);
    text-align: left;
    line-height: 0;
}

.hidden-box-car{
    display: none;             
    position: absolute;       
    top: 15%;                    
    right: 20%;
    width: 70%; 
    height: 70%;
    background-color: rgba(53, 51, 65, 1);
    padding: 0;
    border-radius: 3px;
    z-index: 12;
    border: 2px solid rgba(236, 236, 236, 1);
}

.box-header-car {
    display: none;
    background-color:rgb(72, 65, 110);
    position: absolute;
    top: 15%; 
    right: 20%;
    z-index: 13;
    padding: 0;
    border-radius: 3px;
    text-align: left;
    width: 70%;
    height: 4%;
    border: 2px solid rgba(236, 236, 236, 1);
    line-height: 0;
}

.hidden-box-people{
    display: none;         
    position: absolute;       
    top: 15%;                    
    right: 20%;
    width: 70%; 
    height: 70%;
    background-color: rgba(53, 51, 65, 1);
    padding: 0;
    border-radius: 3px;
    z-index: 12;
    border: 2px solid rgba(236, 236, 236, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.box-header-people {
    display: none;
    background-color:rgb(72, 65, 110);
    position: absolute;
    top: 15%; 
    right: 20%;
    z-index: 13;
    padding: 0;
    border-radius: 3px;
    text-align: left;
    width: 70%;
    height: 4%;
    border: 2px solid rgba(236, 236, 236, 1);
    line-height: 0;
}

.hidden-box-donations {
    display: none;         
    position: absolute;       
    top: 15%;                    
    right: 20%;
    width: 70%; 
    height: 70%;
    background-color: rgba(53, 51, 65, 1);
    padding: 0;
    border-radius: 3px;
    z-index: 12;
    border: 2px solid rgba(236, 236, 236, 1);
}

.box-header-donations {
    display: none;
    background-color:rgb(72, 65, 110);
    position: absolute;
    top: 15%; 
    right: 20%;
    z-index: 13;
    padding: 0;
    border-radius: 3px;
    text-align: left;
    width: 70%;
    height: 4%;
    border: 2px solid rgba(236, 236, 236, 1);
    line-height: 0;
}

.folder {
    position: absolute;
    top: 10%; 
    right: 5%;
    width: 20%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iRacing-main {
    position: absolute;
    top: 80%; 
    right: 92%;
    width: 8%;
    height: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.iRacing-main p {
    margin: 0;
}

.Instagram-main {
    position: absolute;
    top: 65%; 
    right: 90%;
    width: 8%;
    height: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    z-index: 3;
}

.YouTube-main {
    position: absolute;
    top: 52%; 
    right: 90%;
    width: 8%;
    height: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: pointer;
    z-index: 3;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 80%;                  
    gap: 5%;  
    height: 87%; 
    margin: 3%;                
}

.grid-item {
    background-color: rgba(72, 65, 110, 1); 
    border-radius: 2px;
    padding-top: 0;
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 10%;
    width: 100%; 
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 0px solid rgb(27, 26, 33);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.team-member-icon-container a {
    text-decoration: none;   /* removes underline */
    display: inline-block;   /* ensures proper sizing */
}

.team-member-icon-container a i {
    font-size: 12px;       
    color: white;           
    line-height: 1;         
    cursor: pointer;        
    transition: color 0.2s;  
}

.team-member-icon-container a:hover i {
    color: #230b28;          
}

/* Font Section */
.pixel-font-top {
    font-family: 'Silkscreen', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    color:rgb(255, 255, 255);
    padding-left: 2%;
}

.pixel-font-top-pop-up {
    position: absolute;
    font-family: 'Silkscreen', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    color:rgb(255, 255, 255);
    padding-left: 2%;
    z-index: 13;
    top: 0px;
}

.pixel-font-large {
    font-family: 'Silkscreen', monospace;
    font-size: 30px;
    letter-spacing: 1px;
    color:rgb(255, 255, 255)
}

.pixel-font-large-photo {
    position: static; 
    top: 5%; 
    font-family: 'Silkscreen', monospace;
    font-size: 24px;
    letter-spacing: 1px;
    color:rgb(255, 255, 255);
    margin: 0; 
    padding: 0;
}

.pixel-font-large-photo-text-small {
    position: static; 
    top: 5%; 
    font-family: 'Silkscreen', monospace;
    font-size: 18px;
    letter-spacing: 1px;
    color:rgb(255, 255, 255);
    margin: 0; 
    padding: 0;
}

.pixel-font-large-bottom {
    font-family: 'Silkscreen', monospace;
    font-size: 15px;
    letter-spacing: 1px;
    color:rgb(255, 255, 255);
    text-align: center;
    padding: 0;
}

.sticky-note-font-title {
    font-family: "patrick-hand", cursive;
    font-size: 30px;
    letter-spacing: 1px;
    color:rgb(187, 42, 42);
    transform: rotate(2deg);
    z-index: 3;
    padding-top: 15%;
    padding-left: 10%;
}

.sticky-note-font-tasks {
    font-family: "patrick-hand", cursive;
    font-size: 20px;
    letter-spacing: 1px;
    color:rgb(0, 0, 0);
    transform: rotate(2deg);
    z-index: 3;
    padding-left: 10%;
}

.pixel-font {
    font-family: 'Silkscreen', monospace;
    font-size: 14px;
    letter-spacing: 1.5px;
    color:rgb(255, 255, 255);
    padding-left: 0%;
    text-align: center;
}

.pixel-font-small {
    font-family: 'Silkscreen', monospace;
    font-size: 12px;
    letter-spacing: 1.5px;
    color:rgb(255, 255, 255);
    padding-left: 0%;
    text-align: center;
}

.pixel-font-folder {
    font-family: 'Silkscreen', monospace;
    font-size: 14px;
    letter-spacing: 1.5px;
    color:rgb(255, 255, 255);
    padding-left: 0%;
    text-align: center;
}

.highlight {
    background-color: rgb(53, 51, 65, 0.8);  
    padding: 0;         
    border-radius: 2px;   
    top: 30%; 
    right: 50%;
    font-family: 'Silkscreen', monospace;
    font-size: 14px;
    letter-spacing: 1.5px;
    color:rgb(255, 255, 255);
    padding-left: 0%;
    text-align: center;
}

.highlight-iRacing {
    position: static;
    background-color: rgb(53, 51, 65, 0.8);  
    padding: 0;         
    border-radius: 2px;   
    top: 0%; 
    left: 0%;
    font-family: 'Silkscreen', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color:rgb(255, 255, 255);
    padding-left: 0%;
    text-align: center;
    line-height: 0;
}

.highlight-Instagram {
    position: static;
    background-color: rgb(53, 51, 65, 0.8);  
    padding: 0;         
    border-radius: 0px;   
    top: 0%; 
    left: 0%;
    font-family: 'Silkscreen', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color:rgb(255, 255, 255);
    padding-left: 0%;
    text-align: left;
    line-height: 0;
}

.highlight-YouTube {
    position: static;
    background-color: rgb(53, 51, 65, 0.8);  
    padding: 0;         
    border-radius: 0px;   
    top: 0%; 
    left: 0%;
    font-family: 'Silkscreen', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color:rgb(255, 255, 255);
    padding-left: 0%;
    text-align: left;
    line-height: 0;
}

.team-member-icon-container { 
    top: 90%; 
    flex-direction: row;
}

.Instagram-hyperlink {
    text-decoration: none;
}

.Instagram-hyperlink p {
    margin: 0;        
}

.YouTube-hyperlink {
    text-decoration: none;
}

.YouTube-hyperlink p {
    margin: 0;        
}


/* icon section */

.icon-row {
    display: flex;             
    justify-content: space-around; 
    align-items: center;         
    margin-top: 20px;
    gap: 10%;
    z-index: 8;
}

.icon-box {
    display: flex;
    flex-direction: column; 
    align-items: center;     
    cursor: pointer;
}

.icon-car {
    color: rgb(255, 255, 255);
    font-size: 30px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
}

.icon-people {
    color: rgb(255, 255, 255);
    font-size: 30px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
}

.icon-donations {
    color: rgb(255, 255, 255);
    font-size: 30px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
}

.icon-x {
    position: absolute; 
    top: 10%;
    right: 1%;
    color: rgb(255, 255, 255);
    font-size: 20px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
}

.icon-row-bottom {
    display: flex;             
    justify-content: end; 
    padding-right: 4%;
    align-items: center;         
    gap: 3%;
}

.icon-settings {
    position: absolute; 
    top: 10%;
    color: rgb(255, 255, 255);
    font-size: 20px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
    padding-top: 0.25%;
}

.icon-wifi {
    position: absolute; 
    top: 10%;
    color: rgb(255, 255, 255);
    font-size: 20px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
    padding-top: 0.25%;
}

.icon-trash {
    position: absolute; 
    top: 10%;
    color: rgb(255, 255, 255);
    font-size: 20px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
    padding-top: 0.25%;
}

.icon-folder-open {
    top: 0;
    right: 0;
    color: rgb(255, 228, 107);
    font-size: 40px;
    cursor: pointer;  
    display: block;   
    margin: 0 auto;    
    padding-right: 0%;
    padding-top: 0;
    z-index: 1;
}

.fi-brands-linkedin {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 0 black;
    z-index: 15;
    font-size: 18px;
    line-height: 0;
}

.fi-brands-instagram {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 0 black;
    font-size: 18px;
    z-index: 15;
    line-height: 0;
}

.fi-rr-envelope {
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 0 black;
    font-size: 18px;
    z-index: 15;
    line-height: 0;
}

/*Picture Classes*/

.Team-Member-Picture {
    position: static; 
    top: 0; 
    margin-top: 5%;
    right: 10%; 
    aspect-ratio: 1/1;
    width: 70%;

}