:root{
    /* COLORS*/
    --Lime_Green: hsl(163, 72%, 41%);
    --Bright_Red: hsl(356, 69%, 56%);
    --Blue: hsl(208, 92%, 53%);
    --Light_Blue: hsl(203, 89%, 53%);
    --Instagram: linear-gradient(to right, hsl(37, 97%, 70%), hsl(329, 70%, 58%));
    --Red: hsl(348, 97%, 39%);
}

*{
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Inter';
}

body{
    padding: 20px;
    color: var(--text);
    background-color: var(--bg);
}
header{
    margin: auto;
    display: flex;
    margin-top: 20px;
    max-width: 1200px;
    flex-direction: column;
}
.topHeader{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.topHeader h1{
    font-size: 25px;
    font-weight: 700;
    color: var(--text2);
}
.topHeader text{
    font-weight: 700;
    color: var(--text);
}
hr{
    opacity: 0.6;
    margin-top: 10px;
    margin-bottom: 10px;
    border:0.5px solid var(--text);
}
.avatar{
    margin-right: 20px;
}
.avatar img{
    max-width: 110px;
    border-radius: 50%;
    transition: .8s ease;
    box-shadow: 0 0 50px 15px var(--text);
}
.avatar:hover{
    opacity: 1;
    cursor: pointer;
    background-image: url('../images/icon-cv.png');
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
    img{
        opacity: 0.3;
        background-position: center;
    }
}
.linklist{
    margin-left: 10px;
    margin-top: 10px;
}
.linklist img{
    max-width: 50px;
    border-radius: 50%;
    transition: .8s ease;
    border: 2px solid transparent;
}
.linklist:hover{
    opacity: 1;
    cursor: pointer;
    img{
        transition: .8s ease;
        background-position: center;
        opacity: 0.4;
        box-shadow: 0 0 50px 1px var(--text);
        border: 2px solid var(--Red);
    }
}
.headerLinks{
    display: flex;
    flex-direction: row;
}
.bottomHeader{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 20px;
    justify-content: center;
    gap: 30px;
}
.bottomHeader text{
    font-weight: 700;
}
.container{
    gap: 30px;
    margin: auto;
    display: flex;
    max-width: 1200px;
    flex-direction: column;
}
.row{
    flex: 1 1 0;
    gap: 20px;
    display: flex;
    margin-top: 20px;
    flex-direction: column;
}
.blue{
    border-top: 5px solid var(--Blue);
}
.light_blue{
    border-top: 5px solid var(--Light_Blue);
}
.instagram {
    position: relative;
    border: 5px solid transparent;              /* transparent border to reserve space for the gradient */
    border-radius: 10px;
}
.instagram::before {
    top: -5px;                                  /* offset to cover the top border */
    left: -5px;                                 /* offset to cover the top border */
    right: -5px;                                /* offset to cover the top border */
    height: 5px;                                /* height of the top border */
    content: "";
    position: absolute;
    background: var(--Instagram);
    border-radius: 10px 10px 0 0;               /* applying border-radius to the top */
}
.redd{
    border-top: 5px solid var(--Red);
}
#foldable1{
    display: none;
}
#foldable2{
    display: none;
}

.showMore{
    padding: 2%;
    width: auto;
    height: auto;
    display: flex;
    margin-top: 30px;
    place-self: center;
    color: var(--text);
    border-radius: 20px;
    padding-inline: 10%;
    flex-direction: column;
    background-color: var(--card_bg);
    h2{ 
        font-weight: 700;
    }
}
.showMore:hover{
    cursor: pointer;
    color: var(--Lime_Green);
    background-color: var(--card_bg);
}
.showMore:active{
    color: var(--card_bg);
    background-color: var(--card_bg_hover);
}
.showLess{
    padding: 2%;
    width: auto;
    height: auto;
    display: none;
    margin-top: 30px;
    place-self: center;
    color: var(--text);
    border-radius: 20px;
    padding-inline: 10%;
    flex-direction: column;
    background-color: var(--card_bg);
    h2{ 
        font-weight: 700;
    }
}
.showLess:hover{
    cursor: pointer;
    color: var(--Red);
    background-color: var(--card_bg);
}
.showLess:active{
    color: var(--card_bg);
    background-color: var(--card_bg_hover);
}
.containerGrid{
    margin: 50px;
    margin-left: 50px;
    margin-right: 50px;
    height: auto;
    width: auto;
    display: grid;
    grid-auto-flow: column;
    grid-gap: 20px;
}
.grid-item{
    max-width: 50px;
    transition: 1s;
}
.grid-item:hover{
    margin-top: -20px;
    transition: 1s;
    img{
        width: 110%;
        filter: drop-shadow(10px 30px 8px var(--text));
    }
}
.grid-item img{
    width: 100%;
    transition: 1s;
    filter: drop-shadow(10px 10px 4px var(--text));
}
.containerTop .row .card{  
    align-items: center;
    justify-content: space-between;
}
.row .card{
    transition: 1s;
    flex: 1 1 0;
    display: flex;
    padding: 20px;
    border-radius: 3px;
    flex-direction: column;
    background-color: var(--card_bg);
}
.row .card .title{
    gap: 8px;
    padding-bottom: 10px;
    display: flex;
    font-weight: 700;
    flex-direction: row;
    align-items: center;
    img{
        max-width: 25px;
        max-height: 25px;
    }
}
.row .card .preview{
    margin: 0 auto;
    overflow: hidden; /* Removing this will break the effects */
    
    img{
        max-width: 100%;
        max-height: 100%;
        transform-origin: 50% 70%; 
        transition: transform 1s, filter .5s ease-out;
    }
}
.row .card .preview img:hover {
    transform: scale(2.5);
  }
.row .card h1{
    margin-top: 15px;
    font-size: 55px;
    font-weight: 700;
    color: var(--text2);
}
.card:hover{
    cursor: pointer;
    background-color: var(--card_bg_hover);
    box-shadow: 0 0 50px 1px var(--text);
    color: var(--text2);
    margin-top: -10px;
    transition: 1s;
}
.subtitle{
    letter-spacing: 5px;
}
.row .card .value{
    margin-top: 25px;
}
.value{
    gap: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.value text{
    font-weight: 700;
}
.green{
    color: var(--Lime_Green);
}

.red{
    color: var(--Bright_Red);
}
.overview{
    font-size: 30px;
    font-weight: 700;
    padding-top: 30px;
    color: var(--text2);
}
.containerBottom{
    display: flex;
    max-width: 100%;
    flex-direction: column;
}
.bigRow .row .card{
    gap: 30px;
}
.card .info{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.card .info text{
    font-weight: 700;
}
.card .info img{
    max-width: 90px;
    max-height: 30px;
}
.card .values{
    display: block;
    max-width: 100%;
    align-items: baseline;
    justify-content: space-between;
}
.values h3{
    font-size: 40px;
    font-weight: 700;
    color: var(--text2);
}
.values img{
    max-width: 100%;
    max-height: 100%;
}
.attribution { font-size: 11px; text-align: center;}
.attribution a { color: var(--Blue); }
.attribution a:hover{ color: var(--text2);}
@media only screen and (min-width:600px) {
    header{
        flex-direction: row;
        justify-content: space-between;
    }
    .topHeader{
        flex-direction: row;
    }
    .topHeader h1{
        font-size: 33px;
    }
    .bottomHeader{
        gap: 20px;
    }
    hr{
        display: none;
    }
    .row{
        flex-direction: row;
    }
    .container{
        gap: 0;
    }
    .overview{
        padding-top: 30px;
    }
}
@media only screen and (min-width:1100px) {
    .containerTop{
        gap: 20px;
        display: flex;
        max-width: 100%;
        flex-direction: row;
    }
    .bigRow{
        gap: 20px;
        display: flex;
        justify-content: first baseline;
    }
}