@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root{
    --text-color: rgb(13, 59, 212);
    --primary-color: rgb(209, 191, 27);
    --secondary-color: rgb(251, 251, 255);
    --hover-color: rgba(251, 251, 255, 0.445);
    --break-color: rgb(0, 0, 0);
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

header{
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

header nav ul li, 
header a, button{
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    color: var(--text-color);
    text-decoration: none;
}

nav ul li{
    display: inline-block;
    padding: 0 20px;
    border-right: var(--break-color) 1px solid;
}

nav ul li a:hover{
    color:var(--secondary-color);   
}

header a button{
    font-size: 16px;
    min-width: 140px;
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
}
nav ul li:last-child{
    border-right: none;
}
header a button:hover{
    background-color: var(--hover-color);
}

.diamond-container {
    margin: 0;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    gap: 70px;               
    margin-top: 50px;
}

.row {
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    justify-content: center; 
    gap: 20px;               
}

.card {
    border: 1px solid black;
    width: 250px;
    text-align: center;
    margin: 10px; 
    padding: 15px; 
    box-shadow: 4px 4px 6px 0px rgba(0, 0, 0, 0.4);
    background-color: white; 
}

.row:nth-child(2), 
.row:nth-child(3) {
    margin-top: -30px; 
}

@media (max-width: 600px) {
    
    .row {
        display: flex;
        flex-direction: row; 
        justify-content: center;
        width: 100%;
        gap: 2vw; 
    }

    
    .card {
        width: 28vw;      
        min-width: 80px;  
        margin: 5px;
        padding: 5px;     
        font-size: 10px;  
    }

    .card img {
        width: 100%;
        height: auto;
    }

    .row:nth-child(2), 
    .row:nth-child(3) {
        margin-top: -15px; 
    }
}
@media (min-width: 600px) and (max-width: 991px) {
    .content-wrapper {
        display: flex;
        flex-direction: row; 
        width: 100%;
        gap: 2vw; 
    }
    .main-content {
        flex: 3; 
    }
    aside {
        width: 100%;
        flex: 1; 
    }
}
@media (min-width: 992px) {
    .content-wrapper {
        align-items: center;
        flex-direction: column; 
        gap: 30px; 
    }
    .main-content {
        flex: 4; 
    }
    aside {
        flex: 1; 
    }
}