﻿.portalCard {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.portalCardBottom {
    display: flex; /* Makes the container a flex container */
    align-items: center; /* Vertically aligns the children */
}

.portalCardLogo {
    display: flex; /* Enables flexbox for centering image */
    align-items: center; /* Centers the image vertically */
    justify-content: flex-start; /* Aligns the image to the left within the logo div */
    max-width: 160px; /* Maximum width of the logo container */
    height: 70px; /* Fixed height to match your design */
}

    .portalCardLogo img {
        max-height: 60px;
        margin-left: 20px; /* Margin from the left */
    }

.portalCardLink {
    display: flex; /* Ensures the link is also a flex container, useful if you add more content */
    align-items: center; /* Vertically centers the hyperlink text */
    margin-left: 20px; /* Adds space between the logo and the link */
    text-align:left;
    padding:5px 15px;
}
.portalSemiTitle {
    display: block;
    font-family: 'United Sans SemiCond Black';
    font-size: 40px;
    color: #003764;
    text-align: center;
}

.portalSmallTitle {
    display: block;
    font-family: 'United Sans SemiCond Black';
    font-size: 30px;
    color: #003764;
    text-align: left;
}

.portalParagraph {
    font-family: 'United Sans Cond Medium';
    font-size:27px;
    margin:40px 0px;
}

.portaMainTitle {
    display: block;
    font-family: 'United Sans SemiCond Black';
    font-size: 50px;
    color: white;
    text-align: center;
}

.portalSubTitle {
    font-family: 'United Sans SemiCond Medium';
    font-size: 35px;
    margin: 15px 0 5px 0;
}

.overlay-text {
    position: absolute;
    top: 25%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
}

.articlecontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.articlecontainer .articleitem {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 0 0 calc(33.333% - 40px);
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    transition: transform 0.2s;
}

.articlecontainer .articleitem:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.articletitle {
    font-size: 20px;
    font-weight: bold;
    font-family: ProfileRegular;
}

.articletitle a {
    color: #7c7c7c;
}

.articletitle::after {
    content: "";
    display: block;
}

.leadin {
    margin-top: 10px;
}

.portal-link-wrapper {
    display: flex;
    flex-direction: row; /* Keep items in a row by default */
    flex-wrap: wrap; /* Allow items to wrap to new lines as needed */
    align-items: center; /* Vertically center items in their container */
    padding: 7px; /* Add padding around the container for spacing */
    background-color: #f5f5f5; /* Set a light grey background for the wrapper */
    gap: 5px; /* Define a gap between elements */
}

    .portal-link-wrapper a {
        text-decoration: none; /* Remove the underline from links */
        color: #ffffff; /* Set the text color to white */
        font-weight: bold; /* Increase font weight for emphasis */
        padding: 3px 6px; /* Add padding to links for better touch targets and visual appeal */
        background-color: #007bff; /* Use a dark blue background */
        border: none; /* Remove borders */
        border-radius: 5px; /* Round the corners of the links */
        display: inline-flex; /* Use inline-flex to allow for alignment properties */
        align-items: center; /* Center the link content vertically */
        justify-content: center; /* Center the link content horizontally */
        cursor: pointer; /* Change the cursor to indicate clickable items */
        transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions for hover states */
    }

        .portal-link-wrapper a:hover,
        .portal-link-wrapper a:focus {
            background-color: #5095e0; /* Lighten the background color on hover/focus */
            transform: translateY(-2px); /* Slightly raise the link to create a subtle effect */
        }



.portal-subtitle {
    font-family: ProfileBolder;
    color: #0f2355 !important;
    font-size: 23px;
    text-align: center;
    margin: 20px 0px;
}

.repeaterContainer .coolTable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

    .repeaterContainer .coolTable th {
        background-color: #0F2355;
        color: #FFFFFF;
        padding: 10px;
        text-align: left;
    }

    .repeaterContainer .coolTable td {
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    .repeaterContainer .coolTable tr.alt {
        background-color: #f2f2f2;
    }

.teamName {
    font-weight: bold;
}




/*player containers*/
.tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 5px;
}

.tilePlayer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3px;
    padding: 3px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 1.1s ease;
}


.tile-image-container {
    position: relative;
    display: inline-block;
}

    .tile-image-container .img-responsive {
        display: block;
        width: 110px;
        height: auto;
        border-radius: 8px;
    }

.tile-overlay, .tile-overlay-link {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 9px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    border: solid 1px white;
    text-align: center;
    line-height: 24px;
}

    .tile-overlay-link:hover {
        background-color: rgba(0, 123, 255, 0.9);
    }

.tilePlayer .tileinfo {
    text-align: center;
    color: #666;
    margin: 5px 0;
}

.tilePlayer .tileinfo {
    font-size: 26px;
    font-weight: bold;
    color: white; /* Set text color to white */
    text-shadow: -1px -1px 0 #0f2355, 1px -1px 0 #0f2355, -1px 1px 0 #0f2355, 1px 1px 0 #0f2355, 0 0 2px #0f2355, /* Slight blur for smoothing */
    2px 2px 2px rgba(0, 0, 0, 0.3); /* Soft shadow for depth with a bit of blur */
    -webkit-font-smoothing: antialiased; /* For WebKit browsers */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
}

tilePlayer .tileinfo {
    font-size: 16px;
    color: #007bff;
}

.tilePlayer .tileplayer-name {
    font-size: 15px;
    color: #333;
    font-weight: bold;
    margin-top: 3px;
}

.tilePlayer:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: scaleUp 0.7s forwards;
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.eye-catching-link {
    display: inline-block; /* Necessary for applying padding and margin */
    text-decoration: none; /* Remove underline */
    color: #FFFFFF; /* White text color */
    background-color: #FF5733; /* Vibrant background color */
    padding: 10px 20px; /* Padding around the text for a larger click area */
    border-radius: 25px; /* Rounded corners for a modern look */
    font-weight: bold; /* Make the text bold */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: transform 0.2s ease, background-color 0.3s ease; /* Smooth transition for hover effects */
}

    .eye-catching-link:hover, .eye-catching-link:focus {
        transform: translateY(-5px); /* Slightly raise the link to create a hover effect */
        background-color: #FF8C59; /* Lighten the background on hover/focus */
        text-decoration: none; /* Ensure the underline doesn't reappear on hover */
        color: #FFFFFF; /* Keep text color constant */
    }
.previousrank
{
    margin-top:15px;
    color:dimgray;
}

.portalCopy {
    font-family: 'United Sans Cond Medium';
    font-size: 27px;
    margin: 40px 0px;
}

@media (max-width: 1200px) {
    .portalSubTitle {
        white-space: nowrap;
    }

    .portalParagraph {
        font-size: 18px !important; 
    }

    .portalCopy {
        font-family: 'United Sans Cond Medium';
        font-size: 20px;
        margin: 40px 0px;
    }
}

@media (max-width: 991px) {
    .portalSubTitle{
        font-size: 20px;
    }

    .portalParagraph {
        font-size: 14px !important;
    }
}


/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .portal-link-wrapper {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    .portalSubTitle {
        font-size: 30px;
        text-align: center;
    }

    .portalParagraph {
        font-size: 18px !important;
        position: relative;
        text-align: center;
        margin: 0px;
        height: auto !important;
        margin-bottom: 50px !important;
    }

    .portalContentContainer{
        margin: 0px;
    }

    .portalHyperLink {
        height: auto;
        width: auto;
        align-content: center;
    }

    .pgButton {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        display: block;
        margin-top: 20px;
    }

    .portal-link-wrapper a {
        width: 100%; /* Make links stretch to fill the full width of their container */
        box-sizing: border-box; /* Ensure padding and border are included in the total width calculation */
    }

    .articlecontainer .articleitem {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    .portaMainTitle {
        display: block;
        font-family: 'United Sans SemiCond Black';
        font-size: 30px;
        color: white;
        text-align: center;
        line-height: 30px;
        margin-bottom: 20px;
        white-space: nowrap;
    }

    .overlay-text {
        position: absolute;
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%);
    }
}
