section {
    margin-bottom: initial;
}
    

.portfolio {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    padding-top: 5rem;
}
.portfolio h1 {
    font-family: "Satisfy", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    color: #fdad54;
    text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 3px;
    text-align: center;
    -webkit-text-stroke: 0.01rem #fff;
}
.greeting {
    display: flex;
    flex-direction: column;
    width: 60%;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 5rem;
    background-color: #70a7f3;
    border-radius: 10px;
    box-shadow: -0.0625rem -0.0625rem 0 #ffffff,
        0.0625rem 0.0625rem 0 #cccccc,
        0.3rem 0.2rem 1rem #4282da inset,
        -0.5rem -0.5rem 0.5rem #efebdc0a inset,
        0.5rem 0.5rem 1rem rgb(0 0 0 / 0.4);
    border: #fff 0.0625rem;
    border-style: outset;
}
.greeting p {
    margin: 2rem;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.4rem;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.3) 2px 2px 1px;
    text-align: center;
    line-height: 1.4;
}

.title {
    padding-top: initial;
}

.title h2{
    text-align: center;
    text-decoration: underline;
    font-family: "Satisfy", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 3.5rem;
    color: #fdad54;
    text-shadow: rgba(0, 0, 0, 0.4) 2px 2px 2px;
    margin-bottom: 1.5rem;
    
}

.block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 3rem;
}

.block1 {
    background: #D0DBBD;
    background: radial-gradient(circle,
    rgba(208, 219, 189, 1) 50%, 
    rgba(134, 160, 139, 1) 98%);
    padding-bottom: 2rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 20px 5px;
}
.block2 {
    background: #80BBFF;
    background: radial-gradient(circle,
    rgba(128, 187, 255, 1) 30%, 
    rgba(112, 167, 243, 1) 60%, 
    rgba(66, 130, 218, 1) 90%);
    padding-bottom: 2rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 20px 5px;
}
.block3 {
    background: #86A08B;
    background: radial-gradient(circle,
    rgba(134, 160, 139, 1) 60%, 
    rgba(208, 219, 189, 1) 100%); 
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 20px 5px;
    margin-bottom: 10rem;
}

.name {
    text-align: center;
    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    font-size: 1.7rem;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.4) 2px 2px 2px;
    border: #fff 0.2rem;
    border-style: outset;
    border-radius: 1.5rem;
    width: 20%;  
}
.number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    color: #fdad54;
    text-shadow: rgba(0, 0, 0, 0.4) 2px 2px 2px;
    width: 20%;
    text-transform: uppercase;
    font-size: 7.5rem;
    line-height: 0.85em;
    margin-bottom: 0.25em;
    color: #fdad54;
    text-shadow: -0.0625rem -0.0625rem 0 #ffffff, 
    0.0625rem 0.0625rem 0 #cccccc, 
    0.5rem -0.25rem 0.5rem #80bbff1a, 
    -0.5rem -0.5rem 0.5rem #efebdc0a, 
    0.5rem 0.5rem 1rem rgb(0 0 0 / 0.2);
    
}
.instance {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.item {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 70%;
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.5) 0 6px 10px;
    margin: 1.25rem; 
    box-shadow: -0.0625rem -0.0625rem 0 #ffffff,
        0.0625rem 0.0625rem 0 #cccccc,
        0.1rem 0.1rem 0.7rem #90b7f2 inset,
        -0.5rem -0.5rem 0.5rem #efebdc0a inset,
        0.5rem 0.5rem 1rem rgb(0 0 0 / 0.5);
    padding: 2rem;
    border: #fff 0.0625rem;
    border-style: outset;
    position: relative;
}
.info {
    display: flex;
    flex-direction: column;
    
}
.info h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    color: #292c2f;
    text-shadow: rgba(0, 0, 0, 0.4) 1px 1px 1px;
    text-align: center;
    
}
.info p {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.3rem;
    color: #292c2f;
    margin: 1.25rem;
    text-align: justify;
    line-height: 1.4;
}
.prints {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    margin: 20px;
    align-items: center;
    padding: 2rem;
}
.prints a {
    font-family: "Barlow Condensed", sans-serif;
    color: #4282da;
    text-shadow:  rgba(0, 0, 0, 0.5) 1px 1px 1px;
    font-size: 1.3rem;
}
.cover {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40rem;
    background-color: #ffffff;
    opacity: 0.8;
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.3) 4px 6px 10px;
    border: solid #fff 0.1rem;
    position: sticky;
    top: 12rem;
    z-index: 5;
}
.next {
    top: 7rem;
    height: 50rem;
}
.cover p {
    font-family: "Satisfy", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    color: #292c2f;
    text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 1px;
    text-align: center;
}

@media (max-width: 1500px) {
.prints {
    justify-content: space-around;
}
}
@media (max-width: 1300px) {
.item {
    flex-direction: column;
}
}

@media (max-width: 1000px) {
    .item {
        align-items: center;
    }
    .portfolio h1 {
        font-size: 3.5rem;
    }
    .title h2 {
        font-size: 2.5rem;
    }
    .greeting {
        width: 80%;
    }
    .greeting p {
        font-size: 1.2rem;
    }
    .info p {
        font-size: 1.1rem;
    }
    .info h3 {
        font-size: 2rem;
    }
    .block3 {
        margin-bottom: 5rem;
    }
}
@media (max-width: 700px) {
    .instance {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .name {
        width: 70%;
        margin-left: 4rem;
    }
    .logo {
        margin-bottom: 1.3rem;
    }
    .greeting {
        width: 100%;
    }
    .item {
        width: 90%;
        margin-left: 3rem;
    }
    .number {
        font-size: 6rem;
        margin-bottom: 0;
    }

}

@media (max-width: 500px) {
    .greeting p {
        line-height: normal;
    }
    .info p {
        line-height: normal;
        margin: 0.3rem;
    }
    .name {
        margin-left: 2rem;
    }
}
