html,body{
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;

}


body.bg-blue{
    background: rgb(105,212,255);
    background: linear-gradient(160deg, rgba(105,212,255,1) 0%, rgb(0, 82, 204) 100%);
}
body.bg-green{
background: rgb(105,212,255);
    background: linear-gradient(160deg, rgb(30, 144, 255) 0%, rgb(5, 185, 14) 100%);
}

keyframes bg {
    0% {
        background-size: 600%;
        background-position: top center; 
    }

    100% {
        background-size: 100%;
        background-position: center;
    }
}
/*rgba(0,98,241,1)*/
body.bg-animate{

    animation: bg 15s infinite ease-in-out alternate;
    transition: background-size 1s;
    overflow-x: hidden;
}

#f-navbar {
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: left;
    padding: 0;
    border: 1px solid rgb(5, 185, 14); 
    color: white;
    border-radius: 10px 10px 0px 0px;

    background: rgb(160, 240, 110);
    background: linear-gradient(180deg, rgba(180,255,130,1) 0%, rgba(110,225,60,1) 24%, rgba(50,200,15,1) 45%, rgba(15,150,0,1) 76%);
}

#f-navbar > a{
    font-size: x-large;
    text-decoration: none;
    color: black;
    padding: 20px 20px 20px 20px;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    display: inline-block;
    color: white;
    border-radius: 10px 10px 0px 0px;
    transition: background-color 0.5s;
}

#f-navbar > a:hover{
    background-color: rgba(255, 255, 255, 0.1);
}

#f-navbar > a:active {
    background: none; 
    background-color: rgb(45, 180, 10); 
    box-shadow: inset 0px 2px 8px rgba(0, 0, 0, 0.4); 
}

#f-navbar > a.active {
    background: none; 
    background-color: rgb(45, 180, 10); 
    box-shadow: inset 0px 2px 8px rgba(0, 0, 0, 0.4);
}

#f-container{
    width: 920px;
    margin: auto;
    padding: 20px;
}

.f-content{
    padding: 20px 10px 20px 10px;

    font-size: larger;

    background: rgb(206,235,255);
    background: linear-gradient(180deg, rgba(199, 231, 252, 0.6) 3%, rgba(245, 251, 255, 0.7) 5%, rgba(188,227,255,0.6) 100%);

    border-radius: 0 0 10px 10px;

    box-shadow: inset 0px -10px 30px 15px rgba(255, 255, 255, 0.5);
}

h1,h2,h3,h4,h5,h6{
    margin-top: 3px;
    margin-bottom: 3px;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.f-img-small{
    width: 40%;
    height: auto;
    margin: 10px 10px 10px 10px;
    padding: 12px;
    border-radius: 20px;
    background: rgb(206,235,255);
    background: linear-gradient(0deg, rgba(206,235,255,0.8) 3%, rgba(233,246,255,0.8) 5%, rgba(188,227,255,0.8) 100%);
    box-shadow: 4px 4px 30px 0px white;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.float-left{
    float: left;
    margin-left: 0px;
}

.float-right{
    float: right;
    margin-right: 0px;
}

.bubble{
    border-radius: 50%;
    background: rgb(230,245,255);
    background: radial-gradient(circle, rgba(230,245,255,0.4) 18%, rgba(197,229,252,0.3) 46%, rgba(197,229,252,0.3) 100%);
    background-position: -10px -10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    z-index: -1;
}
.f-sub-navbar {
    margin-top: 30px;      
    margin-bottom: -20px;  
    margin-left: -10px;    
    margin-right: -10px;   
    text-align: center;    
    padding: 0;
    border-top: 1px solid rgb(5, 185, 14); 
    border-radius: 0px 0px 10px 10px;    
    overflow: hidden; 
    
   
    background: rgb(160, 240, 110);
    background: linear-gradient(180deg, rgba(180,255,130,1) 0%, rgba(110,225,60,1) 24%, rgba(50,200,15,1) 45%, rgba(15,150,0,1) 76%);
}

.f-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px;            
    margin-top: 20px;    
    margin-bottom: 30px; 
    padding: 0 10px;   
}

.f-gallery > img {
    width: 100%;        
    height: auto; 
    display: block;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    padding: 6px;
    box-shadow: 2px 2px 15px rgba(255, 255, 255, 0.7);
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.3s ease;
}

.f-gallery > img:hover {
    transform: scale(1.03);
}

.f-sub-navbar > a {
    font-size: large;
    text-decoration: none;
    padding: 15px 25px;
    display: inline-block;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
    user-select: none;
    -webkit-user-drag: none;
}


.f-sub-navbar > a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.f-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 10px;
}

.f-social-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    text-decoration: none;
    border-radius: 15px;
    color: #333 !important; 
    font-weight: normal;
    

    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0px 10px 20px rgba(255, 255, 255, 0.5), 2px 2px 10px rgba(0, 0, 0, 0.05);
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}


.f-social-card > strong {
    font-size: xl-large;
    color: rgb(0, 82, 204);
    margin-bottom: 5px;
}

.f-social-card > span {
    font-size: small;
    color: #555;
}


.f-social-card:hover {
    transform: translateY(-4px); 
    border-color: rgb(5, 185, 14); 
    background: rgba(255, 255, 255, 0.6);
    

    box-shadow: inset 0px 10px 20px rgba(255, 255, 255, 0.7), 
                0px 0px 20px rgba(105, 212, 255, 0.5), 
                0px 0px 10px rgba(5, 185, 14, 0.4);
}


.f-sub-navbar > a.sub-active {
    background: rgb(110,220,60);
    background: linear-gradient(180deg, rgba(110,220,60,1) 0%, rgba(45,180,10,1) 16%, rgba(20,150,0,1) 27%, rgba(10,100,0,1) 49%);
    box-shadow: inset 0px 2px 5px rgba(0,0,0,0.3); 
}

@media (max-width: 960px) {
    
    #f-container {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    #f-navbar {
        border-radius: 10px 10px 0px 0px;
        text-align: center;
    }
    
    #f-navbar > a {
        display: block;  
        font-size: large;
        padding: 15px 10px;
        border-radius: 0; 
    }
    
    #f-navbar > a:first-child {
        border-radius: 9px 9px 0px 0px; 
    }

    .f-img-small {
        float: none !important;
        width: 90% !important;
        display: block;
        margin: 15px auto !important;
    }

    .f-sub-navbar > a {
        display: block;
        padding: 12px 10px;
    }
}
