@media only screen and (min-width:1500px) {
    #card {
        width: 300px;
        height: 360px;
    }
    
    #profile {
        width: 300px;
        height: 250px;
        position: relative;
        border-radius: 8px;
    }
    #profile img {
        width: 140px;
        height: 140px;
    }
    .para {
        margin-top: 17px;
        margin-bottom: 12px;
    }
    .para2 {
        margin-top: 10px;
        margin-bottom: 0px;
    }
    .info.active, .iinfo.active, .iiinfo.active,  .iiiinfo.active  {
        top: -80%;
    }
    .info.active p, .iinfo.active p, .iiinfo.active p,  .iiiinfo.active p {
        font-size: 16px;
    }
    #profile h1 {
        font-size: 22px;
    }
    .presentpics p {
        font-size: 18px;
    }
    @keyframes entrance-first {
        0% {
            top: 150px;
        }
        100% {
            top: 30px;
        }
    }
    
    @keyframes entrance-second {
        0% {
            top: 150px;
        }
        100% {
            top: 55px;
        }
    }
}
@media only screen and (min-width:2000px) {

    #card {
        width: 300px;
        height: 400px;
    }
    
    #profile {
        width: 300px;
        height: 255px;
        position: relative;
        border-radius: 8px;
    }
    #profile img {
        width: 180px;
        height: 180px;
    }
    .info.active, .iinfo.active, .iiinfo.active,  .iiiinfo.active  {
        top: -100%;
    }
    .info.active p, .iinfo.active p, .iiinfo.active p,  .iiiinfo.active p {
        font-size: 18px;
    }
    .products {
        margin: 250px 650px;
    }
}

@media only screen and (max-width:1400px) {
    .product {
        grid-template-columns: 1fr;
        grid-template-areas: 
        'p'
        'd';
      }
      .video-container iframe {
        height: 40vw;
        width: 50vw;
    }
}

@media only screen and (max-width:1800px) {
    .products {
        margin: 200px 500px;
        margin-bottom: 50px;
        margin-top: 150px;
    }
}

@media only screen and (max-width:1500px) {
    .products {
        margin: 200px 400px;
        margin-bottom: 50px;
        margin-top: 150px;
    }
    .product_description p strong {
        font-size: 24px;
    }
    
    .product_description p {
        font-size: 20px;
    }
    .info, .iinfo, .iiinfo,  .iiiinfo  {
        top: 120px;
    }
    
}
@media only screen and (max-width:1300px) {
    .products {
        margin: 200px 300px;
        margin-bottom: 50px;
        margin-top: 150px;
    }
    .product_description p strong {
        font-size: 22px;
    }
}
@media only screen and (max-width:1100px) {
    .products {
        margin: 100px 200px;
    }
    .video-container {
        margin-top: 100px;
    }
    .video-container iframe {
        height: 50vw;
        width: 75%;
    }
}
@media only screen and (max-width:900px) {
    .products {
        margin: 100px 100px;
    }
}
@media only screen and (max-width:700px) {
    .products {
        margin: 100px 0px;
    }
    .video-container iframe {
        height: 55vw;
        width: 85%;
    }
    .video-container {
        margin-top: 50px;
    }
}


@media only screen and (max-width:1200px) {
    .presentpics {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
        'p s'
        'k t';
    }
    .product_description {
        justify-self: center;
        text-align: center;
    }
}

@media only screen and (max-width:950px) {
    .product {
        margin: 10% 0%;
        grid-template-columns: 1fr;
        grid-template-areas: 
        'p'
        'd';
    }
}

@media only screen and (max-width:600px) {
    .presentpics {
        grid-template-columns: 1fr;
        grid-template-areas:
        'p'
        's'
        'k'
        't'
        ;
    }

    .cc {
        display: block;
    }
    .card {
        width: 300px;
        height: 520px;
    }
    .card_body {
        padding: 25px;
    }
    .card__header h2 {
        font-size: 28px;
      }
    .card__body h3 {
        color: var(--dark);
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 15px;
      }
      
    .card__body p {
        color: var(--dark);
        font-size: 14px;
        line-height: 1.3;
    }
    .pp {
        width: 200px;
        height: 200px;
    }
    .product_description p {
        text-align: justify;
        font-size: 15px;
      }
      .product_description p strong {
        font-size: 17px;
      }

      .titles ul {
        flex-direction: column;
    }
    footer {
        grid-template-rows: 100px 100px auto 1fr;
        padding: 2rem;
    }
    .f_wrapper {
        margin: 0px;
    }
    .video-container iframe {
        width: 90%;
    }
}