#Sfarsit {
    padding: max(2vw , 20px);
    margin: 0;
    height: max(25vw , 450px);
    width: 100%;
    background-color: #4B4B4B;
    box-shadow: 0 0 15px 0 rgba(0 , 0 , 0 , 0.5);
    display: flex;
    justify-content: center;
}

#Informatii {
    padding: 0;
    margin: 0;
    width: 70%;
    min-width: 1000px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

#Retele {
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
}

.Retea {
    padding: 0;
    margin: 10px;
    border-radius: 50%;
    height: max(3vw , 50px);
    aspect-ratio: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

#Instagram {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#Instagram:hover #Logo_Instagram2 {
    opacity: 1;
}

#Logo_Instagram {
    height: 100%;
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

#Logo_Instagram2 {
    opacity: 0;
    height: 100%;
    aspect-ratio: 1;
    position: absolute;
    z-index: 1;
    transition: 0.2s;
    transition-timing-function: ease-out;
}

#Logo_Sfarsit {
    width: auto;
    height: 100%;
    position: static;
}

#Trimiteri_Sfarsit {
    height: 100%;
    width: auto;
    margin: 0;
}

.Titlu_Sfarsit {
    font-size: max(1.6vw , 20px);
    font-family: "DM Serif Text", serif;
    font: bold;
    padding: 0;
    margin: max(0.4vw , 5px);
    padding-inline-start: max(0.8vw , 10px);
    color: #BFBFBF;
}

.Despartitor_Sfarsit {
    width: 100%;
    height: 0;
    border: none;
    border-top: 1px solid black;
}

.Continut_Sfarsit {
    display: flex;
    flex-direction: column;
    padding: max(0.5vw , 16px);
}

.Trimitere_Sfarsit {
    text-decoration: none;
    font-size: max(1.5vw , 15px);
    font-family: "DM Serif Text", serif;
    font: bold;
    padding: max(0.2vw , 4px);
    color: #BFBFBF;
    transition: color 0.1s ease-out , font-size 0.1s ease-out;
}

.Trimitere_Sfarsit:hover {
    color:#0079AB;
    font-size: max(1.8vw , 18px);
}

#Contact_Sfarsit {
    height: 100%;
    max-width: 20vw;
}

.Date_Sfarsit {
    font-size: max(1.3vw , 15px);
    font-family: "DM Serif Text", serif;
    font: bold;
    height: auto;
    padding: max(0.2em , 4px);
    color: #BFBFBF;
}

#Copyright {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: max(1vw , 15px);
    font-family: "DM Serif Text", serif;
    color: #BFBFBF;
}

@media only screen and (max-width: 1419px) {

    #Sfarsit {
        padding: 5vw;
        height: auto;
        box-shadow: 0 0 2vw 0 rgba(0 , 0 , 0 , 0.5);
        justify-content: left;
    }

    #Retele {
        margin-top: 8vw;
        justify-content: right;
        padding-bottom: 8vw;
        padding-right: 5vw;
    }

    .Retea {
        height: 10vw;
    }

    .Titlu_Sfarsit {
        font-size: 4vw;
        margin: 1.5vw;
        padding-inline-start: 2vw;
    }
    
    #Logo_Sfarsit {
        position: absolute;
        height: 25vw;
        left: 0;
        bottom: 0;
    }

    #Continut_Sfarsit {
        padding: 3vw;
    }

    #Trimiteri_Sfarsit {
        height: auto;
        width: 70%;
    }

    .Trimitere_Sfarsit {
        font-size: 3vw;
        padding: 0.5vw;
        width: 35%;
    }
    
    .Trimitere_Sfarsit:hover {
        font-size: 3.3vw;
    }

    #Contact_Sfarsit {
        width: 100%;
        max-width: 100vw;
    }

    #Informatii {
        width: 100%;
        min-width: 0;
        flex-direction: column;
    }

    .Date_Sfarsit {
        font-size: 3vw;
    }

    #Copyright {
        font-size: 3vw;
    }
}